This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 2/3] powerpc: Fix strnlen/power7 build


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]