about summary refs log tree commit diff
path: root/sysdeps/arm
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-04-24 10:51:49 -0700
committerRoland McGrath <roland@hack.frob.com>2015-04-24 10:51:49 -0700
commitc25fec6f57a9f1901c8a11eb51c8318bb86d47b9 (patch)
tree2b2601433fd37fbf76c602dd2e50fd8e2523c9de /sysdeps/arm
parent42261ad731991df345880b0b509d83b0b9a9b9d8 (diff)
downloadglibc-c25fec6f57a9f1901c8a11eb51c8318bb86d47b9.tar.gz
glibc-c25fec6f57a9f1901c8a11eb51c8318bb86d47b9.tar.xz
glibc-c25fec6f57a9f1901c8a11eb51c8318bb86d47b9.zip
ARM: Define PI_STATIC_AND_HIDDEN.
Diffstat (limited to 'sysdeps/arm')
-rw-r--r--sysdeps/arm/configure3
-rw-r--r--sysdeps/arm/configure.ac7
2 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/arm/configure b/sysdeps/arm/configure
index 45667cc522..52f2185c29 100644
--- a/sysdeps/arm/configure
+++ b/sysdeps/arm/configure
@@ -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
diff --git a/sysdeps/arm/configure.ac b/sysdeps/arm/configure.ac
index 002b8ef365..168f2e7c80 100644
--- a/sysdeps/arm/configure.ac
+++ b/sysdeps/arm/configure.ac
@@ -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