1
linux/arch/ppc64/boot
Olaf Hering 7840e5e95c [PATCH] ppc64: print negative numbers correctly in boot wrapper
if num has a value of -1, accessing the digits[] array will fail and the
format string will be printed in funny way, or not at all. This happens if
one prints negative numbers.
Just change the code to match lib/vsprintf.c
asm/div64.h cant be used because u64 maps to u32 for this build.

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-06-08 10:18:59 -07:00
..
addnote.c [PATCH] ppc64: tell firmware about kernel capabilities 2005-05-01 08:58:45 -07:00
addRamDisk.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crt0.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
div64.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
install.sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
main.c [PATCH] ppc64: remove asm/bootinfo.h include 2005-05-05 22:00:52 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mknote.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
piggyback.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc32-types.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prom.c [PATCH] ppc64: print negative numbers correctly in boot wrapper 2005-06-08 10:18:59 -07:00
README Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
string.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zImage.lds Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zlib.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zlib.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00

To extract the kernel vmlinux, System.map, .config or initrd from the zImage binary:

objcopy -j .kernel:vmlinux -O binary zImage vmlinux.gz
objcopy -j .kernel:System.map -O binary zImage System.map.gz
objcopy -j .kernel:.config -O binary zImage config.gz
objcopy -j .kernel:initrd -O binary zImage.initrd initrd.gz


	Peter