aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-avr/avr-prop-5.s
AgeCommit message (Collapse)AuthorFilesLines
2016-06-09Fix PR 20221 - adjust syms and relocs only if relax shrunk section.Denis Chertykov1-0/+7
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.