aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2015-07-28 15:39:13 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.com>2015-08-11 10:03:09 -0300
commit14362ef154136223b0f77cb0351c31be865ab826 (patch)
treec92a5e08c3420478641ccb9c08263cde89f2dcc0
parent357bb400f1b25e48e265fd55b5996328d2a8c142 (diff)
downloadglibc-14362ef154136223b0f77cb0351c31be865ab826.zip
glibc-14362ef154136223b0f77cb0351c31be865ab826.tar.gz
glibc-14362ef154136223b0f77cb0351c31be865ab826.tar.bz2
powerpc: Fix strnlen/power7 build
This patch fixes the strnlen.S build with --disable-multi-arch option.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/powerpc/powerpc64/power7/strnlen.S3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index efd999b..3c1f2ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
+ * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
+ libc_hidden_def.
+ (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
+
* sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
(sysdep_routines): Add strstr-ppc64.
* sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
diff --git a/sysdeps/powerpc/powerpc64/power7/strnlen.S b/sysdeps/powerpc/powerpc64/power7/strnlen.S
index 2de267f..b966f7b 100644
--- a/sysdeps/powerpc/powerpc64/power7/strnlen.S
+++ b/sysdeps/powerpc/powerpc64/power7/strnlen.S
@@ -173,5 +173,6 @@ L(loop_small):
blr
END (__strnlen)
+libc_hidden_def (__strnlen)
weak_alias (__strnlen, strnlen)
-libc_hidden_builtin_def (strnlen)
+libc_hidden_def (strnlen)