aboutsummaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorSergey Melnikov <sergey.melnikov@intel.com>2012-07-25 10:33:20 +0000
committerKirill Yukhin <kirill.yukhin@intel.com>2012-07-25 10:33:20 +0000
commit1caf6e1d363993d65ba5416ea44c810dbac7d88c (patch)
tree216b626200bf26c09b3d85f9d9956d1ab5236774 /gcc/defaults.h
parent6fb5ff2a034741056bfbcc0716f82be49c9e21e7 (diff)
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 git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@189840 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index cfd44babb0f..316a1c31928 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -1054,6 +1054,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define TARGET_HAS_SINCOS 0
#endif
+/* Determin whether the target runtime library is Bionic */
+#ifndef TARGET_HAS_BIONIC
+#define TARGET_HAS_BIONIC 0
+#endif
+
/* Indicate that CLZ and CTZ are undefined at zero. */
#ifndef CLZ_DEFINED_VALUE_AT_ZERO
#define CLZ_DEFINED_VALUE_AT_ZERO(MODE, VALUE) 0