qemu-e2k/pc-bios/s390-ccw
Thomas Huth 63c93fac18 pc-bios/s390-ccw: Optimize the s390-netboot.img for size
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>
2018-06-18 15:08:44 +02:00
..
Makefile pc-bios/s390-ccw: Optimize the s390-netboot.img for size 2018-06-18 15:08:44 +02:00
bootmap.c pc-bios/s390-ccw/net: Use diag308 to reset machine before jumping to the OS 2018-05-02 11:27:14 +02:00
bootmap.h pc-bios/s390-ccw/net: Use diag308 to reset machine before jumping to the OS 2018-05-02 11:27:14 +02:00
bswap.h pc-bios/s390-ccw: Move byteswap functions to a separate header 2017-07-14 12:29:48 +02:00
cio.h pc-bios/s390-ccw: struct tpi_info must be declared as aligned(4) 2018-05-14 17:10:02 +02:00
iplb.h pc-bios/s390-ccw: define loadparm length 2018-06-18 15:08:44 +02:00
jump2ipl.c pc-bios/s390-ccw/net: Use diag308 to reset machine before jumping to the OS 2018-05-02 11:27:14 +02:00
libc.c pc-bios/s390-ccw: size_t should be unsigned 2018-05-02 11:27:14 +02:00
libc.h pc-bios/s390-ccw: size_t should be unsigned 2018-05-02 11:27:14 +02:00
main.c pc-bios/s390-ccw: define loadparm length 2018-06-18 15:08:44 +02:00
menu.c pc-bios/s390-ccw: fix non-sequential boot entries (enum) 2018-05-02 11:27:14 +02:00
netboot.mak pc-bios/s390-ccw: Optimize the s390-netboot.img for size 2018-06-18 15:08:44 +02:00
netmain.c pc-bios/s390-ccw/net: Try to load pxelinux.cfg file accoring to the UUID 2018-06-18 15:08:44 +02:00
s390-ccw.h pc-bios/s390-ccw/net: Use diag308 to reset machine before jumping to the OS 2018-05-02 11:27:14 +02:00
sclp.c pc-bios/s390-ccw: define loadparm length 2018-06-18 15:08:44 +02:00
sclp.h pc-bios/s390-ccw: define loadparm length 2018-06-18 15:08:44 +02:00
scsi.h pc-bios/s390-ccw: Get Block Limits VPD device data 2017-05-19 12:29:01 +02:00
start.S pc-bios/s390-ccw: zero out bss section 2017-12-14 17:56:54 +01:00
virtio-blkdev.c pc-bios/s390-ccw: Move virtio-block related functions into a separate file 2017-07-14 12:29:48 +02:00
virtio-net.c pc-bios/s390-ccw: Add virtio-net driver code 2017-07-14 12:29:48 +02:00
virtio-scsi.c pc-bios/s390-ccw: Fix problem with invalid virtio-scsi LUN when rebooting 2017-11-20 10:35:12 +01:00
virtio-scsi.h pc-bios/s390-ccw: Build a reasonable max_sectors limit 2017-05-19 12:29:01 +02:00
virtio.c pc-bios/s390-ccw: Increase virtio timeout to 30 seconds 2018-04-03 10:03:38 +02:00
virtio.h pc-bios/s390-ccw: Add virtio-net driver code 2017-07-14 12:29:48 +02:00