glibc/sysdeps/powerpc/powerpc64
Matheus Castanho 4c92a10412 powerpc: Fix VSX register number on __strncpy_power9 [BZ #29197]
__strncpy_power9 initializes VR 18 with zeroes to be used throughout the
code, including when zero-padding the destination string. However, the
v18 reference was mistakenly being used for stxv and stxvl, which take a
VSX vector as operand. The code ended up using the uninitialized VSR 18
register by mistake.

Both occurrences have been changed to use the proper VSX number for VR 18
(i.e. VSR 50).

Tested on powerpc, powerpc64 and powerpc64le.

Signed-off-by: Kewen Lin <linkw@gcc.gnu.org>
(cherry picked from commit 0218463dd8)
2022-06-07 15:34:20 -03:00
..
a2
be
bits
cell
fpu
le powerpc: Fix VSX register number on __strncpy_power9 [BZ #29197] 2022-06-07 15:34:20 -03:00
multiarch powerpc64: Remove strcspn ifunc from the loader 2021-07-08 21:59:28 -03:00
power4
power6
power7 powerpc64le: Optimized memmove for POWER10 2021-04-30 18:12:08 -03:00
power8
__longjmp-common.S
__longjmp.S
addmul_1.S
atomic-machine.h
backtrace.c powerpc64: Workaround sigtramp vdso return call 2021-01-28 13:57:50 -03:00
bsd-_setjmp.S
bsd-setjmp.S
bzero.S
configure
configure.ac
crti.S
crtn.S
dl-dtprocnum.h
dl-funcdesc.h elf: Fix dynamic-link.h usage on rtld.c 2022-04-08 14:18:11 -04:00
dl-irel.h elf: Fix dynamic-link.h usage on rtld.c 2022-04-08 14:18:11 -04:00
dl-machine.c
dl-machine.h elf: Fix dynamic-link.h usage on rtld.c 2022-04-08 14:18:11 -04:00
dl-trampoline.S elf: Add _dl_audit_pltexit 2022-04-08 14:18:12 -04:00
entry.h
ffsll.c
hp-timing.h
Implies
lshift.S
Makefile Remove stale references to libdl.a 2021-06-09 19:14:02 +02:00
memcpy.S
memset.S
mul_1.S
ppc-mcount.S
register-dump.h
rtld-memset.c
setjmp-bug21895.c
setjmp-common.S
setjmp.S
stackguard-macros.h
start.S Reduce the statically linked startup code [BZ #23323] 2021-02-25 12:13:02 +01:00
strchr.S
strcmp.S
strlen.S
strncmp.S
submul_1.S
sysdep.h powerpc64[le]: Fix CFI and LR save address for asm syscalls [BZ #28532] 2021-11-30 15:34:03 -03:00
tls-macros.h
tst-audit.h
tst-setjmp-bug21895-static.c
tst-ucontext-ppc64-vscr.c powerpc: Fix unrecognized instruction errors with recent GCC 2022-01-10 22:48:53 +01:00