63c93fac18
The -O2 optimization flag is passed via CFLAGS to the firmware Makefile, but in netbook.mak, we've got some rules that only use QEMU_CFLAGS for compiling the libc and libnet from SLOF, so these files get compiled without optimization so far. Use CFLAGS here, too, to create faster and smaller code. We can additionally save some more bytes in the firmware images by compi- ling the code with -fno-asynchronous-unwind-tables. This will omit some ELF sections (used for stack unwinding for example) from the image that we do not need in the firmware. Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com> |
||
---|---|---|
.. | ||
bootmap.c | ||
bootmap.h | ||
bswap.h | ||
cio.h | ||
iplb.h | ||
jump2ipl.c | ||
libc.c | ||
libc.h | ||
main.c | ||
Makefile | ||
menu.c | ||
netboot.mak | ||
netmain.c | ||
s390-ccw.h | ||
sclp.c | ||
sclp.h | ||
scsi.h | ||
start.S | ||
virtio-blkdev.c | ||
virtio-net.c | ||
virtio-scsi.c | ||
virtio-scsi.h | ||
virtio.c | ||
virtio.h |