Browse Source

[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>
Benjamin Herrenschmidt 18 years ago
parent
commit
54c9941288
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/powerpc/boot/zImage.coff.lds.S

+ 1 - 0
arch/powerpc/boot/zImage.coff.lds.S

@@ -15,6 +15,7 @@ SECTIONS
   {
     *(.rodata*)
     *(.data*)
+    *(__builtin_*)
     *(.sdata*)
     __got2_start = .;
     *(.got2)