7840e5e95c
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> |
||
---|---|---|
.. | ||
addnote.c | ||
addRamDisk.c | ||
crt0.S | ||
div64.S | ||
install.sh | ||
main.c | ||
Makefile | ||
mknote.c | ||
piggyback.c | ||
ppc32-types.h | ||
prom.c | ||
README | ||
string.S | ||
zImage.lds | ||
zlib.c | ||
zlib.h |
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