History log of /ndk/toolchains/x86-4.9/setup.mk
Revision Date Author Comments
45e3de094fefaf9912154ae307f49a961f6c8ff0 20-Mar-2015 Daniel Micay <danielmicay@gmail.com> use -fstack-protector-strong when available

This results in nearly all functions with the possibility of stack
corruption getting stack canaries, because it applies to any function
taking a reference to the frame or with a local array rather than just
the functions with arrays larger than 8 bytes. It was developed for use
in Chrome (and Chrome OS) and has also been adopted by various other
distributions (Arch, Fedora, Ubuntu, etc).

The code size increase ranges from ~1.5% to ~2.5%, compared to ~0.3% to
~0.7% with the more conservative switch. The increase in the performance
loss is usually minimal. The overall size increase once everything other
than C and C++ code is taken into account is minimal, and it greatly
improves the mitigation of stack buffer overflow vulnerabilities.

https://lwn.net/Articles/584225/

Change-Id: I646c511e4bc2f8143df4dac2408dbe50cca45fa1
4d0352f01e1ab1811b83c00f37b1e4c2fc35717f 16-Apr-2014 Andrew Hsieh <andrewhsieh@google.com> Add gcc-4.9/binutils-2.24

Now gcc4.8 also compile with binutils-2.24 as well (from 2.23)

Change-Id: I249dd4414182d2b42c231ca9dbe1e2ec960b995e