On Fri, Jun 24, 2011 at 12:37 PM, Diego Novillo <dnovi...@google.com> wrote:
> I've uploaded a copy of the notes we took during the meetings in
> London last weekend.
>
> http://gcc.gnu.org/wiki/GCCGathering2011
>
> I think we may be missing a couple of slide presentations, so if you
> have notes or slides that I didn't get to add, please let me know.
>

---
Hardened Code Generation (bjanakiraman)
● Generate code that can not be hacked (ideally).
● ChromeOS based on Gentoo.
● -D_FORTIFY_SOURCE=2
● -z now
● -pie
● -z relro
● -fstack-protector-all
● Overhead of hardening: 15% on browser benchmark on Atom.
● Atom is 32-bit code; PIE overhead due to calling function to get PC;
10 cycle stall.
● -fstack-protector-all is majority of slowdown on Atom.
● On i386 (current hardware) and ARMel most slowdown was -pie (but
test was not using -
fstack-protector-all).
---

is interesting.  X32 will solve PIE/PIC problem.


-- 
H.J.

Reply via email to