diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-09-20 15:50:00 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-09-20 15:50:02 +0200 |
commit | 7e84ac3a3ac9e7c4dc10de2ce65db971b9650e4d (patch) | |
tree | e18bf228670a5f635632735aac611e9535bf4506 /elf | |
parent | 95dba35bf05e4a5d69dfae5e9c9d4df3646a7f93 (diff) | |
download | glibc-7e84ac3a3ac9e7c4dc10de2ce65db971b9650e4d.tar glibc-7e84ac3a3ac9e7c4dc10de2ce65db971b9650e4d.tar.gz glibc-7e84ac3a3ac9e7c4dc10de2ce65db971b9650e4d.tar.bz2 glibc-7e84ac3a3ac9e7c4dc10de2ce65db971b9650e4d.zip |
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>
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-debug-symbols.S | 4 |
1 files changed, 4 insertions, 0 deletions
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. */ |