5c41dbc302
This patch fixes an edge case in linker relaxation that causes symbol values to be computed incorrectly in the presence of align directives in input source code. bfd/ * elf32-avr.c (elf32_avr_relax_delete_bytes): Adjust syms and relocs only if shrinking occurred. ld/ * testsuite/ld-avr/avr-prop-5.d: New. * testsuite/ld-avr/avr-prop-5.s: New.
7 lines
108 B
ArmAsm
7 lines
108 B
ArmAsm
.text
|
|
.global _start, dest
|
|
_start:
|
|
CALL dest
|
|
.align 1
|
|
dest:
|
|
NOP
|