diff options
author | Stephen Crane <sjc@immunant.com> | 2017-05-09 14:27:43 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-06-21 23:53:46 +0000 |
commit | f4b1cbda4a6fa15b0223b952a343f87523b8578d (patch) | |
tree | 44fb71a2252acb9f4c024eb779b6283b87ba2cc3 /libc/stdio/stdio_ext.cpp | |
parent | d411524609186dc6b243156e4df43617ab33d0f4 (diff) |
Disable stack protector for __libc_preinit
__libc_preinit sets up the stack protector global cookie value, and thus
cannot intialize a stack protector cookie for itself in the function
prologue. LTO compilation can inline functions requiring a stack
protector into __libc_preinit. This patch disables stack protection for
__libc_preinit and forces all potentially inlined functions into a
helper that can have a stack protector.
Test: run bionic-unit-tests
Change-Id: I45911611190f216c91eb6feff722967214c5f99f
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions