summaryrefslogtreecommitdiffstats
path: root/gold/configure.ac
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2008-12-12 16:23:27 +0000
committerIan Lance Taylor <ian@airs.com>2008-12-12 16:23:27 +0000
commitb0074644c422c28e8be29f9ba5336d80cd05a4b3 (patch)
treedce8389e15f5483750b440d6e789f47a296cc988 /gold/configure.ac
parent48844aa658ab5607fc3442c8a654f220e888f7a1 (diff)
downloadppe42-binutils-b0074644c422c28e8be29f9ba5336d80cd05a4b3.tar.gz
ppe42-binutils-b0074644c422c28e8be29f9ba5336d80cd05a4b3.zip
* configure.ac: Update test for TLS descriptors: they are
supported as of glibc 2.9. * configure: Rebuild.
Diffstat (limited to 'gold/configure.ac')
-rw-r--r--gold/configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/gold/configure.ac b/gold/configure.ac
index b0efef1e55..e19161cd83 100644
--- a/gold/configure.ac
+++ b/gold/configure.ac
@@ -262,18 +262,18 @@ CFLAGS="$save_CFLAGS"
AM_CONDITIONAL(TLS_GNU2_DIALECT, test "$have_tls_gnu2" = "yes")
dnl On GNU/Linux TLS descriptors are supported by the dynamic loader
-dnl only with glibc 2.5 or later.
-AC_CACHE_CHECK([for glibc >= 2.5], [gold_cv_lib_glibc25],
+dnl only with glibc 2.9 or later.
+AC_CACHE_CHECK([for glibc >= 2.9], [gold_cv_lib_glibc29],
[AC_COMPILE_IFELSE([
#include <features.h>
#if !defined __GLIBC__
error
-#elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 5)
+#elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 9)
error
#endif
-], [gold_cv_lib_glibc25=yes], [gold_cv_lib_glibc25=no])])
+], [gold_cv_lib_glibc29=yes], [gold_cv_lib_glibc29=no])])
-AM_CONDITIONAL(TLS_DESCRIPTORS, test "$gold_cv_lib_glibc25" = "yes")
+AM_CONDITIONAL(TLS_DESCRIPTORS, test "$gold_cv_lib_glibc29" = "yes")
dnl Check whether the compiler supports constructor priorities in
dnl attributes, which were added in gcc 4.3.
OpenPOWER on IntegriCloud