[PATCH 2/3] powerpc: Fix strnlen/power7 build
Adhemerval Zanella
adhemerval.zanella@linaro.org
Wed Jul 29 00:51:00 GMT 2015
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)
More information about the Libc-alpha
mailing list