PowerPC: Fix bzero definition for static libc for PPC32
commita52b3f7e4c4de8705370adda4b390293780dc768
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Wed, 12 Mar 2014 13:55:50 +0000 (12 08:55 -0500)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Wed, 12 Mar 2014 16:51:32 +0000 (12 11:51 -0500)
tree44c9c53a20e941f28143eadbd37642a17e083fae
parent09e09c2872ab52c8a42b907105343520019ca1d1
PowerPC: Fix bzero definition for static libc for PPC32

This patch fixes an issue for powerpc32-fpu static build which fails
with an 'bzero' undefined reference. This patch adds bzero ifunc selector
for static builds and fixes the '__bzero_ppc' reference to default
memset symbol (since static memset build does not provide ifunc
selector).

Fixes BZ#16689.

Backport of dd3946c615184e1957a0cb09352cac72be5d6d5b.
ChangeLog
NEWS
sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c