Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[POWERPC] Fix building of COFF zImages

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>

+1
+1
arch/powerpc/boot/crt0.S
··· 13 13 14 14 .text 15 15 /* a procedure descriptor used when booting this as a COFF file */ 16 + .globl _zimage_start_opd 16 17 _zimage_start_opd: 17 18 .long _zimage_start, 0, 0, 0 18 19