Skip to contentSkip to conversation

powerpc: Fix zImage.coff on oldworld PowerMac

PATCH New Benjamin Herrenschmidt 1 participant 1 message Oct 3, 2006 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

arch/powerpc/boot/zImage.coff.lds +1 -0
Index: linux-work/arch/powerpc/boot/zImage.coff.lds
===================================================================
@@ -15,6 +15,7 @@ SECTIONS
   {
     *(.rodata*)
     *(.data*)
+    *(__builtin_*)
     *(.sdata*)
     __got2_start = .;
     *(.got2)