mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
f3be70df1b
PR 28686 gas * config/tc-avr.h (tc_fix_adjustable): Define. * config/tc-avr.c (avr_fix_adjustable): New function. * testsuite/gas/all/gas.exp: Skip tests that need adjustable fixups. * testsuite/gas/elf/elf.exp: Likewise. * testsuite/gas/avr/diffreloc_withrelax.d: Adjust expected output. * testsuite/gas/avr/pc-relative-reloc.d: Adjust expected output. ld * testsuite/ld-avr/avr-prop-7.d: Adjust expected output. * testsuite/ld-avr/avr-prop-8.d: Likewise. * testsuite/ld-avr/pr13402.d: Likewise.
19 lines
382 B
Makefile
19 lines
382 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
|
|
call b
|
|
0: 02 d0 rcall .+4 ; 0x6 <_etext>
|
|
#...
|
|
call c
|
|
2: 01 d0 rcall .+2 ; 0x6 <_etext>
|
|
#...
|
|
4: 00 d0 rcall .+0 ; 0x6 <_etext>
|
|
#...
|