freebsd-dev/sys/boot/i386
Ryan Libby 2473c1b145 i386/boot2: -fno-asynchronous-unwind-tables for gcc
The amd64 build of boot2 was failing with gcc 6.3.0 due to being more
than 1 kB too large. It was apparently generating a .eh_frame section
which was not being removed by objcopy -S. The .eh_frame section seems
to be mandatory per the amd64 ABI, but boot2 is compiled for i386 (uses
-m32), and therefore should be optional in this context. Suppress
generation of .eh_frame with the -fno-asynchronous-unwind-tables flag to
gcc. This saves 1348 bytes (the limit is 7680 bytes).

Reviewed by:	dim, imp
Approved by:	markj (mentor)
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D11928
2017-08-09 20:13:49 +00:00
..
boot0 Allow Clang's integrated assembler to assemble boot0 2017-06-23 18:41:49 +00:00
boot0sio META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
boot2 i386/boot2: -fno-asynchronous-unwind-tables for gcc 2017-08-09 20:13:49 +00:00
btx loader: disk io should not use alloca() 2017-02-06 18:44:15 +00:00
cdboot cdboot: add explict suffix to ambiguous or instruction 2016-12-28 23:02:01 +00:00
common loader: zfs reader should check all labels 2017-04-06 18:17:29 +00:00
gptboot Implement boot-time encryption key passing (keybuf) 2017-04-01 05:05:22 +00:00
gptzfsboot Use NO_WCAST_ALIGN instead of spelling it out as -Wno-cast-align in CFLAGS 2017-03-28 20:30:33 +00:00
kgzldr META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
libfirewire dosfs support in libstand is broken since r298230 2016-12-30 19:06:29 +00:00
libi386 loader: chain load relocate data declaration is bad 2017-06-29 04:33:55 +00:00
loader loader: chain load relocate data declaration is bad 2017-06-29 04:33:55 +00:00
mbr Don't use -N to set the OMAGIC with data and text writeable and data 2016-09-03 15:26:28 +00:00
pmbr Don't use -N to set the OMAGIC with data and text writeable and data 2016-09-03 15:26:28 +00:00
pxeldr Followup on the user-class changes 2017-05-28 18:31:13 +00:00
zfsboot zfsboot: drvsize() may be unusable on some systems 2017-05-04 05:26:37 +00:00
zfsloader DIRDEPS_BUILD: Update dependencies. 2017-05-09 01:48:23 +00:00
boot.ldscript Don't use -N to set the OMAGIC with data and text writeable and data 2016-09-03 15:26:28 +00:00
Makefile Restore kgzldr on i386 only 2016-02-08 16:59:52 +00:00
Makefile.inc Back out the move to the loader script from -N. This should fix the 2016-10-26 05:26:58 +00:00