LoongArch: Remove unused code in ld test suite

Message ID 20240622100646.10279-2-xry111@xry111.site
State New
Headers
Series LoongArch: Remove unused code in ld test suite |

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

Xi Ruoyao June 22, 2024, 10:06 a.m. UTC
  These seems some left over from MIPS code and they do not make any
sense for LoongArch.

Signed-off-by: Xi Ruoyao <xry111@xry111.site>
---
 ld/testsuite/ld-loongarch-elf/anno-sym.d           | 2 --
 ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp | 7 -------
 2 files changed, 9 deletions(-)
  

Patch

diff --git a/ld/testsuite/ld-loongarch-elf/anno-sym.d b/ld/testsuite/ld-loongarch-elf/anno-sym.d
index a58f4a6c25a..6d2149f0766 100644
--- a/ld/testsuite/ld-loongarch-elf/anno-sym.d
+++ b/ld/testsuite/ld-loongarch-elf/anno-sym.d
@@ -3,5 +3,3 @@ 
 #as: -mno-relax
 #ld:  -e _start
 #error_output: anno-sym.l
-# The mips-irix6 target fails this test because it does not find any function symbols.  Not sure why.
-#skip: *-*-irix*
diff --git a/ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp b/ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp
index 4791d272115..4606ede9fc0 100644
--- a/ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp
+++ b/ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp
@@ -19,13 +19,6 @@ 
 # MA 02110-1301, USA.
 #
 
-proc loongarch_choose_lp64_emul {} {
-    if { [istarget "loongarch64be-*"] } {
-	return "elf64bloongarch"
-    }
-    return "elf64lloongarch"
-}
-
 if [istarget "loongarch64-*-*"] {
     run_dump_test "jmp_op"
     run_dump_test "macro_op"