[v3,0/3] Restore support for _r_debug copy relocations & interposition

Message ID cover.1667826585.git.fweimer@redhat.com
Headers
Series Restore support for _r_debug copy relocations & interposition |

Message

Florian Weimer Nov. 7, 2022, 1:10 p.m. UTC
  This is a rebase on current master, addressing a conflict in
elf/dl-open.c

Tested on i686-linux-gnu and x86_64-linux-gnu.  Built with
build-many-glibcs.py.

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              |   6 +-
 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, 165 insertions(+), 60 deletions(-)
 create mode 100644 elf/tst-dlmopen4-nonpic.c
 create mode 100644 elf/tst-dlmopen4-pic.c


base-commit: 9cc9d61ee12f2f8620d8e0ea3c42af02bf07fe1e