aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-m68hc11/bug-1417.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-m68hc11/bug-1417.d')
-rw-r--r--ld/testsuite/ld-m68hc11/bug-1417.d15
1 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ld-m68hc11/bug-1417.d b/ld/testsuite/ld-m68hc11/bug-1417.d
new file mode 100644
index 0000000..d1e7c42
--- /dev/null
+++ b/ld/testsuite/ld-m68hc11/bug-1417.d
@@ -0,0 +1,15 @@
+#source: bug-1417.s
+#as: -m68hc11
+#ld: --relax
+#objdump: -d --prefix-addresses -r
+#target: m6811-*-* m6812-*-*
+
+.*: +file format elf32-m68hc11
+
+Disassembly of section .text:
+0+8000 <_start> tst 0+ <__bss_size>
+0+8003 <_start\+0x3> bne 0+8008 <L1>
+0+8005 <_start\+0x5> jsr 0+800c <foo>
+0+8008 <L1> bset \*0+ <__bss_size> \#\$04
+0+800b <L2> rts
+0+800c <foo> rts