2.4 zImage rework

Alan Modra amodra at bigpond.net.au
Tue Jul 23 11:28:34 EST 2002


On Tue, Jul 23, 2002 at 10:57:49AM +1000, Anton Blanchard wrote:
>
> /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.

I guess zImage.o isn't being recompiled, so you're trying to add a
.kernel section that already exists.  objcopy ought to give a better
error message, but it sounds like you need to fix the makefile too.

--
Alan Modra
IBM OzLabs - Linux Technology Centre

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list