aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorDenis Chertykov <chertykov@gmail.com>2016-06-09 19:17:43 +0300
committerDenis Chertykov <chertykov@gmail.com>2016-06-09 19:17:43 +0300
commit5c41dbc302c2dd87e201e4fd1d9ae3186f6e51a0 (patch)
treef97034bca2d7f3fa8d45fc6b6931d9117a6de79e /bfd/ChangeLog
parent1857fe72aff6f254217956d141bff4b9ca454bc5 (diff)
downloadgdb-5c41dbc302c2dd87e201e4fd1d9ae3186f6e51a0.zip
gdb-5c41dbc302c2dd87e201e4fd1d9ae3186f6e51a0.tar.gz
gdb-5c41dbc302c2dd87e201e4fd1d9ae3186f6e51a0.tar.bz2
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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d544d02..460e68b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
+
+ PR ld/20221
+ * elf32-avr.c (elf32_avr_relax_delete_bytes): Adjust syms
+ and relocs only if shrinking occurred.
+
2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
* elf64-i386.c (elf_i386_link_hash_entry): Add tls_get_addr.