From 9e1373d5034d8a77f20000e889c967ca8b7c6563 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Thu, 1 Sep 2005 00:33:11 +0000 Subject: [PATCH] * gas/cris: Adjust all files for testing target cris-axis-linux-gnu. --- gas/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/cris/brokw-3.d | 1 + gas/testsuite/gas/cris/rd-abs32-2.d | 2 +- gas/testsuite/gas/cris/rd-arch-1.d | 2 +- gas/testsuite/gas/cris/rd-arch-2.d | 2 +- gas/testsuite/gas/cris/rd-arch-3.d | 2 +- gas/testsuite/gas/cris/rd-bkw1b.d | 2 +- gas/testsuite/gas/cris/rd-bkw2b.d | 2 +- gas/testsuite/gas/cris/rd-bkw3b.d | 2 +- gas/testsuite/gas/cris/rd-bound1.d | 2 +- gas/testsuite/gas/cris/rd-bound2.d | 2 +- gas/testsuite/gas/cris/rd-bound3.d | 2 +- gas/testsuite/gas/cris/rd-bound4.d | 2 +- gas/testsuite/gas/cris/rd-pic-2.d | 2 +- gas/testsuite/gas/cris/rd-ppv1032.d | 3 +-- gas/testsuite/gas/cris/rd-ppv32.d | 3 +-- gas/testsuite/gas/cris/rd-spr-1.d | 2 +- gas/testsuite/gas/cris/rd-usp-1.d | 2 +- gas/testsuite/gas/cris/rd-usp-1b.d | 2 +- gas/testsuite/gas/cris/rd-v10_32o-1.d | 2 +- gas/testsuite/gas/cris/rd-v10_32o-2.d | 2 +- gas/testsuite/gas/cris/rd-v32-b1.d | 2 +- gas/testsuite/gas/cris/rd-v32-b2.d | 2 +- gas/testsuite/gas/cris/rd-v32-b3.d | 2 +- gas/testsuite/gas/cris/rd-v32-f1.d | 2 +- gas/testsuite/gas/cris/rd-v32-i1.d | 2 +- gas/testsuite/gas/cris/rd-v32-l1.d | 2 +- gas/testsuite/gas/cris/rd-v32-l3.d | 2 +- gas/testsuite/gas/cris/rd-v32-l4.d | 2 +- gas/testsuite/gas/cris/rd-v32o-1.d | 2 +- gas/testsuite/gas/cris/rd-v32s-1.d | 2 +- gas/testsuite/gas/cris/rd-v32s-2.d | 2 +- gas/testsuite/gas/cris/rd-v32s-3.d | 2 +- gas/testsuite/gas/cris/rd-v32s-4.d | 2 +- gas/testsuite/gas/cris/rd-vao-1.d | 2 +- gas/testsuite/gas/cris/v32-err-2.s | 2 +- gas/testsuite/gas/cris/v32-err-3.s | 2 +- 37 files changed, 41 insertions(+), 37 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 8769953e513..814571e5307 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-09-01 Hans-Peter Nilsson + + * gas/cris: Adjust all files for testing target + cris-axis-linux-gnu. + 2005-08-30 Paul Brook * gas/arm/thumb.d: Change "sub rn, rn, rn" to "subs rn, rn, rn". diff --git a/gas/testsuite/gas/cris/brokw-3.d b/gas/testsuite/gas/cris/brokw-3.d index bbf04832f59..139e3a5d191 100644 --- a/gas/testsuite/gas/cris/brokw-3.d +++ b/gas/testsuite/gas/cris/brokw-3.d @@ -1,4 +1,5 @@ #objdump: -dr +#as: --underscore #name: brokw-3 .*: file format .*-cris diff --git a/gas/testsuite/gas/cris/rd-abs32-2.d b/gas/testsuite/gas/cris/rd-abs32-2.d index d13c8a8c5d7..20fc30205ae 100644 --- a/gas/testsuite/gas/cris/rd-abs32-2.d +++ b/gas/testsuite/gas/cris/rd-abs32-2.d @@ -6,7 +6,7 @@ # assemble and disassemble correctly for v32 given "old-style" # mnemonics. -.*: file format elf32-us-cris +.*: file format elf32.*-cris Disassembly of section \.text: diff --git a/gas/testsuite/gas/cris/rd-arch-1.d b/gas/testsuite/gas/cris/rd-arch-1.d index 52f19c80a84..12c6c6ee7a5 100644 --- a/gas/testsuite/gas/cris/rd-arch-1.d +++ b/gas/testsuite/gas/cris/rd-arch-1.d @@ -1,5 +1,5 @@ #source: arch-err-2.s -#as: --march=v32 --em=criself +#as: --march=v32 --underscore --em=criself #objdump: -p #... diff --git a/gas/testsuite/gas/cris/rd-arch-2.d b/gas/testsuite/gas/cris/rd-arch-2.d index 6f7d069dec6..69e5b6fb541 100644 --- a/gas/testsuite/gas/cris/rd-arch-2.d +++ b/gas/testsuite/gas/cris/rd-arch-2.d @@ -1,5 +1,5 @@ #source: arch-err-4.s -#as: --march=common_v10_v32 --em=criself +#as: --underscore --march=common_v10_v32 --em=criself #objdump: -p #... diff --git a/gas/testsuite/gas/cris/rd-arch-3.d b/gas/testsuite/gas/cris/rd-arch-3.d index 9039e8d9dd3..022c1f01cc1 100644 --- a/gas/testsuite/gas/cris/rd-arch-3.d +++ b/gas/testsuite/gas/cris/rd-arch-3.d @@ -1,5 +1,5 @@ #source: arch-err-5.s -#as: --march=v0_v10 --em=criself +#as: --march=v0_v10 --underscore --em=criself #objdump: -p #... diff --git a/gas/testsuite/gas/cris/rd-bkw1b.d b/gas/testsuite/gas/cris/rd-bkw1b.d index 7d4978fd3e3..19e9d71b299 100644 --- a/gas/testsuite/gas/cris/rd-bkw1b.d +++ b/gas/testsuite/gas/cris/rd-bkw1b.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #source: brokw-1.s #objdump: -dr diff --git a/gas/testsuite/gas/cris/rd-bkw2b.d b/gas/testsuite/gas/cris/rd-bkw2b.d index 15c727dc431..1d268b3a44c 100644 --- a/gas/testsuite/gas/cris/rd-bkw2b.d +++ b/gas/testsuite/gas/cris/rd-bkw2b.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #source: brokw-2.s #objdump: -dr diff --git a/gas/testsuite/gas/cris/rd-bkw3b.d b/gas/testsuite/gas/cris/rd-bkw3b.d index 8e3ac4e25aa..4a7cca9bb2e 100644 --- a/gas/testsuite/gas/cris/rd-bkw3b.d +++ b/gas/testsuite/gas/cris/rd-bkw3b.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #source: brokw-3b.s #objdump: -dr diff --git a/gas/testsuite/gas/cris/rd-bound1.d b/gas/testsuite/gas/cris/rd-bound1.d index 44d5f7ca5cc..40bfd34b8c3 100644 --- a/gas/testsuite/gas/cris/rd-bound1.d +++ b/gas/testsuite/gas/cris/rd-bound1.d @@ -1,4 +1,4 @@ -#as: --em=criself +#as: --underscore --em=criself #objdump: -dr .*: file format elf32-us-cris Disassembly of section \.text: diff --git a/gas/testsuite/gas/cris/rd-bound2.d b/gas/testsuite/gas/cris/rd-bound2.d index d249e6d11a4..e0aec151f7c 100644 --- a/gas/testsuite/gas/cris/rd-bound2.d +++ b/gas/testsuite/gas/cris/rd-bound2.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #source: rd-bound1.s #objdump: -dr diff --git a/gas/testsuite/gas/cris/rd-bound3.d b/gas/testsuite/gas/cris/rd-bound3.d index d467e59f624..874c29016e8 100644 --- a/gas/testsuite/gas/cris/rd-bound3.d +++ b/gas/testsuite/gas/cris/rd-bound3.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=v10 +#as: --underscore --em=criself --march=v10 #source: bound-err-1.s #objdump: -dr diff --git a/gas/testsuite/gas/cris/rd-bound4.d b/gas/testsuite/gas/cris/rd-bound4.d index 381a44e6509..1b0670ab268 100644 --- a/gas/testsuite/gas/cris/rd-bound4.d +++ b/gas/testsuite/gas/cris/rd-bound4.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=common_v10_v32 +#as: --underscore --em=criself --march=common_v10_v32 #source: rd-bound1.s #objdump: -dr diff --git a/gas/testsuite/gas/cris/rd-pic-2.d b/gas/testsuite/gas/cris/rd-pic-2.d index a34e35025fe..ce75451cd11 100644 --- a/gas/testsuite/gas/cris/rd-pic-2.d +++ b/gas/testsuite/gas/cris/rd-pic-2.d @@ -1,5 +1,5 @@ #objdump: -dr -#as: --em=criself --pic +#as: --underscore --em=criself --pic # Check that 16-bit PIC relocs aren't overflowing. # PR gas/1049. diff --git a/gas/testsuite/gas/cris/rd-ppv1032.d b/gas/testsuite/gas/cris/rd-ppv1032.d index 159648f8677..4f64ce1938f 100644 --- a/gas/testsuite/gas/cris/rd-ppv1032.d +++ b/gas/testsuite/gas/cris/rd-ppv1032.d @@ -1,7 +1,6 @@ #source: pushpopv32.s -#as: --march=common_v10_v32 --em=criself +#as: --underscore --march=common_v10_v32 --em=criself #objdump: -dr -#name: pushpopv1032 .*:[ ]+file format .*-cris diff --git a/gas/testsuite/gas/cris/rd-ppv32.d b/gas/testsuite/gas/cris/rd-ppv32.d index e84ff302412..52355ffe228 100644 --- a/gas/testsuite/gas/cris/rd-ppv32.d +++ b/gas/testsuite/gas/cris/rd-ppv32.d @@ -1,7 +1,6 @@ #source: pushpopv32.s -#as: --march=v32 --em=criself +#as: --underscore --march=v32 --em=criself #objdump: -dr -#name: pushpopv32 .*:[ ]+file format .*-cris diff --git a/gas/testsuite/gas/cris/rd-spr-1.d b/gas/testsuite/gas/cris/rd-spr-1.d index 347b0b30bb1..a7f28c70f56 100644 --- a/gas/testsuite/gas/cris/rd-spr-1.d +++ b/gas/testsuite/gas/cris/rd-spr-1.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #objdump: -dr # Check support for support function register names. diff --git a/gas/testsuite/gas/cris/rd-usp-1.d b/gas/testsuite/gas/cris/rd-usp-1.d index 80bf7a9d222..7e1a5db5880 100644 --- a/gas/testsuite/gas/cris/rd-usp-1.d +++ b/gas/testsuite/gas/cris/rd-usp-1.d @@ -1,5 +1,5 @@ #objdump: -dr -#as: --march=v10 +#as: --underscore --march=v10 #source: v32-err-8.s # Check that USP gets the right number for V10. diff --git a/gas/testsuite/gas/cris/rd-usp-1b.d b/gas/testsuite/gas/cris/rd-usp-1b.d index b808f8425b8..40a92fe0541 100644 --- a/gas/testsuite/gas/cris/rd-usp-1b.d +++ b/gas/testsuite/gas/cris/rd-usp-1b.d @@ -1,5 +1,5 @@ #objdump: -dr -#as: --march=v32 --em=criself +#as: --underscore --march=v32 --em=criself #source: v32-err-8.s # Check that USP gets the right number for V32. diff --git a/gas/testsuite/gas/cris/rd-v10_32o-1.d b/gas/testsuite/gas/cris/rd-v10_32o-1.d index d3c8c42622a..d9f43531a6b 100644 --- a/gas/testsuite/gas/cris/rd-v10_32o-1.d +++ b/gas/testsuite/gas/cris/rd-v10_32o-1.d @@ -1,5 +1,5 @@ #source: break.s -#as: --em=criself --march=common_v10_v32 +#as: --underscore --em=criself --march=common_v10_v32 #objdump: -p # Check that different command-line options result in different diff --git a/gas/testsuite/gas/cris/rd-v10_32o-2.d b/gas/testsuite/gas/cris/rd-v10_32o-2.d index d4b51a9c7a1..73c240f13b0 100644 --- a/gas/testsuite/gas/cris/rd-v10_32o-2.d +++ b/gas/testsuite/gas/cris/rd-v10_32o-2.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=common_v10_v32 +#as: --underscore --em=criself --march=common_v10_v32 #objdump: -dr # Check that branch offsets are computed as for v32. The diff --git a/gas/testsuite/gas/cris/rd-v32-b1.d b/gas/testsuite/gas/cris/rd-v32-b1.d index 1b44a874283..52823994de8 100644 --- a/gas/testsuite/gas/cris/rd-v32-b1.d +++ b/gas/testsuite/gas/cris/rd-v32-b1.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #objdump: -dr .*: file format elf32-us-cris diff --git a/gas/testsuite/gas/cris/rd-v32-b2.d b/gas/testsuite/gas/cris/rd-v32-b2.d index 69b8f59c310..9439b9e8591 100644 --- a/gas/testsuite/gas/cris/rd-v32-b2.d +++ b/gas/testsuite/gas/cris/rd-v32-b2.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #objdump: -dr .*: file format elf32-us-cris diff --git a/gas/testsuite/gas/cris/rd-v32-b3.d b/gas/testsuite/gas/cris/rd-v32-b3.d index c8a14aef80a..fee75df97c6 100644 --- a/gas/testsuite/gas/cris/rd-v32-b3.d +++ b/gas/testsuite/gas/cris/rd-v32-b3.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #objdump: -dr # Check expansion of "ba" into dword operands for different segment. diff --git a/gas/testsuite/gas/cris/rd-v32-f1.d b/gas/testsuite/gas/cris/rd-v32-f1.d index e1e225dc25f..d97c38e3b62 100644 --- a/gas/testsuite/gas/cris/rd-v32-f1.d +++ b/gas/testsuite/gas/cris/rd-v32-f1.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #objdump: -dr # Test that v32 flags are properly recognized and emitted at disassembly. diff --git a/gas/testsuite/gas/cris/rd-v32-i1.d b/gas/testsuite/gas/cris/rd-v32-i1.d index 94aaaf3c536..def1e49900f 100644 --- a/gas/testsuite/gas/cris/rd-v32-i1.d +++ b/gas/testsuite/gas/cris/rd-v32-i1.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #objdump: -dr # Test that addc recognizes constant operands. diff --git a/gas/testsuite/gas/cris/rd-v32-l1.d b/gas/testsuite/gas/cris/rd-v32-l1.d index d9997d24aa7..231f0e7ac5e 100644 --- a/gas/testsuite/gas/cris/rd-v32-l1.d +++ b/gas/testsuite/gas/cris/rd-v32-l1.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #objdump: -dr .*: file format elf32-us-cris diff --git a/gas/testsuite/gas/cris/rd-v32-l3.d b/gas/testsuite/gas/cris/rd-v32-l3.d index dfe6cfb39ec..59a8174419b 100644 --- a/gas/testsuite/gas/cris/rd-v32-l3.d +++ b/gas/testsuite/gas/cris/rd-v32-l3.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #objdump: -dr .*: file format elf32-us-cris diff --git a/gas/testsuite/gas/cris/rd-v32-l4.d b/gas/testsuite/gas/cris/rd-v32-l4.d index 8facb8a52aa..4afd3fb9a93 100644 --- a/gas/testsuite/gas/cris/rd-v32-l4.d +++ b/gas/testsuite/gas/cris/rd-v32-l4.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #objdump: -dr # Test that lapc shrinks to lapcq and that offsets are emitted correctly. diff --git a/gas/testsuite/gas/cris/rd-v32o-1.d b/gas/testsuite/gas/cris/rd-v32o-1.d index 874b3dfa27f..24bfcda1170 100644 --- a/gas/testsuite/gas/cris/rd-v32o-1.d +++ b/gas/testsuite/gas/cris/rd-v32o-1.d @@ -1,5 +1,5 @@ #source: abs32-1.s -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #objdump: -p # Check that different command-line options result in different diff --git a/gas/testsuite/gas/cris/rd-v32s-1.d b/gas/testsuite/gas/cris/rd-v32s-1.d index 9b38e1eaaa6..b4f85be8c4d 100644 --- a/gas/testsuite/gas/cris/rd-v32s-1.d +++ b/gas/testsuite/gas/cris/rd-v32s-1.d @@ -1,5 +1,5 @@ #source: v32-err-1.s -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #objdump: -dr # Check that v32 insns that are expected to give syntax errors diff --git a/gas/testsuite/gas/cris/rd-v32s-2.d b/gas/testsuite/gas/cris/rd-v32s-2.d index c6546f1781d..446cadc2915 100644 --- a/gas/testsuite/gas/cris/rd-v32s-2.d +++ b/gas/testsuite/gas/cris/rd-v32s-2.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #objdump: -dr .*: file format elf32-us-cris diff --git a/gas/testsuite/gas/cris/rd-v32s-3.d b/gas/testsuite/gas/cris/rd-v32s-3.d index 8ad5e84e168..27d75aa6dc5 100644 --- a/gas/testsuite/gas/cris/rd-v32s-3.d +++ b/gas/testsuite/gas/cris/rd-v32s-3.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #objdump: -dr .*: file format elf32-us-cris diff --git a/gas/testsuite/gas/cris/rd-v32s-4.d b/gas/testsuite/gas/cris/rd-v32s-4.d index 21bcf31cd60..516dcc8a1c5 100644 --- a/gas/testsuite/gas/cris/rd-v32s-4.d +++ b/gas/testsuite/gas/cris/rd-v32s-4.d @@ -1,4 +1,4 @@ -#as: --em=criself --march=v32 +#as: --underscore --em=criself --march=v32 #objdump: -dr .*: file format elf32-us-cris diff --git a/gas/testsuite/gas/cris/rd-vao-1.d b/gas/testsuite/gas/cris/rd-vao-1.d index 4e9cd939368..14b68bdd0ca 100644 --- a/gas/testsuite/gas/cris/rd-vao-1.d +++ b/gas/testsuite/gas/cris/rd-vao-1.d @@ -1,5 +1,5 @@ #source: abs32-1.s -#as: --em=criself --march=v0_v10 +#as: --underscore --em=criself --march=v0_v10 #objdump: -p # Check that different command-line options result in different diff --git a/gas/testsuite/gas/cris/v32-err-2.s b/gas/testsuite/gas/cris/v32-err-2.s index 4139d359853..0a5a3767f3e 100644 --- a/gas/testsuite/gas/cris/v32-err-2.s +++ b/gas/testsuite/gas/cris/v32-err-2.s @@ -1,5 +1,5 @@ ; { dg-do assemble } -; { dg-options "--march=common_v10_v32 --em=criself" } +; { dg-options " --underscore --march=common_v10_v32 --em=criself" } ; { dg-error ".word offset handling is not implemented" "err for broken .word" { target cris-*-* } 0 } ; Tests that broken words don't crash, just give a message when diff --git a/gas/testsuite/gas/cris/v32-err-3.s b/gas/testsuite/gas/cris/v32-err-3.s index 0cbfda07699..4c2d1ec9846 100644 --- a/gas/testsuite/gas/cris/v32-err-3.s +++ b/gas/testsuite/gas/cris/v32-err-3.s @@ -1,7 +1,7 @@ ; Error for flags not applicable to current arch. ; #1: Error for pre-v32 flags for v32. ; { dg-do assemble } -; { dg-options "--march=v32" } +; { dg-options " --underscore --march=v32" } y: clearf d ; { dg-error "(Illegal|Invalid) operands" } -- 2.30.2