diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-10-03 00:27:16 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-10-04 00:52:27 -0400 |
commit | 54c9941288e86fad983e307e540808e155b16b34 (patch) | |
tree | a0f899e7d8972a78789f594c2f0c01107721096a /arch/powerpc | |
parent | 476792839467c08ddeedd8b44a7423d415b68259 (diff) |
[POWERPC] Fix zImage.coff on oldworld PowerMac
Recent changes to the PowerPC zImage wrapper broke zImage.coff due to
the addition of new ELF sections that aren't very well converted to
xcoff and not supported by old OpenFirmware. This fixes it by putting
those sections in the xcoff .data.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/boot/zImage.coff.lds.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/boot/zImage.coff.lds.S b/arch/powerpc/boot/zImage.coff.lds.S index 6016251a1a2c..05f32388b953 100644 --- a/arch/powerpc/boot/zImage.coff.lds.S +++ b/arch/powerpc/boot/zImage.coff.lds.S | |||
@@ -15,6 +15,7 @@ SECTIONS | |||
15 | { | 15 | { |
16 | *(.rodata*) | 16 | *(.rodata*) |
17 | *(.data*) | 17 | *(.data*) |
18 | *(__builtin_*) | ||
18 | *(.sdata*) | 19 | *(.sdata*) |
19 | __got2_start = .; | 20 | __got2_start = .; |
20 | *(.got2) | 21 | *(.got2) |