]> err.no Git - linux-2.6/commitdiff
[POWERPC] Fix building of COFF zImages
authorPaul Mackerras <paulus@samba.org>
Thu, 7 Jun 2007 12:21:31 +0000 (22:21 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 7 Jun 2007 12:21:31 +0000 (22:21 +1000)
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>
arch/powerpc/boot/crt0.S

index 5a4215c4b0146aa063fe87c5bb503a398232f6d3..f1c4dfc635be20380d6a718d420cb83b6e4a6068 100644 (file)
@@ -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