old-cross-binutils/ld/testsuite/ld-m68hc11/bug-1417.d
Alan Modra fae5f26d81 * ld-m68hc11/m68hc11.exp: Run for m68hc11-*-* and m68hc12-*-*.
* ld-m68hc11/adj-brset.d: Remove redundant #target line.  Add
	-m m68hc11elf to ld invocation.
	* ld-m68hc11/adj-jump.d: Likewise.
	* ld-m68hc11/bug-1403.d: Likewise.
	* ld-m68hc11/bug-1417.d: Likewise.
	* ld-m68hc11/bug-3331.d: Likewise.
	* ld-m68hc11/relax-direct.d: Likewise.
	* ld-m68hc11/relax-group.d: Likewise.
	* ld-m68hc11/far-hc11.d: Remove redundant #target line.  Adjust for
	changed addresses.
	* ld-m68hc11/far-hc12.d: Remove redundant #target line.
	* ld-m68hc11/link-hcs12.d: Likewise, and adjust for header changes.
2012-02-13 02:31:53 +00:00

14 lines
345 B
Makefile

#source: bug-1417.s
#as: -m68hc11
#ld: -m m68hc11elf --relax
#objdump: -d --prefix-addresses -r
.*: +file format elf32-m68hc11
Disassembly of section .text:
0+8000 <_start> tst 0+ <__bss_size>
0+8003 <_start\+0x3> bne 0+8007 <L1>
0+8005 <_start\+0x5> bsr 0+800b <foo>
0+8007 <L1> bset \*0+ <__bss_size> \#\$04
0+800a <L2> rts
0+800b <foo> rts