From 7e84ac3a3ac9e7c4dc10de2ce65db971b9650e4d Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 20 Sep 2021 15:50:00 +0200 Subject: [PATCH] elf: Include in elf/dl-debug-symbols.S This is necessary to generate assembler marker sections on some targets. Reviewed-by: Szabolcs Nagy --- 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 @@ . */ #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. */