[POWERPC] Fix zImage.coff on oldworld PowerMac
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 3 Oct 2006 04:27:16 +0000 (14:27 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 4 Oct 2006 04:52:27 +0000 (14:52 +1000)
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>
arch/powerpc/boot/zImage.coff.lds.S

index 6016251..05f3238 100644 (file)
@@ -15,6 +15,7 @@ SECTIONS
   {
     *(.rodata*)
     *(.data*)
+    *(__builtin_*)
     *(.sdata*)
     __got2_start = .;
     *(.got2)