[binutils-gdb] LoongArch: Remove local hidden symbols testscase
liu zhensong via Binutils-cvs <[email protected]>
| Newsgroups | gmane.comp.gnu.binutils.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=48997323b0f929d3255a4845f8a3800c6c00a53a commit 48997323b0f929d3255a4845f8a3800c6c00a53a Author: zhaozhou <[email protected]> Date: Mon May 25 16:32:49 2026 +0800 LoongArch: Remove local hidden symbols testscase 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. Diff: --- 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