linux/arch/powerpc
Segher Boessenkool c69cccc95f powerpc: Fix build bug with binutils < 2.18 and GCC < 4.2
binutils < 2.18 has a bug that makes it misbehave when taking an
ELF file with all segments at load address 0 as input.  This
happens when running "strip" on vmlinux, because of the AT() magic
in this linker script.  People using GCC >= 4.2 won't run into
this problem, because the "build-id" support will put some data
into the "notes" segment (at a non-zero load address).

To work around this, we force some data into both the "dummy"
segment and the kernel segment, so the dummy segment will get a
non-zero load address.  It's not enough to always create the
"notes" segment, since if nothing gets assigned to it, its load
address will be zero.

Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org>
Tested-By: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2008-07-22 10:39:37 +10:00
..
boot powerpc/boot: Change spaces to tabs 2008-07-22 10:39:35 +10:00
configs powerpc/ps3: Update ps3_defconfig 2008-07-22 10:39:33 +10:00
kernel powerpc: Fix build bug with binutils < 2.18 and GCC < 4.2 2008-07-22 10:39:37 +10:00
kvm KVM: ppc: Report bad GFNs 2008-06-06 21:22:41 +03:00
lib powerpc: Use PPC_LONG and PPC_LONG_ALIGN in lib/string.S 2008-07-22 10:39:35 +10:00
math-emu powerpc: Add macros to access floating point registers in thread_struct. 2008-07-01 11:28:43 +10:00
mm Merge commit 'origin/master' 2008-07-16 11:07:59 +10:00
oprofile on_each_cpu(): kill unused 'retry' parameter 2008-06-26 11:24:38 +02:00
platforms powerpc/eeh: Don't panic when EEH_MAX_FAILS is exceeded 2008-07-22 10:39:37 +10:00
sysdev powerpc/dma: Use the struct dma_attrs in iommu code 2008-07-22 10:39:32 +10:00
xmon Merge branch 'linux-2.6' 2008-06-30 10:16:50 +10:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig powerpc: pci config cleanup 2008-07-16 17:57:34 -05:00
Kconfig.debug powerpc: Add self-tests of the feature fixup code 2008-07-01 11:28:30 +10:00
Makefile powerpc/bootwrapper: Add documentation of boot wrapper targets 2008-07-04 00:59:03 -06:00