linux/arch
Shaohua Li 86b1e8dd83 x86: Make relocatable kernel work with new binutils
The CONFIG_RELOCATABLE=y option is broken with new binutils, which will make
boot panic.

According to Lu Hongjiu, the affected binutils are from 2.20.51.0.12 to
2.21.51.0.3, which are release since Oct 22 this year. At least ubuntu 10.10 is
using such binutils. See:

    http://sourceware.org/bugzilla/show_bug.cgi?id=12327

The reason of the boot panic is that we have 'jiffies = jiffies_64;' in
vmlinux.lds.S. The jiffies isn't in any section. In kernel build, there is
warning saying jiffies is an absolute address and can't be relocatable. At
runtime, jiffies will have virtual address 0.

Signed-off-by: Shaohua Li<shaohua.li@intel.com>
Cc: Lu Hongjiu<hongjiu.lu@intel.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
LKML-Reference: <1295312269.1949.725.camel@sli10-conroe>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-01-18 09:05:33 +01:00
..
alpha perf: Dynamic pmu types 2010-12-16 11:36:43 +01:00
arm Merge commit 'v2.6.37' into perf/core 2011-01-05 14:22:10 +01:00
avr32
blackfin
cris
frv
h8300
ia64
m32r
m68k
m68knommu
microblaze
mips Merge commit 'v2.6.37-rc7' into perf/core 2010-12-22 11:53:23 +01:00
mn10300 arch/mn10300/kernel/irq.c: fix build 2011-01-03 16:36:33 -08:00
parisc parisc: convert the rest of the irq handlers to simple/percpu 2010-12-04 11:15:19 -05:00
powerpc Merge commit 'v2.6.37-rc8' into perf/core 2011-01-04 08:08:54 +01:00
s390 Merge branch 'linus' into sched/core 2010-12-08 20:15:29 +01:00
score
sh Merge commit 'v2.6.37-rc8' into perf/core 2011-01-04 08:08:54 +01:00
sparc Merge commit 'v2.6.37-rc7' into perf/core 2010-12-22 11:53:23 +01:00
tile arch/tile: handle rt_sigreturn() more cleanly 2010-12-17 16:59:29 -05:00
um
x86 x86: Make relocatable kernel work with new binutils 2011-01-18 09:05:33 +01:00
xtensa
.gitignore
Kconfig