From: David Edelsohn Date: Mon, 25 Aug 1997 18:05:44 +0000 (+0000) Subject: * gas/m32r/relax-1.[ds]: New testcase. X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=30249a6ad07c12d3519a008dcdff345a86500ed3;hp=9c506dfb5d6656d30c79bef4239c3b0e283f0187;p=deliverable%2Fbinutils-gdb.git * gas/m32r/relax-1.[ds]: New testcase. * gas/m32r/m32r.exp: Run it. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 4de3afa2f6..fdb3f03479 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,14 @@ +Mon Aug 25 11:04:24 1997 Doug Evans + + * gas/m32r/relax-1.[ds]: New testcase. + * gas/m32r/m32r.exp: Run it. + +Thu Aug 14 23:49:49 1997 Doug Evans + + * 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 * 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 Sat Jan 27 13:27:45 1996 Doug Evans * 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 Sat Apr 29 23:35:18 1995 Doug Evans * 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 @@ -1085,13 +1090,6 @@ Mon Apr 10 15:36:39 1995 Ken Raeburn Sat Apr 8 12:46:33 1995 Doug Evans -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 75ddecb39a..79dc62493d 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 0000000000..8984b4ee65 --- /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 0000000000..d4e12c0fd3 --- /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