SVNews r322329

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-08-09 20:13:49 - r322329 by rlibby (rlibby)

Complete list of files affected by revision r322329:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/boot/i386/boot2/Makefile  

Commit message:

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

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 28 ms, 1 file printed. Current time is 2017-10-19 19:54:52. All times are in UTC/GMT.