diff options
author | caiyinyu <caiyinyu@loongson.cn> | 2023-03-20 09:25:36 +0800 |
---|---|---|
committer | caiyinyu <caiyinyu@loongson.cn> | 2023-06-13 10:27:45 +0800 |
commit | eaa5b1cce87d34c945955360b1e519c6994308a1 (patch) | |
tree | 53cbf79fe0dd17c9045108776c029e675e1fd3ba /sysdeps/loongarch/Makefile | |
parent | 94384bdf3955e59f508a6d927065fe0aa824d82b (diff) | |
download | glibc-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/Makefile | 4 |
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) |