aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-m68hc11/bug-1403.d
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2002-10-14 21:20:16 +0000
committerStephane Carrez <stcarrez@nerim.fr>2002-10-14 21:20:16 +0000
commit19dd1b4833bf0660f3788cce1fe14c54229145c3 (patch)
tree32ccd1a51210ee6452671fd5c0bb536301b67e90 /ld/testsuite/ld-m68hc11/bug-1403.d
parenteee771c19456348aa7d60f34e30cc7afdf0188fd (diff)
downloadgdb-19dd1b4833bf0660f3788cce1fe14c54229145c3.zip
gdb-19dd1b4833bf0660f3788cce1fe14c54229145c3.tar.gz
gdb-19dd1b4833bf0660f3788cce1fe14c54229145c3.tar.bz2
* ld-m68hc11/m68hc11.exp: Specific tests for 68HC11/68HC12.
* ld-m68hc11/adj-jump.d: New test for linker relaxation. * ld-m68hc11/adj-jump.s: Likewise. * ld-m68hc11/adj-brset.s: Likewise. * ld-m68hc11/adj-brset.d: Likewise. * ld-m68hc11/relax-direct.s: Likewise. * ld-m68hc11/relax-direct.d: Likewise. * ld-m68hc11/relax-group.s: Likewise. * ld-m68hc11/relax-group.d: Likewise. * ld-m68hc11/bug-1403.d: Likewise. * ld-m68hc11/bug-1403.s: Likewise.
Diffstat (limited to 'ld/testsuite/ld-m68hc11/bug-1403.d')
-rw-r--r--ld/testsuite/ld-m68hc11/bug-1403.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-m68hc11/bug-1403.d b/ld/testsuite/ld-m68hc11/bug-1403.d
new file mode 100644
index 0000000..c643cd1
--- /dev/null
+++ b/ld/testsuite/ld-m68hc11/bug-1403.d
@@ -0,0 +1,12 @@
+#source: bug-1403.s
+#as: -m68hc11
+#ld: --relax
+#objdump: -d --prefix-addresses -r
+#target: m6811-*-* m6812-*-*
+
+.*: +file format elf32-m68hc11
+
+Disassembly of section .text:
+0+8000 <_start> bset \*0+ <__bss_size> \#\$04
+0+8003 <L1> bra 0+8005 <toto>
+0+8005 <toto> rts