]> git.ipfire.org Git - thirdparty/glibc.git/commit
elf: Compile _dl_debug_state separately (bug 33224)
authorFlorian Weimer <fweimer@redhat.com>
Mon, 28 Jul 2025 12:16:52 +0000 (14:16 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 28 Jul 2025 14:06:54 +0000 (16:06 +0200)
commit620f0730f311635cd0e175a3ae4d0fc700c76366
treebdb9070fefa2585b703d4e6f3589481d4658cdcb
parentc4ff6e666b3d1b56456b3d7ad9cb787ad1264983
elf: Compile _dl_debug_state separately (bug 33224)

This ensures that the compiler will not inline it, so that
debuggers which do not use the Systemtap probes can reliably
set a breakpoint on it.

Reviewed-by: Andreas K. Huettel <dilfridge@gentoo.org>
Tested-by: Andreas K. Huettel <dilfridge@gentoo.org>
elf/Makefile
elf/dl-debug.c
elf/dl-debug_state.c [new file with mode: 0644]