aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorRichard Earnshaw <richard.earnshaw@arm.com>2002-01-18 17:01:55 +0000
committerRichard Earnshaw <richard.earnshaw@arm.com>2002-01-18 17:01:55 +0000
commit03b1477f5d6d5d385a4b080d7fcd7c15e9e98556 (patch)
tree580ef898c04429946bf158d03ac9c34ec3e71f04 /gas/testsuite
parent2a538ba50cdd625e18a08052a2d326d19b5c63bd (diff)
downloadgdb-03b1477f5d6d5d385a4b080d7fcd7c15e9e98556.zip
gdb-03b1477f5d6d5d385a4b080d7fcd7c15e9e98556.tar.gz
gdb-03b1477f5d6d5d385a4b080d7fcd7c15e9e98556.tar.bz2
* NEWS: Mention new ARM command-line options and VFP support.
* config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All uses changed. (ARM_CEXT_MAVERICK): Similarly. (ARM_ANY): Now means any core instruction. (CPU_DEFAULT): Default to ARM_ANY. (uses_apcs_26, atcps, support_interwork, uses_apcs_float) (pic_code): Declare for all object types. Make type int. (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt) (march_fpu_opt, mfpu_opt): Declare. (md_longopts): Tidy up conditional definitions. (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions) (arm_long_opts): New tables. (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions. (arm_parse_extension): New function. (md_parse_option): Rewrite using new table-driven system. (md_show_usage): Use new table-driven system. (md_begin): Calculate cpu_variant from command line option data. * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific command-line options. * doc/c-arm.texi: Likewise. Testsuite: * gas/arm/vfp1.d: Use new command-line options. * gas/arm/vfp1xD.d: Likewise. * gas/arm/arm.exp (vfp-bad): Likewise. * gas/arm/maverick.d: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/arm/arm.exp3
-rw-r--r--gas/testsuite/gas/arm/maverick.d2
-rw-r--r--gas/testsuite/gas/arm/vfp1.d2
-rw-r--r--gas/testsuite/gas/arm/vfp1xD.d2
5 files changed, 12 insertions, 4 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 5791ddb..db08e51 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2002-01-18 Richard Earnshaw <rearnsha@arm.com>
+
+ * gas/arm/vfp1.d: Use new command-line options.
+ * gas/arm/vfp1xD.d: Likewise.
+ * gas/arm/arm.exp (vfp-bad): Likewise.
+ * gas/arm/maverick.d: Likewise.
+
2002-01-17 Timothy Wall <twall@oculustech.com>
* gas/tic54x/labels.s (after_macro): Correct comments.
diff --git a/gas/testsuite/gas/arm/arm.exp b/gas/testsuite/gas/arm/arm.exp
index ef6fb01..4faa8ce 100644
--- a/gas/testsuite/gas/arm/arm.exp
+++ b/gas/testsuite/gas/arm/arm.exp
@@ -51,7 +51,7 @@ if {[istarget *arm*-*-*] || [istarget "xscale-*-*"]} then {
run_dump_test "vfp1"
- run_errors_test "vfp-bad" "-mvfp" "VFP errors"
+ run_errors_test "vfp-bad" "-mfpu=vfp" "VFP errors"
run_dump_test "xscale"
@@ -71,6 +71,7 @@ if [istarget arm-*-pe] {
# Since big-endian numbers have the normal format, this doesn't exist.
#run_dump_test "be-fpconst"
}
+
if [istarget arm9e-*] {
run_dump_test "maverick"
}
diff --git a/gas/testsuite/gas/arm/maverick.d b/gas/testsuite/gas/arm/maverick.d
index 39a6af4..6488ec5 100644
--- a/gas/testsuite/gas/arm/maverick.d
+++ b/gas/testsuite/gas/arm/maverick.d
@@ -1,6 +1,6 @@
#objdump: -dr --prefix-address --show-raw-insn
#name: Maverick
-#as: -marm9e
+#as: -mcpu=arm9+maverick
# Test the instructions of Maverick
diff --git a/gas/testsuite/gas/arm/vfp1.d b/gas/testsuite/gas/arm/vfp1.d
index 9f37803..0df8c54 100644
--- a/gas/testsuite/gas/arm/vfp1.d
+++ b/gas/testsuite/gas/arm/vfp1.d
@@ -1,6 +1,6 @@
#objdump: -dr --prefix-addresses --show-raw-insn
#name: VFP Double-precision instructions
-#as: -mvfp
+#as: -mfpu=vfp
# Test the ARM VFP Double Precision instructions
diff --git a/gas/testsuite/gas/arm/vfp1xD.d b/gas/testsuite/gas/arm/vfp1xD.d
index 8e35638..4b787e0 100644
--- a/gas/testsuite/gas/arm/vfp1xD.d
+++ b/gas/testsuite/gas/arm/vfp1xD.d
@@ -1,6 +1,6 @@
#objdump: -dr --prefix-addresses --show-raw-insn
#name: VFP Single-precision instructions
-#as: -mvfpxd
+#as: -mfpu=vfpxd
# Test the ARM VFP Single Precision instructions