public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] elf: Include <sysdep.h> in elf/dl-debug-symbols.S
@ 2021-09-20 13:50 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2021-09-20 13:50 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7e84ac3a3ac9e7c4dc10de2ce65db971b9650e4d

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:
---
 elf/dl-debug-symbols.S | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/elf/dl-debug-symbols.S b/elf/dl-debug-symbols.S
index b7e9f5d947..28456ab1f2 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.  */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-20 13:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-20 13:50 [glibc] elf: Include <sysdep.h> in elf/dl-debug-symbols.S Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).