aboutsummaryrefslogtreecommitdiff
path: root/gold/ChangeLog
diff options
context:
space:
mode:
authorGergely Nagy <ngg@tresorit.com>2016-10-21 11:08:20 -0700
committerSriraman Tallam <tmsriram@google.com>2016-10-21 11:10:46 -0700
commitac423761af22f7858a1413cda5df3e1d5e88d4e4 (patch)
tree48b7febe21373bceb32259e7b5f6a3ee5c2d7680 /gold/ChangeLog
parentd11261fc63ecbf9f3487be906a4e720b4b20fb42 (diff)
downloadgdb-ac423761af22f7858a1413cda5df3e1d5e88d4e4.zip
gdb-ac423761af22f7858a1413cda5df3e1d5e88d4e4.tar.gz
gdb-ac423761af22f7858a1413cda5df3e1d5e88d4e4.tar.bz2
Fix PR 17704.
This fix keeps the section with the highest alignment when folding sections with ICF. PR gold/17704 * icf.cc (match_sections): Add new parameter section_addraligns. Check section alignment and keep the section with the strictest alignment. (find_identical_sections): New local variable section_addraligns. Store each section's alignment. * testsuite/pr17704a_test.s: New file. * testsuite/Makefile.am (pr17704a_test): New test. * testsuite/Makefile.in: Regenerate.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index ae86f66..08b4a0a 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,15 @@
+2016-10-21 Gergely Nagy <ngg@tresorit.com>
+
+ PR gold/17704
+ * icf.cc (match_sections): Add new parameter section_addraligns.
+ Check section alignment and keep the section with the strictest
+ alignment.
+ (find_identical_sections): New local variable section_addraligns.
+ Store each section's alignment.
+ * testsuite/pr17704a_test.s: New file.
+ * testsuite/Makefile.am (pr17704a_test): New test.
+ * testsuite/Makefile.in: Regenerate.
+
2016-10-06 Alan Modra <amodra@gmail.com>
* powerpc.cc (Target_powerpc::Relocate::relocate): Add fall