From: Xi Ruoyao Date: Sat, 22 Jun 2024 10:06:47 +0000 (+0800) Subject: LoongArch: Remove unused code in ld test suite X-Git-Tag: binutils-2_43~232 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d8eca1671571ce6adf5dbcad649dbdfa56a07614;p=thirdparty%2Fbinutils-gdb.git 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 --- 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 d833a89246e..2d67c4f2668 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"