From 070b9a5e5d1a0864a8e9971cefd4b0e73637e783 Mon Sep 17 00:00:00 2001
From: mengqinggang <mengqinggang@loongson.cn>
Date: Tue, 27 Feb 2024 15:12:14 +0800
Subject: [PATCH 061/123] LoongArch: Run overflow testcases only on LoongArch
 target

---
 .../ld-loongarch-elf/ld-loongarch-elf.exp     | 27 ++++++++++---------
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp b/ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp
index b3029e53..7dca8218 100644
--- a/ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp
+++ b/ld/testsuite/ld-loongarch-elf/ld-loongarch-elf.exp
@@ -133,18 +133,19 @@ if [istarget "loongarch64-*-*"] {
     run_dump_test "desc-norelax"
     run_dump_test "desc-relax"
   }
+
+  run_dump_test "max_imm_b16"
+  run_dump_test "max_imm_b21"
+  run_dump_test "max_imm_b26"
+  run_dump_test "max_imm_pcrel20"
+  run_dump_test "overflow_b16"
+  run_dump_test "overflow_b21"
+  run_dump_test "overflow_b26"
+  run_dump_test "overflow_pcrel20"
+  run_dump_test "underflow_b16"
+  run_dump_test "underflow_b21"
+  run_dump_test "underflow_b26"
+  run_dump_test "underflow_pcrel20"
+  run_dump_test "pie_discard"
 }
 
-run_dump_test "max_imm_b16"
-run_dump_test "max_imm_b21"
-run_dump_test "max_imm_b26"
-run_dump_test "max_imm_pcrel20"
-run_dump_test "overflow_b16"
-run_dump_test "overflow_b21"
-run_dump_test "overflow_b26"
-run_dump_test "overflow_pcrel20"
-run_dump_test "underflow_b16"
-run_dump_test "underflow_b21"
-run_dump_test "underflow_b26"
-run_dump_test "underflow_pcrel20"
-run_dump_test "pie_discard"
-- 
2.33.0

