]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-avr/avr-prop-7.d
Fix AVR assembler so that it creates relocs that will work with linker relaxation.
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-avr / avr-prop-7.d
1 #name: AVR .avr.prop, AVR_7_PCREL after align
2 #as: -mavrxmega2 -mlink-relax
3 #ld: -mavrxmega2 --relax
4 #source: avr-prop-7.s
5 #objdump: -S
6 #target: avr-*-*
7
8 #...
9 00000000 <__ctors_end>:
10 0: 04 d0 rcall .+8 ; 0xa <foo>
11 2: 00 00 nop
12 #...
13 6: 86 e0 ldi r24, 0x06 ; 6
14 8: f0 f7 brcc .-4 ; 0x6 <.*>
15 #...