Bläddra i källkod

[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 år sedan
förälder
incheckning
54c9941288
1 ändrade filer med 1 tillägg och 0 borttagningar
  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)