mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-04 02:40:06 +00:00
d5b411854f
A number of functions in the sysdeps/powerpc/powerpc64/ tree don't use or change r2, yet declare a global entry that sets up r2. This patch fixes that problem, and consolidates the ENTRY and EALIGN macros. * sysdeps/powerpc/powerpc64/sysdep.h: Formatting. (NOPS, ENTRY_3): New macros. (ENTRY): Rewrite. (ENTRY_TOCLESS): Define. (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5, EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete. * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY. * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise. * sysdeps/powerpc/powerpc64/memset.S: Likewise. * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise. * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise. * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise. * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise. * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise. * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise. * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise. * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS. * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise. * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise. * sysdeps/powerpc/powerpc64/lshift.S: Likewise. * sysdeps/powerpc/powerpc64/memcpy.S: Likewise. * sysdeps/powerpc/powerpc64/mul_1.S: Likewise. * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise. * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise. * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise. * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise. * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise. * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise. * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise. * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise. * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise. * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise. * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise. * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise. * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise. * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise. * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise. * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise. * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise. * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise. * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise. * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise. * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise. * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise. * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise. * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise. * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise. * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l): Likewise. * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise. * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise. * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise. * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise. * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise. * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise. * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise. * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise. * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise. * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise. * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise. * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise. * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise. * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise. * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise. * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise. * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise. * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise. * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise. * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise. * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise. * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise. * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise. * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise. * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise. * sysdeps/powerpc/powerpc64/strchr.S: Likewise. * sysdeps/powerpc/powerpc64/strcmp.S: Likewise. * sysdeps/powerpc/powerpc64/strlen.S: Likewise. * sysdeps/powerpc/powerpc64/strncmp.S: Likewise. * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't add nop when SHARED. * sysdeps/powerpc/powerpc64/start.S: Fix comment. * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't define. (ENTRY_TOCLESS): Define. * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define. * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS. * sysdeps/powerpc/fpu/s_fmaf.S: Likewise. |
||
---|---|---|
.. | ||
bcopy-ppc64.c | ||
bcopy.c | ||
bzero.c | ||
ifunc-impl-list.c | ||
init-arch.h | ||
Makefile | ||
memchr-power7.S | ||
memchr-ppc64.c | ||
memchr.c | ||
memcmp-power4.S | ||
memcmp-power7.S | ||
memcmp-power8.S | ||
memcmp-ppc64.c | ||
memcmp.c | ||
memcpy-a2.S | ||
memcpy-cell.S | ||
memcpy-power4.S | ||
memcpy-power6.S | ||
memcpy-power7.S | ||
memcpy-ppc64.S | ||
memcpy.c | ||
memmove-power7.S | ||
memmove-ppc64.c | ||
memmove.c | ||
mempcpy-power7.S | ||
mempcpy-ppc64.c | ||
mempcpy.c | ||
memrchr-power7.S | ||
memrchr-ppc64.c | ||
memrchr.c | ||
memset-power4.S | ||
memset-power6.S | ||
memset-power7.S | ||
memset-power8.S | ||
memset-ppc64.S | ||
memset.c | ||
rawmemchr-power7.S | ||
rawmemchr-ppc64.c | ||
rawmemchr.c | ||
rtld-memset.c | ||
rtld-strchr.S | ||
stpcpy-power7.c | ||
stpcpy-power8.S | ||
stpcpy-ppc64.c | ||
stpcpy.c | ||
stpncpy-power7.S | ||
stpncpy-power8.S | ||
stpncpy-ppc64.c | ||
stpncpy.c | ||
strcasecmp_l-power7.S | ||
strcasecmp_l.c | ||
strcasecmp-power7.S | ||
strcasecmp-power8.S | ||
strcasecmp-ppc64.c | ||
strcasecmp.c | ||
strcasestr-power8.S | ||
strcasestr-ppc64.c | ||
strcasestr.c | ||
strcat-power7.c | ||
strcat-power8.c | ||
strcat-ppc64.c | ||
strcat.c | ||
strchr-power7.S | ||
strchr-power8.S | ||
strchr-ppc64.S | ||
strchr.c | ||
strchrnul-power7.S | ||
strchrnul-power8.S | ||
strchrnul-ppc64.c | ||
strchrnul.c | ||
strcmp-power7.S | ||
strcmp-power8.S | ||
strcmp-power9.S | ||
strcmp-ppc64.S | ||
strcmp.c | ||
strcpy-power7.c | ||
strcpy-power8.S | ||
strcpy-ppc64.c | ||
strcpy.c | ||
strcspn-power8.S | ||
strcspn-ppc64.c | ||
strcspn.c | ||
strlen-power7.S | ||
strlen-power8.S | ||
strlen-ppc64.S | ||
strlen.c | ||
strncase_l-power7.c | ||
strncase_l.c | ||
strncase-power7.c | ||
strncase-power8.S | ||
strncase-ppc64.c | ||
strncase.c | ||
strncat-power7.c | ||
strncat-power8.c | ||
strncat-ppc64.c | ||
strncat.c | ||
strncmp-power4.S | ||
strncmp-power7.S | ||
strncmp-power8.S | ||
strncmp-power9.S | ||
strncmp-ppc64.S | ||
strncmp.c | ||
strncpy-power7.S | ||
strncpy-power8.S | ||
strncpy-ppc64.c | ||
strncpy.c | ||
strnlen-power7.S | ||
strnlen-power8.S | ||
strnlen-ppc64.c | ||
strnlen.c | ||
strrchr-power7.S | ||
strrchr-power8.S | ||
strrchr-ppc64.c | ||
strrchr.c | ||
strspn-power8.S | ||
strspn-ppc64.c | ||
strspn.c | ||
strstr-power7.S | ||
strstr-ppc64.c | ||
strstr.c | ||
wcschr-power6.c | ||
wcschr-power7.c | ||
wcschr-ppc64.c | ||
wcschr.c | ||
wcscpy-power6.c | ||
wcscpy-power7.c | ||
wcscpy-ppc64.c | ||
wcscpy.c | ||
wcsrchr-power6.c | ||
wcsrchr-power7.c | ||
wcsrchr-ppc64.c | ||
wcsrchr.c | ||
wordcopy-ppc64.c |