- Backport: Extend struct r_debug to support multiple namespaces [BZ #15971] - Backport: elf: Include <sysdep.h> in elf/dl-debug-symbols.S - Backport: Minor: don't call _dl_debug_update (which can have side effects) inside assert - Backport: elf: Run constructors on cyclic recursive dlopen (bug 31986) - Backport: elf: Signal LA_ACT_CONSISTENT to auditors after RT_CONSISTENT switch - Backport: elf: Signal RT_CONSISTENT after relocation processing in dlopen (bug 31986) - Backport: Revert "elf: Run constructors on cyclic recursive dlopen (bug 31986)" - Backport: elf: Test dlopen (NULL, RTLD_LAZY) from an ELF constructor - Backport: elf: Fix map_complete Systemtap probe in dl_open_worker - Backport: elf: Introduce separate _r_debug_array variable - Add downstream patch to keep the ABI stable Resolves: RHEL-47403
27 lines
821 B
Diff
27 lines
821 B
Diff
commit 7e84ac3a3ac9e7c4dc10de2ce65db971b9650e4d
|
|
Author: Florian Weimer <fweimer@redhat.com>
|
|
Date: Mon Sep 20 15:50:00 2021 +0200
|
|
|
|
elf: Include <sysdep.h> in elf/dl-debug-symbols.S
|
|
|
|
This is necessary to generate assembler marker sections on some
|
|
targets.
|
|
|
|
Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
|
diff --git a/elf/dl-debug-symbols.S b/elf/dl-debug-symbols.S
|
|
index b7e9f5d9470c4da2..28456ab1f237ea87 100644
|
|
--- a/elf/dl-debug-symbols.S
|
|
+++ b/elf/dl-debug-symbols.S
|
|
@@ -18,6 +18,10 @@
|
|
<https://www.gnu.org/licenses/>. */
|
|
|
|
#include <rtld-sizes.h>
|
|
+#include <sysdep.h>
|
|
+
|
|
+/* Some targets define a macro to denote the zero register. */
|
|
+#undef zero
|
|
|
|
/* Define 2 symbols, _r_debug_extended and _r_debug, which is an alias
|
|
of _r_debug_extended, but with the size of struct r_debug. */
|