PowerPC: Fix memchr ifunc hidden symbol for PPC32
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Thu, 22 May 2014 12:53:44 +0000 (07:53 -0500)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Thu, 22 May 2014 12:53:44 +0000 (07:53 -0500)
commit3d2badacf185fac740a2992240a817fb2ca325af
treefc35b1dd8bbab1e2d88d98a181bbd9d31a90f96f
parentdf54acbb7b0a2efe22e7bf369ff1055211b9fe58
PowerPC: Fix memchr ifunc hidden symbol for PPC32

This patch fixes a similar issue to
736c304a1ab4cee36a2f3343f1698bc0abae4608, where for PPC32 if the symbol
is defined as hidden (memchr) then compiler will create a local branc
(symbol@local) and the linker will not create a required PLT call to
make the ifunc work.  It changes the default hidden symbol (__GI_memchr)
to default memchr symbol for powerpc32 (__memchr_ppc32).
ChangeLog
sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c