2.4 zImage rework
Anton Blanchard
anton at samba.org
Tue Jul 23 10:57:49 EST 2002
Hi,
When rerunning make zImage, I get an error:
/usr/local/ppc64/bin/powerpc64-linux-nm -n
/home/anton/ppc64/linuxppc64_2_4/vmlinux | tail -1 | awk '{printf
"unsigned long vmlinux_memsize = 0x%s;\n", substr($1,8)}' >> imagesize.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-I/home/anton/ppc64/linuxppc64_2_4/include -c -o imagesize.o imagesize.c
gzip -cvf9 /home/anton/ppc64/linuxppc64_2_4/vmlinux > kernel-vmlinux.gz
/home/anton/ppc64/linuxppc64_2_4/vmlinux: 69.7%
/usr/local/ppc64/bin/powerpc64-linux-objcopy zImage.o \
--add-section=.kernel:vmlinux=kernel-vmlinux.gz \
--set-section-flags=.kernel:vmlinux=contents,alloc,load,readonly,data
/usr/local/ppc64/bin/powerpc64-linux-objcopy: stnXfLy8: Bad value
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory
`/home/anton/ppc64/linuxppc64_2_4/arch/ppc64/boot'
make: *** [zImage.initrd] Error 2
If I rm arch/ppc64/boot/zImage.o and make again it works OK.
Anton
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list