about summary refs log tree commit diff
path: root/sysdeps/riscv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/riscv/Makefile')
-rw-r--r--sysdeps/riscv/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/riscv/Makefile b/sysdeps/riscv/Makefile
index 8fb10b164f..c08753ae8a 100644
--- a/sysdeps/riscv/Makefile
+++ b/sysdeps/riscv/Makefile
@@ -2,6 +2,10 @@ ifeq ($(subdir),misc)
 sysdep_headers += sys/asm.h
 endif
 
+ifeq ($(subdir),elf)
+gen-as-const-headers += dl-link.sym
+endif
+
 # RISC-V's assembler also needs to know about PIC as it changes the definition
 # of some assembler macros.
 ASFLAGS-.os += $(pic-ccflag)