]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
This commit was manufactured by cvs2svn to create branch 'binutils-csl-
authornobody <>
Thu, 16 Nov 2006 07:22:26 +0000 (07:22 +0000)
committernobody <>
Thu, 16 Nov 2006 07:22:26 +0000 (07:22 +0000)
2_17-branch'.

Cherrypick from master 2006-11-16 07:22:25 UTC Nathan Sidwell <nathan@codesourcery.com> 'gas/':
    gas/testsuite/gas/m68k/mcf-trap.d
    gas/testsuite/gas/m68k/mcf-trap.s

gas/testsuite/gas/m68k/mcf-trap.d [new file with mode: 0644]
gas/testsuite/gas/m68k/mcf-trap.s [new file with mode: 0644]

diff --git a/gas/testsuite/gas/m68k/mcf-trap.d b/gas/testsuite/gas/m68k/mcf-trap.d
new file mode 100644 (file)
index 0000000..f899b69
--- /dev/null
@@ -0,0 +1,15 @@
+#name: mcf-trap
+#objdump: -d
+#as: -m5208
+
+.*:     file format .*
+
+Disassembly of section .text:
+
+0+ <.text>:
+[ 0-9a-f]+:    51fc            tpf
+[ 0-9a-f]+:    51fa 1234       tpfw #4660
+[ 0-9a-f]+:    51fb 1234 5678  tpfl #305419896
+[ 0-9a-f]+:    51fc            tpf
+[ 0-9a-f]+:    51fa 1234       tpfw #4660
+[ 0-9a-f]+:    51fb 1234 5678  tpfl #305419896
diff --git a/gas/testsuite/gas/m68k/mcf-trap.s b/gas/testsuite/gas/m68k/mcf-trap.s
new file mode 100644 (file)
index 0000000..a5d6acc
--- /dev/null
@@ -0,0 +1,9 @@
+       #  the m68k compatible names
+       trapf
+       trapf.w #0x1234
+       trapf.l #0x12345678
+
+       # the coldfire specific names
+       tpf
+       tpf.w #0x1234
+       tpf.l #0x12345678