aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-avr/pr13402.d
blob: 6663950559e8eb65871fc738eaa5a30d68b1b300 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#name: AVR fix broken sync between debug_line and code addresses
#as: -mmcu=avrxmega2 -mlink-relax -gdwarf-2
#ld:  -mavrxmega2 --relax
#source: pr13402.s
#objdump: -S
#target: avr-*-*

#...
main:
call a
   0:	02 d0       	rcall	.+4      	; 0x6 <_etext>
call b
   2:	01 d0       	rcall	.+2      	; 0x6 <_etext>
call c
   4:	00 d0       	rcall	.+0      	; 0x6 <_etext>
#...