Retro68/binutils/ld/testsuite/ld-avr/pr13402.d
2017-10-07 02:16:47 +02:00

17 lines
372 B
Makefile

#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>
#...