浏览代码

[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 年之前
父节点
当前提交
54c9941288
共有 1 个文件被更改,包括 1 次插入0 次删除
  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)