From fb12efff27d71bcf8011ecfedeec6ab94a15ea37 Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Seo Date: Tue, 11 Aug 2015 18:30:12 -0300 Subject: [PATCH] [powerpc] Fix memchr for powerpc32. Fix a wrong #undef in memchr.c. * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace '#undef memcpy' by '#undef memchr'. --- sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c b/sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c index 1319df7..7503a53 100644 --- a/sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c +++ b/sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c @@ -17,7 +17,7 @@ . */ #if IS_IN (libc) -# undef memcpy +# undef memchr /* Redefine memchr so that the compiler won't make the weak_alias point to internal hidden definition (__GI_memchr), since PPC32 does not support local IFUNC calls. */ -- 2.4.6