From 49e5c6c59f65cf522025e92f3ace8a136ca47772 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 20 May 2002 17:05:35 +0000 Subject: [PATCH] Replace deprecated command line switches with their modern equivalents. --- gas/testsuite/ChangeLog | 13 +++++++++++++ gas/testsuite/gas/arm/arm.exp | 12 ++++++------ gas/testsuite/gas/arm/arm7t.d | 2 +- gas/testsuite/gas/arm/armv1.d | 2 +- gas/testsuite/gas/arm/fpa-dyadic.d | 2 +- gas/testsuite/gas/arm/fpa-mem.d | 2 +- gas/testsuite/gas/arm/fpa-monadic.d | 2 +- gas/testsuite/gas/arm/inst.d | 2 +- gas/testsuite/gas/arm/ldconst.d | 2 +- gas/testsuite/gas/arm/xscale.d | 2 +- 10 files changed, 27 insertions(+), 14 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index b1eb44e7c22..baa83158855 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,16 @@ +2002-05-20 Nick Clifton + + * gas/arm/arm.exp: Replace deprecated command line switches + with their modern equivalents. + * gas/arm/arm7t.d: As above. + * gas/arm/armv1.d: As above. + * gas/arm/fpa-dyadic.d: As above. + * gas/arm/fpa-mem.d: As above. + * gas/arm/fpa-monadic.d: As above. + * gas/arm/inst.d: As above. + * gas/arm/ldconst.d: As above. + * gas/arm/xscale.d: As above. + 2002-05-13 Alan Modra * gas/i386/x86-64-opcode.s: Pad out end of .text with zeros. diff --git a/gas/testsuite/gas/arm/arm.exp b/gas/testsuite/gas/arm/arm.exp index 0f6d8f0d9dd..3d0647871da 100644 --- a/gas/testsuite/gas/arm/arm.exp +++ b/gas/testsuite/gas/arm/arm.exp @@ -21,19 +21,19 @@ if {[istarget *arm*-*-*] || [istarget "xscale-*-*"]} then { run_dump_test "armv1" - run_errors_test "armv1-bad" "-marm1" "ARM v1 errors" + run_errors_test "armv1-bad" "-mcpu=arm7m" "ARM v1 errors" - gas_test "arm3.s" "-marm3" $stdoptlist "Arm 3 instructions" + gas_test "arm3.s" "-mcpu=arm3" $stdoptlist "Arm 3 instructions" - gas_test "arm6.s" "-marm6" $stdoptlist "Arm 6 instructions" + gas_test "arm6.s" "-mcpu=arm6" $stdoptlist "Arm 6 instructions" - gas_test "arm7dm.s" "-marm7dm" $stdoptlist "Arm 7DM instructions" + gas_test "arm7dm.s" "-mcpu=arm7dm" $stdoptlist "Arm 7DM instructions" run_dump_test "arm7t" - gas_test "thumb.s" "-marm7t" $stdoptlist "Thumb instructions" + gas_test "thumb.s" "-mcpu=arm7t" $stdoptlist "Thumb instructions" - gas_test "arch4t.s" "-marmv4t" $stdoptlist "Arm architecture 4t instructions" + gas_test "arch4t.s" "-march=armv4t" $stdoptlist "Arm architecture 4t instructions" run_dump_test "arch5tej" diff --git a/gas/testsuite/gas/arm/arm7t.d b/gas/testsuite/gas/arm/arm7t.d index 87b388f5e63..857a9b57cf1 100644 --- a/gas/testsuite/gas/arm/arm7t.d +++ b/gas/testsuite/gas/arm/arm7t.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses --show-raw-insn #name: ARM arm7t -#as: -marm7t -EL +#as: -mcpu=arm7t -EL # Test the halfword and signextend memory transfers: diff --git a/gas/testsuite/gas/arm/armv1.d b/gas/testsuite/gas/arm/armv1.d index d4e5fd17dd7..443264079e8 100644 --- a/gas/testsuite/gas/arm/armv1.d +++ b/gas/testsuite/gas/arm/armv1.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses --show-raw-insn #name: ARM v1 instructions -#as: -marm1 +#as: -mcpu=arm7t # Test the ARM v1 instructions diff --git a/gas/testsuite/gas/arm/fpa-dyadic.d b/gas/testsuite/gas/arm/fpa-dyadic.d index 1eebe91da69..f603bbff841 100644 --- a/gas/testsuite/gas/arm/fpa-dyadic.d +++ b/gas/testsuite/gas/arm/fpa-dyadic.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses --show-raw-insn #name: FPA Dyadic instructions -#as: -mfpe-old +#as: -mfpu=fpa -mcpu=arm7m # Test FPA Dyadic instructions # This test should work for both big and little-endian assembly. diff --git a/gas/testsuite/gas/arm/fpa-mem.d b/gas/testsuite/gas/arm/fpa-mem.d index 68f4541f12b..12ee5857084 100644 --- a/gas/testsuite/gas/arm/fpa-mem.d +++ b/gas/testsuite/gas/arm/fpa-mem.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses --show-raw-insn #name: FPA memory insructions -#as: -mfpa10 +#as: -mfpu=fpa10 -mcpu=arm7m # Test FPA memory instructions # This test should work for both big and little-endian assembly. diff --git a/gas/testsuite/gas/arm/fpa-monadic.d b/gas/testsuite/gas/arm/fpa-monadic.d index 9bb1d248f59..a688ee4be68 100644 --- a/gas/testsuite/gas/arm/fpa-monadic.d +++ b/gas/testsuite/gas/arm/fpa-monadic.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses --show-raw-insn #name: FPA Monadic instructions -#as: -mfpe-old +#as: -mfpu=fpa -mcpu=arm7m # Test FPA Monadic instructions # This test should work for both big and little-endian assembly. diff --git a/gas/testsuite/gas/arm/inst.d b/gas/testsuite/gas/arm/inst.d index 1281e9caaed..1495d8978b6 100644 --- a/gas/testsuite/gas/arm/inst.d +++ b/gas/testsuite/gas/arm/inst.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses --show-raw-insn #name: ARM basic instructions -#as: -marm2 -EL +#as: -mcpu=arm7m -EL # Test the standard ARM instructions: diff --git a/gas/testsuite/gas/arm/ldconst.d b/gas/testsuite/gas/arm/ldconst.d index c7d2837283f..6ce123d2edd 100644 --- a/gas/testsuite/gas/arm/ldconst.d +++ b/gas/testsuite/gas/arm/ldconst.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses --show-raw-insn #name: ARM ldr with immediate constant -#as: -marm2 -EL +#as: -mcpu=arm7m -EL .*: +file format .*arm.* diff --git a/gas/testsuite/gas/arm/xscale.d b/gas/testsuite/gas/arm/xscale.d index d1ec7322cd4..bd4e06af09d 100644 --- a/gas/testsuite/gas/arm/xscale.d +++ b/gas/testsuite/gas/arm/xscale.d @@ -1,6 +1,6 @@ #objdump: -dr --prefix-addresses --show-raw-insn #name: XScale instructions -#as: -mxscale -EL +#as: -mcpu=xscale -EL # Test the XScale instructions: -- 2.30.2