ARM: Define PI_STATIC_AND_HIDDEN.
authorRoland McGrath <roland@hack.frob.com>
Fri, 24 Apr 2015 17:51:49 +0000 (10:51 -0700)
committerRoland McGrath <roland@hack.frob.com>
Fri, 24 Apr 2015 17:51:49 +0000 (10:51 -0700)
ChangeLog
sysdeps/arm/configure
sysdeps/arm/configure.ac

index dbafd86..2811c82 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-24  Roland McGrath  <roland@hack.frob.com>
+
+       * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
+       * sysdeps/arm/configure: Regenerated.
+
 2015-04-24  Florian Weimer  <fweimer@redhat.com>
 
        [BZ #17715]
index 45667cc..52f2185 100644 (file)
@@ -1,7 +1,8 @@
 # This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
  # Local configure fragment for sysdeps/arm.
 
-#AC_DEFINE(PI_STATIC_AND_HIDDEN)
+$as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h
+
 
 # We check to see if the compiler and flags are
 # selecting the hard-float ABI and if they are then
index 002b8ef..168f2e7 100644 (file)
@@ -2,10 +2,9 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
 # Local configure fragment for sysdeps/arm.
 
 dnl It is always possible to access static and hidden symbols in an
-dnl position independent way.
-dnl NOTE: This feature was added by the GCC TLS patches.  We should test for
-dnl it.  Until we do, don't define it.
-#AC_DEFINE(PI_STATIC_AND_HIDDEN)
+dnl position independent way.  This has been true since GCC 4.1,
+dnl which is older than the minimum version required to build libc.
+AC_DEFINE(PI_STATIC_AND_HIDDEN)
 
 # We check to see if the compiler and flags are
 # selecting the hard-float ABI and if they are then