Skip to content

Commit

Permalink
[POWERPC] Fix zImage.coff on oldworld PowerMac
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Benjamin Herrenschmidt authored and Paul Mackerras committed Oct 4, 2006
1 parent 4767928 commit 54c9941
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/boot/zImage.coff.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ SECTIONS
{
*(.rodata*)
*(.data*)
*(__builtin_*)
*(.sdata*)
__got2_start = .;
*(.got2)
Expand Down

0 comments on commit 54c9941

Please sign in to comment.