Explorar o código

[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 %!s(int64=19) %!d(string=hai) anos
pai
achega
54c9941288
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)