glibc/sysdeps/powerpc
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
..
bits
fpu
nofpu Force building with -fno-common 2021-07-09 20:09:14 +02:00
nptl
power4
power6
powerpc32 elf: Fix dynamic-link.h usage on rtld.c 2022-04-08 14:18:11 -04:00
powerpc64 powerpc: Fix VSX register number on __strncpy_power9 [BZ #29197] 2022-06-07 15:34:20 -03:00
sys/platform
abort-instr.h
atomic-machine.h
cpu-features.c
cpu-features.h
dl-lookupcfg.h elf: Issue la_symbind for bind-now (BZ #23734) 2022-04-12 13:32:59 -04:00
dl-procinfo.c
dl-procinfo.h
dl-tls.c
dl-tls.h
dl-tunables.list
elf-initfini.h
ffs.c
fpu_control.h
gccframe.h
hwcapinfo.c
hwcapinfo.h
ifunc-sel.h
jmpbuf-offsets.h
jmpbuf-unwind.h
ldsodefs.h
libc-tls.c
locale-defines.sym
longjmp.c
machine-gmon.h
Makefile powerpc: Fix unrecognized instruction errors with recent binutils 2022-01-18 23:05:42 +01:00
math-tests-snan-cast.h
memusage.h
mod-cache-ppc.c
mod-tlsopt-powerpc.c
mp_clz_tab.c
novmx-longjmp.c
novmx-sigjmp.c
novmxsetjmp.h
preconfigure
preconfigure.ac
rtld-global-offsets.sym
sigjmp.c
sotruss-lib.c
stackinfo.h
sysdep.h
test-arith.c
test-arithf.c
test-get_hwcap-static.c
test-get_hwcap.c
test-gettimebase.c
tls-macros.h
tst-cache-ppc-static-dlopen.c
tst-cache-ppc-static.c
tst-cache-ppc.c
tst-set_ppr.c powerpc: Fix unrecognized instruction errors with recent binutils 2022-01-18 23:05:42 +01:00
tst-stack-align.h
tst-tlsifunc-static.c
tst-tlsifunc.c
tst-tlsopt-powerpc.c
Versions