binutils-gdb/ld/testsuite/ld-loongarch-elf/protected-func.d
Xi Ruoyao 17cae6980b LoongArch: Make protected function symbols local for -shared
On LoongArch there is no reason to treat STV_PROTECTED STT_FUNC symbols
as preemptible.  See the comment above LARCH_REF_LOCAL for detailed
explanation.

Signed-off-by: Xi Ruoyao <xry111@xry111.site>
2024-07-05 12:11:11 +08:00

6 lines
79 B
Makefile

#ld: -shared
#readelf: -Wr
#...
.* R_LARCH_RELATIVE .*
.* R_LARCH_RELATIVE .*