summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-03-11 16:17:50 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-03-12 06:54:44 -0500
commit27c7220a483bda576533aa9a0a9b42175644b1a1 (patch)
tree8781e3f01a25a5fbb043a011a28697820b7e7286
parent76c96cf7ec0dc38089c9a887f80b3222f6084c82 (diff)
downloadglibc-27c7220a483bda576533aa9a0a9b42175644b1a1.tar.gz
glibc-27c7220a483bda576533aa9a0a9b42175644b1a1.tar.xz
glibc-27c7220a483bda576533aa9a0a9b42175644b1a1.zip
PowerPC: Fix strspn for static build
This patch makes the strspn ifunc selector build for static builds.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/strspn.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cae7f85a68..21bd6210fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
+
+	* sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
+	selector for static builds.
+
 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/mips/math_private.h [__mips_hard_float]
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strspn.c b/sysdeps/powerpc/powerpc64/multiarch/strspn.c
index 44945f328e..bf8c877ec2 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/strspn.c
+++ b/sysdeps/powerpc/powerpc64/multiarch/strspn.c
@@ -16,7 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#if defined SHARED && !defined NOT_IN_libc
+#ifndef NOT_IN_libc
 # include <string.h>
 # include <shlib-compat.h>
 # include "init-arch.h"