From: Florian Weimer Date: Mon, 20 Sep 2021 13:50:00 +0000 (+0200) Subject: elf: Include in elf/dl-debug-symbols.S X-Git-Tag: glibc-2.35~507 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7e84ac3a3ac9e7c4dc10de2ce65db971b9650e4d;p=thirdparty%2Fglibc.git elf: Include in elf/dl-debug-symbols.S This is necessary to generate assembler marker sections on some targets. Reviewed-by: Szabolcs Nagy --- diff --git a/elf/dl-debug-symbols.S b/elf/dl-debug-symbols.S index b7e9f5d9470..28456ab1f23 100644 --- a/elf/dl-debug-symbols.S +++ b/elf/dl-debug-symbols.S @@ -18,6 +18,10 @@ . */ #include +#include + +/* 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. */