[PATCH] LoongArch: Remove local hidden symbols testscase
zhaozhou
zhaozhou@loongson.cn
Mon May 25 08:32:49 GMT 2026
Remove the local symbol ldh definitions with hidden visibility from the
relax-call36-*.s tests. The hidden visibility is meaningless for local
defined symbols and makes the test cases error.
---
ld/testsuite/ld-loongarch-elf/relax-call36-exe.s | 4 ----
ld/testsuite/ld-loongarch-elf/relax-call36-so.s | 4 ----
2 files changed, 8 deletions(-)
diff --git a/ld/testsuite/ld-loongarch-elf/relax-call36-exe.s b/ld/testsuite/ld-loongarch-elf/relax-call36-exe.s
index 26cff4df5ed..1c025d8ba5f 100644
--- a/ld/testsuite/ld-loongarch-elf/relax-call36-exe.s
+++ b/ld/testsuite/ld-loongarch-elf/relax-call36-exe.s
@@ -1,10 +1,6 @@
ldd: # local define default
call36 ldd # ldd
-ldh: # local define hidden
-.hidden ldh
-call36 ldh # ldh
-
gdd:
.global gdd # global define default
call36 gdd # gdd@plt
diff --git a/ld/testsuite/ld-loongarch-elf/relax-call36-so.s b/ld/testsuite/ld-loongarch-elf/relax-call36-so.s
index 050273b020e..6738ea88a61 100644
--- a/ld/testsuite/ld-loongarch-elf/relax-call36-so.s
+++ b/ld/testsuite/ld-loongarch-elf/relax-call36-so.s
@@ -1,10 +1,6 @@
ldd: # local define default
call36 ldd # ldd
-ldh: # local define hidden
-.hidden ldh
-call36 ldh # ldh
-
gdd:
.global gdd # global define default
call36 gdd # gdd@plt
--
2.20.1
More information about the Binutils
mailing list