[PATCH v2 15/16] arm: Define __memchr

Richard Henderson rth@twiddle.net
Wed Dec 21 23:06:00 GMT 2016


All other memchr implementations define it.

	* sysdeps/arm/armv6t2/memchr.S (__memchr): Define alias.
---
 sysdeps/arm/armv6t2/memchr.S | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sysdeps/arm/armv6t2/memchr.S b/sysdeps/arm/armv6t2/memchr.S
index ded52dc..b4117fe 100644
--- a/sysdeps/arm/armv6t2/memchr.S
+++ b/sysdeps/arm/armv6t2/memchr.S
@@ -184,4 +184,6 @@ ENTRY(memchr)
 	DO_RET(lr)
 
 END(memchr)
+
+strong_alias (memchr, __memchr)
 libc_hidden_builtin_def (memchr)
-- 
2.9.3



More information about the Libc-alpha mailing list