diff options
author | Pavel Chupin <pavel.v.chupin@intel.com> | 2012-08-03 12:37:21 +0400 |
---|---|---|
committer | Pavel Chupin <pavel.v.chupin@intel.com> | 2012-08-06 12:35:29 +0400 |
commit | 57cfd7a03820d1241333e059feda0ab04829f575 (patch) | |
tree | 2269f21b323b196acd3bcd7404af33862596fc1f /gcc-4.6/gcc/cse.c | |
parent | 5f2f4ef69e2f64970aad2c303a529c49789021d8 (diff) | |
download | toolchain_gcc-57cfd7a03820d1241333e059feda0ab04829f575.tar.gz toolchain_gcc-57cfd7a03820d1241333e059feda0ab04829f575.tar.bz2 toolchain_gcc-57cfd7a03820d1241333e059feda0ab04829f575.zip |
Backport from trunk r189840: stack-protector runtime fix
2012-07-25 Sergey Melnikov <sergey.melnikov@intel.com>
* config/i386/i386.md (stack_protect_set): Disable the pattern
for Android since Android libc (bionic) does not provide random
value for stack protection guard at gs:0x14. Guard value
will be provided from external symbol (default implementation).
(stack_protect_set_<mode>): Likewise.
(stack_protect_test): Likewise.
(stack_protect_test_<mode>): Likewise.
* gcc/defaults.h: Define macro TARGET_HAS_BIONIC to 0 - target
* does
not have Bionic by default
* config/linux.h: Redefine macro TARGET_HAS_BIONIC to
* (OPTION_BIONIC)
Macro OPTION_BIONIC is defined in this file and provides Bionic
accessibility status
Change-Id: I56ae8fd7fef7c21977072e7f3c24b93030f0b813
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
Diffstat (limited to 'gcc-4.6/gcc/cse.c')
0 files changed, 0 insertions, 0 deletions