MIPS/GAS/testsuite: Convert branch local list tests to dump tests

gas/
	* testsuite/gas/mips/branch-local-2.d: New test.
	* testsuite/gas/mips/branch-local-3.d: New test.
	* testsuite/gas/mips/branch-local-n32-2.d: New test.
	* testsuite/gas/mips/branch-local-n32-3.d: New test.
	* testsuite/gas/mips/branch-local-n64-2.d: New test.
	* testsuite/gas/mips/branch-local-n64-3.d: New test.
	* testsuite/gas/mips/mips.exp: Fold corresponding list tests
	into the new tests.
This commit is contained in:
Maciej W. Rozycki 2017-01-30 17:10:31 +00:00
parent 17e9c56297
commit 7795a8f8bd
8 changed files with 35 additions and 12 deletions

View File

@ -1,3 +1,14 @@
2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
* testsuite/gas/mips/branch-local-2.d: New test.
* testsuite/gas/mips/branch-local-3.d: New test.
* testsuite/gas/mips/branch-local-n32-2.d: New test.
* testsuite/gas/mips/branch-local-n32-3.d: New test.
* testsuite/gas/mips/branch-local-n64-2.d: New test.
* testsuite/gas/mips/branch-local-n64-3.d: New test.
* testsuite/gas/mips/mips.exp: Fold corresponding list tests
into the new tests.
2017-01-27 Alexis Deruell <alexis.deruelle@gmail.com>
PR 21056

View File

@ -0,0 +1,3 @@
#name: MIPS branch local symbol relocation 2
#as: -32
#error-output: branch-local-2.l

View File

@ -0,0 +1,3 @@
#name: MIPS branch local symbol relocation 3
#as: -32
#error-output: branch-local-3.l

View File

@ -0,0 +1,3 @@
#name: MIPS branch local symbol relocation 2 (n32)
#as: -n32 -march=from-abi
#error-output: branch-local-n32-2.l

View File

@ -0,0 +1,3 @@
#name: MIPS branch local symbol relocation 3 (n32)
#as: -n32 -march=from-abi
#error-output: branch-local-n32-3.l

View File

@ -0,0 +1,3 @@
#name: MIPS branch local symbol relocation 2 (n64)
#as: -64 -march=from-abi
#error-output: branch-local-n64-2.l

View File

@ -0,0 +1,3 @@
#name: MIPS branch local symbol relocation 3 (n64)
#as: -64 -march=from-abi
#error-output: branch-local-n64-3.l

View File

@ -625,23 +625,17 @@ if { [istarget mips*-*-vxworks*] } {
run_dump_test "branch-weak-6"
run_dump_test "branch-weak-7"
run_dump_test "branch-local-1"
run_list_test "branch-local-2" "-32" \
"MIPS branch local symbol relocation 2"
run_list_test "branch-local-3" "-32" \
"MIPS branch local symbol relocation 3"
run_dump_test "branch-local-2"
run_dump_test "branch-local-3"
run_dump_test "branch-local-4"
if $has_newabi {
run_dump_test "branch-local-n32-1"
run_list_test "branch-local-n32-2" "-n32 -march=from-abi" \
"MIPS branch local symbol relocation 2 (n32)"
run_list_test "branch-local-n32-3" "-n32 -march=from-abi" \
"MIPS branch local symbol relocation 3 (n32)"
run_dump_test "branch-local-n32-2"
run_dump_test "branch-local-n32-3"
run_dump_test "branch-local-n32-4"
run_dump_test "branch-local-n64-1"
run_list_test "branch-local-n64-2" "-64 -march=from-abi" \
"MIPS branch local symbol relocation 2 (n64)"
run_list_test "branch-local-n64-3" "-64 -march=from-abi" \
"MIPS branch local symbol relocation 3 (n64)"
run_dump_test "branch-local-n64-2"
run_dump_test "branch-local-n64-3"
run_dump_test "branch-local-n64-4"
}
run_dump_test "branch-addend"