ChangeLog rotatation and copyright year update
[deliverable/binutils-gdb.git] / binutils / testsuite / binutils-all / m68k / objdump.exp
index 481137cf3665439da0e833756edcd49568ab89cd..9ab30d15686c15c0d380448645e65688ad4d307c 100644 (file)
@@ -1,5 +1,4 @@
-#   Copyright 2004, 2007
-#   Free Software Foundation, Inc.
+#   Copyright (C) 2004-2015 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -51,3 +50,29 @@ if [regexp $want $got] then {
 } else {
     fail "movem test"
 }
+
+###########################
+# Set up the test of fnop.s
+###########################
+
+if {![binutils_assemble $srcdir/$subdir/fnop.s tmpdir/fnop.o]} then {
+    return
+}
+
+if [is_remote host] {
+    set objfile [remote_download host tmpdir/fnop.o]
+} else {
+    set objfile tmpdir/fnop.o
+}
+
+# Make sure that fnop is decoded as fnop, not fbf.
+
+set got [binutils_run $OBJDUMP "$OBJDUMPFLAGS --disassemble $objfile"]
+
+set want "fnop *\[\r\n\]"
+
+if [regexp $want $got] then {
+    pass "fnop test"
+} else {
+    fail "fnop test"
+}
This page took 0.031823 seconds and 4 git commands to generate.