[PATCH 0/2] LoongArch: Fix LD_AUDIT in _dl_runtime_profile
Deng Jianbo
dengjianbo@loongson.cn
Tue Nov 17 11:00:44 GMT 2026
This series fixes LD_AUDIT register and stack handling in
_dl_runtime_profile. The first patch fixes return-value storage, caller
RA/SP saving, frame-pointer restoration, vector-register stride, and adds
tst-audit29 coverage. The second removes the now-unused 64-byte stack
area.
Deng Jianbo (2):
LoongArch: Fix LD_AUDIT in _dl_runtime_profile
LoongArch: Remove unused stack space in _dl_runtime_profile
sysdeps/loongarch/Makefile | 14 ++
sysdeps/loongarch/dl-trampoline.h | 145 ++++++------
sysdeps/loongarch/tst-audit29.c | 155 +++++++++++++
sysdeps/loongarch/tst-audit29mod.c | 198 ++++++++++++++++
sysdeps/loongarch/tst-audit29mod.h | 162 +++++++++++++
sysdeps/loongarch/tst-auditmod29.c | 352 +++++++++++++++++++++++++++++
6 files changed, 956 insertions(+), 70 deletions(-)
create mode 100644 sysdeps/loongarch/tst-audit29.c
create mode 100644 sysdeps/loongarch/tst-audit29mod.c
create mode 100644 sysdeps/loongarch/tst-audit29mod.h
create mode 100644 sysdeps/loongarch/tst-auditmod29.c
--
2.20.1
More information about the Libc-alpha
mailing list