]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
elf: Include <sysdep.h> in elf/dl-debug-symbols.S
authorFlorian Weimer <fweimer@redhat.com>
Mon, 20 Sep 2021 13:50:00 +0000 (15:50 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 20 Sep 2021 13:50:02 +0000 (15:50 +0200)
This is necessary to generate assembler marker sections on some
targets.

Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
elf/dl-debug-symbols.S

index b7e9f5d9470c4da204e4d913071c6ea9ee017d02..28456ab1f237ea875cdf518daedc0021d4a8efda 100644 (file)
    <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.  */