Re: [PATCH]: Remove CONFIG_BUILD_ELF64 entirely

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 25 Mar 2007 03:25:52 -0400, Kumba <kumba@xxxxxxxxxx> wrote:
> Going on this, I propose the following patch to fix our lovely SGI/Cobalt 
> systems, and eliminate a confusing Kconfig option whose time is likely long 
> since passed.  The attached patch achieves the following:
> 
> * Introduces a new flag for IP22, IP32, and Cobalt called 'kernel_loads_in_ckseg0'.
> * Introduces a new header, mem-layout.h, in include/asm-mips/mach-<platform>/ 
> for this flag for these three systems, and a dummy entry for mach-generic, 
> calling it in where appropriate.
> * Removes CONFIG_BUILD_ELF64 from Kconfig, Makefile, and several defconfigs, and 
> replaces its few references in header files with 'kernel_loads_in_ckseg0', with 
> appropriate flips in logic (except in stackframe.h).
> * Includes Frank's patch to eliminate the need for -mno-explicit-relocs.
> * Moves -msym32 calling to the Makefile locations for the three machines that 
> actually need it.

I can not see why you handle IP22, IP32, Cobalt as so "special".
There are many other platforms which supports 64-bit and uses CKSEG0
load address (well, actually all 64-bit platforms except for IP27).

So I think Franck's approach, which enables -msym32 and defines
KBUILD_64BIT_SYM32 automatically if load-y was CKSEG0, is better.  Are
there any problem with his patchset?

---
Atsushi Nemoto


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux