[PATCH v7 0/3] elf: Restore support for _r_debug interpositions and copy relocations
Florian Weimer
fweimer@redhat.com
Fri Jul 4 08:35:15 GMT 2025
Version 7 fixes the comment issues Andreas identified, and attempts to
avoid an undefined reference to _r_debug in elf/tst-nolink-libc-2 on 32
bit Arm.
Tested on powerpc64le-linux-gnu and x86_64-linux-gnu.
Thanks,
Florian
Florian Weimer (3):
elf: Introduce separate _r_debug_array variable
elf: Introduce _dl_debug_change_state
elf: Restore support for _r_debug interpositions and copy relocations
elf/Makefile | 9 +++
elf/dl-close.c | 6 +-
elf/dl-debug-symbols.S | 1 +
elf/dl-debug.c | 144 ++++++++++++++++++++++++++-----------
elf/dl-load.c | 3 +-
elf/dl-open.c | 5 +-
elf/rtld.c | 9 +--
elf/tst-dlmopen4-nonpic.c | 2 +
elf/tst-dlmopen4-pic.c | 2 +
elf/tst-dlmopen4.c | 22 ++++++
include/link.h | 2 +
sysdeps/generic/ldsodefs.h | 20 ++++--
12 files changed, 167 insertions(+), 58 deletions(-)
create mode 100644 elf/tst-dlmopen4-nonpic.c
create mode 100644 elf/tst-dlmopen4-pic.c
base-commit: 4900f993c8119b8482ba9ba0387418b7e05c5c02
--
2.50.0
More information about the Libc-alpha
mailing list