From 5c41dbc302c2dd87e201e4fd1d9ae3186f6e51a0 Mon Sep 17 00:00:00 2001 From: Denis Chertykov Date: Thu, 9 Jun 2016 19:17:43 +0300 Subject: 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. --- ld/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ld/ChangeLog') diff --git a/ld/ChangeLog b/ld/ChangeLog index cbb98e3..11470c5 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,4 +1,11 @@ +2016-06-08 Senthil Kumar Selvaraj + + PR ld/20221 + * testsuite/ld-avr/avr-prop-5.d: New. + * testsuite/ld-avr/avr-prop-5.s: New. + 2016-06-09 Pitchumani Sivanupandi + * testsuite/ld-avr/lds-mega.d: New test. * testsuite/ld-avr/lds-mega.s: New test source. * testsuite/ld-avr/lds-tiny.d: New test. -- cgit v1.1