Skip to content

Commit

Permalink
[POWERPC] Fix building of COFF zImages
Browse files Browse the repository at this point in the history
The COFF zImage (for booting oldworld powermacs) wasn't being built
correctly because the procedure descriptor in crt0.S for the zImage
entry point wasn't declared as .globl, and therefore wasn't getting
pulled in from wrapper.a by the linker.  This adds the necessary
.globl statement.

Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Paul Mackerras committed Jun 7, 2007
1 parent 87873c8 commit f40e524
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/boot/crt0.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

.text
/* a procedure descriptor used when booting this as a COFF file */
.globl _zimage_start_opd
_zimage_start_opd:
.long _zimage_start, 0, 0, 0

Expand Down

0 comments on commit f40e524

Please sign in to comment.