aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2024-06-22 18:06:47 +0800
committerliuzhensong <liuzhensong@loongson.cn>2024-07-01 10:12:59 +0800
commitd8eca1671571ce6adf5dbcad649dbdfa56a07614 (patch)
tree53c997d0ac64af6ba02258c14abdfb1a9f6a7334 /ld
parent79674bfc369e793b0b53cc0dc09a3fcfdbdf158a (diff)
downloadgdb-d8eca1671571ce6adf5dbcad649dbdfa56a07614.zip
gdb-d8eca1671571ce6adf5dbcad649dbdfa56a07614.tar.gz
gdb-d8eca1671571ce6adf5dbcad649dbdfa56a07614.tar.bz2
LoongArch: Remove unused code in ld test suite
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>
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ld-loongarch-elf/anno-sym.d2
-rw-r--r--ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp7
2 files changed, 0 insertions, 9 deletions
diff --git a/ld/testsuite/ld-loongarch-elf/anno-sym.d b/ld/testsuite/ld-loongarch-elf/anno-sym.d
index a58f4a6..6d2149f 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 d833a89..2d67c4f 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"