aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-02-10 05:39:17 +0000
committerKen Raeburn <raeburn@cygnus>1994-02-10 05:39:17 +0000
commit0586b4600f8072bdde554e48a2548ae19beb426f (patch)
tree205f853a994f22ab3cb27743e1de693c842bb117
parenta62dd44f9c613086e94018d714764e56cf473ad5 (diff)
downloadgdb-0586b4600f8072bdde554e48a2548ae19beb426f.zip
gdb-0586b4600f8072bdde554e48a2548ae19beb426f.tar.gz
gdb-0586b4600f8072bdde554e48a2548ae19beb426f.tar.bz2
* gas/alpha/fp.*: New files.
* lib/gas-defs.exp (regexp_diff): Report noted mismatch at verbosity level 3 or above only.
-rw-r--r--gas/testsuite/gas/alpha/fp.d10
-rw-r--r--gas/testsuite/gas/alpha/fp.exp16
2 files changed, 26 insertions, 0 deletions
diff --git a/gas/testsuite/gas/alpha/fp.d b/gas/testsuite/gas/alpha/fp.d
new file mode 100644
index 0000000..1c97216
--- /dev/null
+++ b/gas/testsuite/gas/alpha/fp.d
@@ -0,0 +1,10 @@
+
+.*: file format ecoff-littlealpha
+
+Contents of section .reginfo:
+ [0-9 .]*
+ [0-9A-Z .]*
+Contents of section .rdata:
+ 0000 71a37909 4f930a40 5441789a cd4b881b q.y.O..@TAx..K..
+ 0010 2a404f93 790971a3 789a5440 5441789a \*@O.y.q.x.T@TAx.
+ 0020 00000000 00000000 00000000 00000000 ................
diff --git a/gas/testsuite/gas/alpha/fp.exp b/gas/testsuite/gas/alpha/fp.exp
new file mode 100644
index 0000000..5517dcf
--- /dev/null
+++ b/gas/testsuite/gas/alpha/fp.exp
@@ -0,0 +1,16 @@
+#
+# SunOS4 on SPARC tests
+#
+
+if [istarget alpha-*-osf1*] then {
+ set testname "fp constants (part 2)"
+ if [gas_test_old "fp.s" "" "fp constants (part 1)"] then {
+ objdump_start_no_subdir "a.out > a.dump" "-s"
+ objdump_finish
+ if { [regexp_diff "a.dump" "$srcdir/$subdir/fp.d"] == 0 } then {
+ pass $testname
+ } else {
+ fail $testname
+ }
+ }
+}