[PATCH v6 0/3] elf: Restore support for _r_debug interpositions and copy relocations
Florian Weimer
fweimer@redhat.com
Thu Jul 3 12:14:46 GMT 2025
This is a rebase of v5. There were many conflicts in
_dl_debug_change_state because of ongoing upstream development.
H.J., could you have a look at this, given that you worked on the
original extensible _r_debug patch?
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.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 ++++++
sysdeps/generic/ldsodefs.h | 20 ++++--
10 files changed, 164 insertions(+), 58 deletions(-)
create mode 100644 elf/tst-dlmopen4-nonpic.c
create mode 100644 elf/tst-dlmopen4-pic.c
base-commit: 632d895f3e5d98162f77b9c3c1da4ec19968b671
--
2.50.0
More information about the Libc-alpha
mailing list