summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/m32r/relax-1.d
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/m32r/relax-1.d')
-rw-r--r--gas/testsuite/gas/m32r/relax-1.d18
1 files changed, 18 insertions, 0 deletions
diff --git a/gas/testsuite/gas/m32r/relax-1.d b/gas/testsuite/gas/m32r/relax-1.d
new file mode 100644
index 00000000000..2a4fcb80058
--- /dev/null
+++ b/gas/testsuite/gas/m32r/relax-1.d
@@ -0,0 +1,18 @@
+#as:
+#objdump: -dr
+#name: relax-1
+
+.*: +file format .*
+
+Disassembly of section .text:
+
+0* <DoesNotWork>:
+ *0: 70 00 70 00 * nop -> nop
+
+0*4 <Work>:
+ *4: 70 00 70 00 * nop -> nop
+Disassembly of section .branch:
+
+0* <branch>:
+ *0: ff 00 00 01 bra 4 <Work>
+[ ]*0: R_M32R_26_PCREL .text