]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Inhibit .eh_frame on newer gcc versions
authorMichael Brown <mcb30@ipxe.org>
Fri, 2 Nov 2012 12:15:36 +0000 (12:15 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 2 Nov 2012 13:41:50 +0000 (13:41 +0000)
commit0932bc5156bd88f773936ee5dac5d574ff921287
tree8fcab4128707be98beb9ba32db8f7b8fee41ed0c
parentf008698c68618111babd2a5b7c5438110f69261e
[build] Inhibit .eh_frame on newer gcc versions

Using -fno-dwarf2-cfi-asm is not sufficient to prevent the .eh_frame
section from being generated on newer versions of gcc.  Add
-fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables;
this is sufficient to inhibit the .eh_frame section on gcc 4.7.1.

This does not affect the overall binary size, but does fix the numbers
reported by "size" for individual object files.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile.housekeeping