diff options
author | Dan Albert <danalbert@google.com> | 2015-06-17 11:09:54 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-06-17 14:15:22 -0700 |
commit | f378ebf14df0952eae870c9865bab8326aa8f137 (patch) | |
tree | 31794503eb2a8c64ea5f313b93100f1163afcffb /gcc-4.2.1/config/tls.m4 | |
parent | 2c58169824949d3a597d9fa81931e001ef9b1bd0 (diff) | |
download | toolchain_gcc-f378ebf14df0952eae870c9865bab8326aa8f137.tar.gz toolchain_gcc-f378ebf14df0952eae870c9865bab8326aa8f137.tar.bz2 toolchain_gcc-f378ebf14df0952eae870c9865bab8326aa8f137.zip |
Delete old versions of GCC.
Change-Id: I710f125d905290e1024cbd67f48299861790c66c
Diffstat (limited to 'gcc-4.2.1/config/tls.m4')
-rw-r--r-- | gcc-4.2.1/config/tls.m4 | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc-4.2.1/config/tls.m4 b/gcc-4.2.1/config/tls.m4 deleted file mode 100644 index f1e11a06c..000000000 --- a/gcc-4.2.1/config/tls.m4 +++ /dev/null @@ -1,23 +0,0 @@ -dnl Check whether the target supports TLS. -AC_DEFUN([GCC_CHECK_TLS], [ - GCC_ENABLE(tls, yes, [], [Use thread-local storage]) - AC_CACHE_CHECK([whether the target supports thread-local storage], - have_tls, [ - AC_RUN_IFELSE([__thread int a; int b; int main() { return a = b; }], - [dnl If the test case passed with dynamic linking, try again with - dnl static linking, but only if static linking is supported (not - dnl on Solaris 10). This fails with some older Red Hat releases. - save_LDFLAGS="$LDFLAGS" - LDFLAGS="-static $LDFLAGS" - AC_LINK_IFELSE([int main() { return 0; }], - AC_RUN_IFELSE([__thread int a; int b; int main() { return a = b; }], - [have_tls=yes], [have_tls=no],[]), - [have_tls=yes]) - LDFLAGS="$save_LDFLAGS"], - [have_tls=no], - [AC_COMPILE_IFELSE([__thread int foo;], [have_tls=yes], [have_tls=no])] - )]) - if test "$enable_tls $have_tls" = "yes yes"; then - AC_DEFINE(HAVE_TLS, 1, - [Define to 1 if the target supports thread-local storage.]) - fi]) |