powerpc: multiarch Makefile cleanup for powerpc32

This patch cleanups the multiarch Makefile by putting the wide chars
implementation to correct wcsmbs rule.
This commit is contained in:
Adhemerval Zanella 2015-01-21 07:38:28 -05:00
parent b269211467
commit 8548a53d69
2 changed files with 14 additions and 4 deletions

View File

@ -1,5 +1,9 @@
2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
* sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
[sysdep_routines]: Remove wide chars objects.
[wcsmbs]: New rule for wide char objects.
* sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
Remove wordcopy-power6 obejct.
* sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):

View File

@ -8,13 +8,19 @@ sysdep_routines += memcpy-power7 memcpy-a2 memcpy-power6 memcpy-cell \
strnlen-ppc32 strncmp-power7 strncmp-ppc32 \
strcasecmp-power7 strcasecmp_l-power7 strncase-power7 \
strncase_l-power7 strchrnul-power7 strchrnul-ppc32 \
strchr-power7 strchr-ppc32 wcschr-power7 wcschr-power6 \
wcschr-ppc32 wcsrchr-power7 wcsrchr-power6 wcsrchr-ppc32 \
wcscpy-power7 wcscpy-power6 wcscpy-ppc32 wordcopy-power7 \
wordcopy-power6 wordcopy-ppc32 memmove-power7 memmove-ppc
strchr-power7 strchr-ppc32 \
wordcopy-power7 wordcopy-power6 wordcopy-ppc32 \
memmove-power7 memmove-ppc
CFLAGS-strncase-power7.c += -mcpu=power7 -funroll-loops
CFLAGS-strncase_l-power7.c += -mcpu=power7 -funroll-loops
endif
ifeq ($(subdir),wcsmbs)
sysdep_routines += wcschr-power7 wcschr-power6 wcschr-ppc32 \
wcsrchr-power7 wcsrchr-power6 wcsrchr-ppc32 \
wcscpy-power7 wcscpy-power6 wcscpy-ppc32
CFLAGS-wcschr-power7.c += -mcpu=power7
CFLAGS-wcschr-power6.c += -mcpu=power6
CFLAGS-wcsrchr-power7.c += -mcpu=power7