linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc: Fix zImage.coff on oldworld PowerMac
@ 2006-10-03  4:27 Benjamin Herrenschmidt
  0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 2006-10-03  4:27 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: linuxppc-dev list

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>

Index: linux-work/arch/powerpc/boot/zImage.coff.lds
===================================================================
--- linux-work.orig/arch/powerpc/boot/zImage.coff.lds	2006-03-10 15:58:17.000000000 +1100
+++ linux-work/arch/powerpc/boot/zImage.coff.lds	2006-10-03 13:56:35.000000000 +1000
@@ -15,6 +15,7 @@ SECTIONS
   {
     *(.rodata*)
     *(.data*)
+    *(__builtin_*)
     *(.sdata*)
     __got2_start = .;
     *(.got2)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-03  4:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-03  4:27 [PATCH] powerpc: Fix zImage.coff on oldworld PowerMac Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).