glibc/sysdeps/aarch64
Vladislav Khmelevsky 691f70b84a elf: Fix rtld-audit trampoline for aarch64
This patch fixes two problems with audit:

  1. The DL_OFFSET_RV_VPCS offset was mixed up with DL_OFFSET_RG_VPCS,
     resulting in x2 register value nulling in RG structure.

  2. We need to preserve the x8 register before function call, but
     don't have to save it's new value and restore it before return.

Anyway the final restore was using OFFSET_RV instead of OFFSET_RG value
which is wrong (althoug doesn't affect anything).

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
(cherry picked from commit eb4181e9f4)
2022-11-22 10:34:14 -03:00
..
bits elf: Fix runtime linker auditing on aarch64 (BZ #26643) 2022-04-12 13:33:10 -04:00
fpu Update math: redirect roundeven function 2021-06-27 07:56:57 -07:00
multiarch AArch64: Check for SVE in ifuncs [BZ #28744] 2022-01-07 10:10:27 +01:00
nptl
sys
__longjmp.S
__mtag_tag_region.S
__mtag_tag_zero_region.S
abort-instr.h
atomic-machine.h
bsd-_setjmp.c
bsd-setjmp.c
configure
configure.ac
crti.S
crtn.S
dl-audit-check.h elf: Fix runtime linker auditing on aarch64 (BZ #26643) 2022-04-12 13:33:10 -04:00
dl-bti.c
dl-dtprocnum.h
dl-irel.h
dl-link.sym elf: Fix runtime linker auditing on aarch64 (BZ #26643) 2022-04-12 13:33:10 -04:00
dl-lookupcfg.h
dl-machine.h elf: Fix dynamic-link.h usage on rtld.c 2022-04-08 14:18:11 -04:00
dl-prop.h
dl-sysdep.h
dl-tls.h
dl-tlsdesc.h
dl-tlsdesc.S
dl-trampoline.S elf: Fix rtld-audit trampoline for aarch64 2022-11-22 10:34:14 -03:00
dl-tunables.list
e_sqrtl.c
elf-initfini.h
hp-timing.h AArch64: Add hp-timing.h 2021-07-01 15:42:05 +01:00
Implies
jmpbuf-offsets.h
jmpbuf-unwind.h
ldsodefs.h
libc-mtag.h
libc-tls.c
libm-test-ulps
libm-test-ulps-name
linkmap.h
machine-gmon.h
Makefile elf: Fix runtime linker auditing on aarch64 (BZ #26643) 2022-04-12 13:33:10 -04:00
math-tests-trap.h
mcount.c
memchr.S
memcmp.S
memcpy.S
memmove.c
memrchr.S
memset-reg.h
memset.S
memusage.h
preconfigure
rawmemchr.S
setjmp.S
sfp-machine.h
sotruss-lib.c
stackinfo.h
start.S
stpcpy.S
strchr.S
strchrnul.S
strcmp.S
strcpy.S
string_private.h
strlen.S
strncmp.S
strnlen.S AArch64: Improve strnlen performance 2021-07-01 15:32:36 +01:00
strrchr.S
sysdep.h
tls-macros.h
tlsdesc.c
tlsdesc.sym
tst-audit26.c elf: Fix runtime linker auditing on aarch64 (BZ #26643) 2022-04-12 13:33:10 -04:00
tst-audit26mod.c elf: Fix runtime linker auditing on aarch64 (BZ #26643) 2022-04-12 13:33:10 -04:00
tst-audit26mod.h elf: Fix runtime linker auditing on aarch64 (BZ #26643) 2022-04-12 13:33:10 -04:00
tst-audit27.c elf: Fix runtime linker auditing on aarch64 (BZ #26643) 2022-04-12 13:33:10 -04:00
tst-audit27mod.c elf: Fix runtime linker auditing on aarch64 (BZ #26643) 2022-04-12 13:33:10 -04:00
tst-audit27mod.h elf: Fix runtime linker auditing on aarch64 (BZ #26643) 2022-04-12 13:33:10 -04:00
tst-audit.h
tst-auditmod26.c elf: Fix runtime linker auditing on aarch64 (BZ #26643) 2022-04-12 13:33:10 -04:00
tst-auditmod27.c elf: Fix runtime linker auditing on aarch64 (BZ #26643) 2022-04-12 13:33:10 -04:00
tst-ifunc-arg-1.c
tst-ifunc-arg-2.c
tst-vpcs-mod.S
tst-vpcs.c
Versions