This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] MIPS/GAS/testsuite: Deduplicate error lists of branch local tests
- From: "Maciej W. Rozycki" <macro at imgtec dot com>
- To: <binutils at sourceware dot org>
- Date: Wed, 30 Aug 2017 12:22:08 +0100
- Subject: [committed] MIPS/GAS/testsuite: Deduplicate error lists of branch local tests
- Authentication-results: sourceware.org; auth=none
Complement commit 7795a8f8bdde ("MIPS/GAS/testsuite: Convert branch
local list tests to dump tests") and share identical error lists among
branch local tests, removing duplicate copies.
gas/
* testsuite/gas/mips/branch-local-n32-2.d: Use `branch-local-2.l'
for `error-output'.
* testsuite/gas/mips/branch-local-n64-2.d: Likewise.
* testsuite/gas/mips/branch-local-n32-3.d: Use `branch-local-3.l'
for `error-output'.
* testsuite/gas/mips/branch-local-n64-3.d: Likewise.
* testsuite/gas/mips/branch-local-n32-2.l: Remove file.
* testsuite/gas/mips/branch-local-n64-2.l: Remove file.
* testsuite/gas/mips/branch-local-n32-3.l: Remove file.
* testsuite/gas/mips/branch-local-n64-3.l: Remove file.
---
gas/testsuite/gas/mips/branch-local-n32-2.d | 2 +-
gas/testsuite/gas/mips/branch-local-n32-2.l | 5 -----
gas/testsuite/gas/mips/branch-local-n32-3.d | 2 +-
gas/testsuite/gas/mips/branch-local-n32-3.l | 3 ---
gas/testsuite/gas/mips/branch-local-n64-2.d | 2 +-
gas/testsuite/gas/mips/branch-local-n64-2.l | 5 -----
gas/testsuite/gas/mips/branch-local-n64-3.d | 2 +-
gas/testsuite/gas/mips/branch-local-n64-3.l | 3 ---
8 files changed, 4 insertions(+), 20 deletions(-)
binutils-mips-gas-branch-local-list-dup.diff
Index: binutils/gas/testsuite/gas/mips/branch-local-n32-2.d
===================================================================
--- binutils.orig/gas/testsuite/gas/mips/branch-local-n32-2.d 2017-07-31 09:19:11.000000000 +0100
+++ binutils/gas/testsuite/gas/mips/branch-local-n32-2.d 2017-08-25 00:37:47.016353623 +0100
@@ -1,3 +1,3 @@
#name: MIPS branch local symbol relocation 2 (n32)
#as: -n32 -march=from-abi
-#error-output: branch-local-n32-2.l
+#error-output: branch-local-2.l
Index: binutils/gas/testsuite/gas/mips/branch-local-n32-2.l
===================================================================
--- binutils.orig/gas/testsuite/gas/mips/branch-local-n32-2.l 2017-07-30 19:43:56.000000000 +0100
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,5 +0,0 @@
-.*: Assembler messages:
-.*:19: Error: branch to a symbol in another ISA mode
-.*:21: Error: branch to a symbol in another ISA mode
-.*:23: Error: branch to a symbol in another ISA mode
-.*:25: Error: branch to a symbol in another ISA mode
Index: binutils/gas/testsuite/gas/mips/branch-local-n32-3.d
===================================================================
--- binutils.orig/gas/testsuite/gas/mips/branch-local-n32-3.d 2017-07-31 09:19:11.000000000 +0100
+++ binutils/gas/testsuite/gas/mips/branch-local-n32-3.d 2017-08-25 00:37:55.491208259 +0100
@@ -1,3 +1,3 @@
#name: MIPS branch local symbol relocation 3 (n32)
#as: -n32 -march=from-abi
-#error-output: branch-local-n32-3.l
+#error-output: branch-local-3.l
Index: binutils/gas/testsuite/gas/mips/branch-local-n32-3.l
===================================================================
--- binutils.orig/gas/testsuite/gas/mips/branch-local-n32-3.l 2017-07-30 19:43:56.000000000 +0100
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-.*: Assembler messages:
-.*:20: Error: branch to a symbol in another ISA mode
-.*:22: Error: branch to a symbol in another ISA mode
Index: binutils/gas/testsuite/gas/mips/branch-local-n64-2.d
===================================================================
--- binutils.orig/gas/testsuite/gas/mips/branch-local-n64-2.d 2017-07-31 09:19:11.000000000 +0100
+++ binutils/gas/testsuite/gas/mips/branch-local-n64-2.d 2017-08-25 00:38:00.806845290 +0100
@@ -1,3 +1,3 @@
#name: MIPS branch local symbol relocation 2 (n64)
#as: -64 -march=from-abi
-#error-output: branch-local-n64-2.l
+#error-output: branch-local-2.l
Index: binutils/gas/testsuite/gas/mips/branch-local-n64-2.l
===================================================================
--- binutils.orig/gas/testsuite/gas/mips/branch-local-n64-2.l 2017-07-30 19:43:56.000000000 +0100
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,5 +0,0 @@
-.*: Assembler messages:
-.*:19: Error: branch to a symbol in another ISA mode
-.*:21: Error: branch to a symbol in another ISA mode
-.*:23: Error: branch to a symbol in another ISA mode
-.*:25: Error: branch to a symbol in another ISA mode
Index: binutils/gas/testsuite/gas/mips/branch-local-n64-3.d
===================================================================
--- binutils.orig/gas/testsuite/gas/mips/branch-local-n64-3.d 2017-07-31 09:19:11.000000000 +0100
+++ binutils/gas/testsuite/gas/mips/branch-local-n64-3.d 2017-08-25 00:38:06.359726924 +0100
@@ -1,3 +1,3 @@
#name: MIPS branch local symbol relocation 3 (n64)
#as: -64 -march=from-abi
-#error-output: branch-local-n64-3.l
+#error-output: branch-local-3.l
Index: binutils/gas/testsuite/gas/mips/branch-local-n64-3.l
===================================================================
--- binutils.orig/gas/testsuite/gas/mips/branch-local-n64-3.l 2017-07-30 19:43:56.000000000 +0100
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,3 +0,0 @@
-.*: Assembler messages:
-.*:20: Error: branch to a symbol in another ISA mode
-.*:22: Error: branch to a symbol in another ISA mode