summaryrefslogtreecommitdiff
path: root/gcc/config/linux.h
diff options
context:
space:
mode:
authorSergey Melnikov <sergey.melnikov@intel.com>2012-07-25 10:33:20 +0000
committerKirill Yukhin <kyukhin@gcc.gnu.org>2012-07-25 10:33:20 +0000
commit4bd5abcae190858b0c1408f6d6f9d33481d18dbb (patch)
tree216b626200bf26c09b3d85f9d9956d1ab5236774 /gcc/config/linux.h
parent3e31cf28a45a40680b94f2d9775f854a466bf207 (diff)
downloadgcc-4bd5abcae190858b0c1408f6d6f9d33481d18dbb.tar.gz
i386.md (stack_protect_set): Disable the pattern for Android since Android libc (bionic) does not provide...
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 From-SVN: r189840
Diffstat (limited to 'gcc/config/linux.h')
-rw-r--r--gcc/config/linux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/linux.h b/gcc/config/linux.h
index dbbeea5c7fd..fb459e68028 100644
--- a/gcc/config/linux.h
+++ b/gcc/config/linux.h
@@ -104,3 +104,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
/* Whether we have sincos that follows the GNU extension. */
#undef TARGET_HAS_SINCOS
#define TARGET_HAS_SINCOS (OPTION_GLIBC || OPTION_BIONIC)
+
+/* Whether we have Bionic libc runtime */
+#undef TARGET_HAS_BIONIC
+#define TARGET_HAS_BIONIC (OPTION_BIONIC)