From fb78612a963cfe1299b33b1c60a0c24a206276c3 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Wed, 25 Feb 2015 16:22:10 -0300 Subject: powerpc: Fix __wcschr static build This patch fix the static build for strftime, which uses __wcschr. Current powerpc32 implementation defines the __wcschr be an alias to __wcschr_ppc32 and current implementation misses the correct alias for static build. It also changes the default wcschr.c logic so a IFUNC implementation should just define WCSCHR and undefine the required alias/internal definitions. --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index dddb0ae07d..8f7c17603c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2015-04-15 Adhemerval Zanella + + * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove + conditionals for weak_alias and libc_hidden_weak. + * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine + libc_hidden_weak and weak_alias. + * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]: + Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds + and weak_alias for static one. + 2015-04-15 David S. Miller * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch. -- cgit v1.2.3-70-g09d2