about summary refs log tree commit diff
path: root/sysdeps/loongarch/Makefile
diff options
context:
space:
mode:
authorcaiyinyu <caiyinyu@loongson.cn>2023-03-20 09:25:36 +0800
committercaiyinyu <caiyinyu@loongson.cn>2023-06-13 10:27:45 +0800
commiteaa5b1cce87d34c945955360b1e519c6994308a1 (patch)
tree53cbf79fe0dd17c9045108776c029e675e1fd3ba /sysdeps/loongarch/Makefile
parent94384bdf3955e59f508a6d927065fe0aa824d82b (diff)
downloadglibc-eaa5b1cce87d34c945955360b1e519c6994308a1.tar.gz
glibc-eaa5b1cce87d34c945955360b1e519c6994308a1.tar.xz
glibc-eaa5b1cce87d34c945955360b1e519c6994308a1.zip
LoongArch: Add support for dl_runtime_profile
This commit can fix the FAIL item: elf/tst-sprof-basic.
Diffstat (limited to 'sysdeps/loongarch/Makefile')
-rw-r--r--sysdeps/loongarch/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/loongarch/Makefile b/sysdeps/loongarch/Makefile
index 1778fd1c88..43d2f583cd 100644
--- a/sysdeps/loongarch/Makefile
+++ b/sysdeps/loongarch/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
+
 # LoongArch's assembler also needs to know about PIC as it changes the
 # definition of some assembler macros.
 ASFLAGS-.os += $(pic-ccflag)