From c25fec6f57a9f1901c8a11eb51c8318bb86d47b9 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 24 Apr 2015 10:51:49 -0700 Subject: [PATCH] ARM: Define PI_STATIC_AND_HIDDEN. --- ChangeLog | 5 +++++ sysdeps/arm/configure | 3 ++- sysdeps/arm/configure.ac | 7 +++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index dbafd86..2811c82 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-04-24 Roland McGrath + + * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it. + * sysdeps/arm/configure: Regenerated. + 2015-04-24 Florian Weimer [BZ #17715] diff --git a/sysdeps/arm/configure b/sysdeps/arm/configure index 45667cc..52f2185 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 002b8ef..168f2e7 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 -- 2.7.4