LoongArch: Remove local hidden symbols testscase

Message ID 20260525083249.11857-1-zhaozhou@loongson.cn
State New
Headers
Series LoongArch: Remove local hidden symbols testscase |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 success Test passed
linaro-tcwg-bot/tcwg_binutils_check--master-arm success Test passed

Commit Message

zhaozhou May 25, 2026, 8:32 a.m. UTC
  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(-)
  

Patch

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