aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-h8300/relax-6-coff.d
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-07-27 16:47:02 +0000
committerNick Clifton <nickc@redhat.com>2004-07-27 16:47:02 +0000
commit1bec8141aa331266a162701c3ba0e0ea9bf3b6d5 (patch)
tree701b9fae61d058022def731004c5231980b7c30a /ld/testsuite/ld-h8300/relax-6-coff.d
parent406f8ff91f7a7f9700d2bd938c58a11cbfcc690a (diff)
downloadgdb-1bec8141aa331266a162701c3ba0e0ea9bf3b6d5.zip
gdb-1bec8141aa331266a162701c3ba0e0ea9bf3b6d5.tar.gz
gdb-1bec8141aa331266a162701c3ba0e0ea9bf3b6d5.tar.bz2
ld-h8300/h8300.exp: Addition of new test case to check relaxation for H8S target.
ld-h8300/relax-6.s: New test source file. ld-h8300/relax-6.d: New test expected disassembly file. ld-h8300/relax-6-coff.d: New test expected disassembly file for COFF format.
Diffstat (limited to 'ld/testsuite/ld-h8300/relax-6-coff.d')
-rw-r--r--ld/testsuite/ld-h8300/relax-6-coff.d11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-h8300/relax-6-coff.d b/ld/testsuite/ld-h8300/relax-6-coff.d
new file mode 100644
index 0000000..b9c1e2f
--- /dev/null
+++ b/ld/testsuite/ld-h8300/relax-6-coff.d
@@ -0,0 +1,11 @@
+# name: H8300 Relaxation Test 6
+# source: relax-6.s
+# ld: --relax -m h8300s
+# objdump: -d --no-show-raw-insn
+
+.*: file format .*-h8300
+Disassembly of section .text:
+
+00000100 <_start>:
+ 100: mov.b r2l,@0xbd:8
+ 102: rts