mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
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.
8 lines
108 B
ArmAsm
8 lines
108 B
ArmAsm
.text
|
|
.global _start, dest
|
|
_start:
|
|
CALL dest
|
|
.align 1
|
|
dest:
|
|
NOP
|