aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1997-08-25 18:05:44 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1997-08-25 18:05:44 +0000
commit30249a6ad07c12d3519a008dcdff345a86500ed3 (patch)
tree01f8b1fdbb93344c5a9d58340ce483b2dda3bf52 /gas
parent9c506dfb5d6656d30c79bef4239c3b0e283f0187 (diff)
downloadgdb-30249a6ad07c12d3519a008dcdff345a86500ed3.zip
gdb-30249a6ad07c12d3519a008dcdff345a86500ed3.tar.gz
gdb-30249a6ad07c12d3519a008dcdff345a86500ed3.tar.bz2
* gas/m32r/relax-1.[ds]: New testcase.
* gas/m32r/m32r.exp: Run it.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog24
-rw-r--r--gas/testsuite/gas/m32r/.Sanitize2
-rw-r--r--gas/testsuite/gas/m32r/m32r.exp6
-rw-r--r--gas/testsuite/gas/m32r/relax-1.s17
4 files changed, 36 insertions, 13 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 4de3afa..fdb3f03 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,14 @@
+Mon Aug 25 11:04:24 1997 Doug Evans <dje@canuck.cygnus.com>
+
+ * gas/m32r/relax-1.[ds]: New testcase.
+ * gas/m32r/m32r.exp: Run it.
+
+Thu Aug 14 23:49:49 1997 Doug Evans <dje@canuck.cygnus.com>
+
+ * gas/arc: New directory
+ * gas/arc/{arc.exp,alias.[sd],branch.[sd],flag.[sd],insn3.[sd],j.[sd],
+ ld.[sd],math.[sd],sshift.[sd],st.[sd],warn.{exp,s}}: New files.
+
Wed Aug 6 00:33:30 1997 Ian Lance Taylor <ian@cygnus.com>
* config/default.exp: Set AS and GASP to as-new, not as.new.
@@ -766,9 +777,6 @@ Wed Feb 14 13:49:59 1996 Ian Lance Taylor <ian@cygnus.com>
Sat Jan 27 13:27:45 1996 Doug Evans <dje@charmed.cygnus.com>
* lib/gas-dg.exp (gas-dg-test): Delete default_flags and libs args.
-start-sanitize-arc
- * gas/arc/warn.exp: Delete libs arg in call to dg-runtest.
-end-sanitize-arc
Fri Jan 26 14:24:01 1996 Jeffrey A Law (law@cygnus.com)
@@ -1067,9 +1075,6 @@ Tue May 2 16:37:48 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
Sat Apr 29 23:35:18 1995 Doug Evans <dje@chestnut.cygnus.com>
* lib/gas-dg.exp: New file.
-start-sanitize-arc
- * gas/arc/warn.{exp,s}: New testcase.
-end-sanitize-arc
Tue Apr 11 13:57:52 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
@@ -1085,13 +1090,6 @@ Mon Apr 10 15:36:39 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
Sat Apr 8 12:46:33 1995 Doug Evans <dje@chestnut.cygnus.com>
-start-sanitize-arc
- * gas/arc: Testsuite for ARC.
- * gas/arc/{arc.exp,math.[sd],flag.[sd],j.[sd]}: New files.
- * gas/arc/{branch.[sd],alias.[sd],sshift.[sd]}: New files.
- * gas/arc/{insn3.[sd],mul64.[sd],ld.[sd],st.[sd]}: New files.
-end-sanitize-arc
-
* lib/gas-defs.exp (run_dump_test): Handle arguments with paths.
Always resolve testcase status before returning.
If `slurp_options' fails, return and don't do test.
diff --git a/gas/testsuite/gas/m32r/.Sanitize b/gas/testsuite/gas/m32r/.Sanitize
index 75ddecb..79dc624 100644
--- a/gas/testsuite/gas/m32r/.Sanitize
+++ b/gas/testsuite/gas/m32r/.Sanitize
@@ -27,6 +27,8 @@ allinsn.exp
allinsn.d
allinsn.s
m32r.exp
+relax-1.d
+relax-1.s
uppercase.d
uppercase.s
diff --git a/gas/testsuite/gas/m32r/m32r.exp b/gas/testsuite/gas/m32r/m32r.exp
new file mode 100644
index 0000000..8984b4e
--- /dev/null
+++ b/gas/testsuite/gas/m32r/m32r.exp
@@ -0,0 +1,6 @@
+# M32R testcases
+
+if [istarget m32r*-*-*] {
+ run_dump_test "relax-1"
+ run_dump_test "uppercase"
+}
diff --git a/gas/testsuite/gas/m32r/relax-1.s b/gas/testsuite/gas/m32r/relax-1.s
new file mode 100644
index 0000000..d4e12c0
--- /dev/null
+++ b/gas/testsuite/gas/m32r/relax-1.s
@@ -0,0 +1,17 @@
+; Test relaxation into non-zero offset to different segment.
+
+ .section .branch, "ax",@progbits
+ .balign 4
+branch:
+ bra Work
+
+
+ .section .text
+ .balign 4
+DoesNotWork:
+ nop
+ nop
+
+Work:
+ nop
+ nop