mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-06 01:46:40 +07:00
68643cfb87
Replacing the string labels with numbers saves 117 bytes in the final zImage. These local labels are not discared. Signed-off-by: Olaf Hering <olh@suse.de> arch/powerpc/boot/crt0.S | 23 +++++++++++------------ 1 files changed, 11 insertions(+), 12 deletions(-) Signed-off-by: Paul Mackerras <paulus@samba.org> |
||
---|---|---|
.. | ||
addnote.c | ||
addRamDisk.c | ||
crt0.S | ||
div64.S | ||
elf.h | ||
install.sh | ||
main.c | ||
Makefile | ||
page.h | ||
ppc_asm.h | ||
prom.c | ||
prom.h | ||
README | ||
stdio.h | ||
string.h | ||
string.S | ||
zImage.lds |
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