This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 2/3] powerpc: Fix strnlen/power7 build
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Cc: Steven Munroe <munroesj at linux dot vnet dot ibm dot com>, Tulio Magno Quites Machado Filho <tuliom at linux dot vnet dot ibm dot com>
- Date: Tue, 28 Jul 2015 21:51:17 -0300
- Subject: [PATCH 2/3] powerpc: Fix strnlen/power7 build
- Authentication-results: sourceware.org; auth=none
This patch fixes the strnlen.S build with --disable-multi-arch option.
Checked on powerpc64le.
--
* sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen):
Add libc_hidden_def for strnlen and __strnlen and remove
the libc_hidden_builtin_def.
--
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)