https://sourceware.org/bugzilla/show_bug.cgi?id=20221
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Denis Chertykov <den...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5c41dbc302c2dd87e201e4fd1d9ae3186f6e51a0 commit 5c41dbc302c2dd87e201e4fd1d9ae3186f6e51a0 Author: Denis Chertykov <cherty...@gmail.com> Date: Thu Jun 9 19:17:43 2016 +0300 Fix PR 20221 - adjust syms and relocs only if relax shrunk section. 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. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils