aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-10-23 10:14:51 +1030
committerAlan Modra <amodra@gmail.com>2015-10-23 10:22:26 +1030
commit1e7eae0dcc0e5473dda573b30107ffdd501b0d73 (patch)
tree5d170d977392fcd0784425071d5ec5377e8b0118 /bfd/ChangeLog
parentbba037e0aef1f3b17cc6cf6fd041ed6110cc375a (diff)
downloadgdb-1e7eae0dcc0e5473dda573b30107ffdd501b0d73.zip
gdb-1e7eae0dcc0e5473dda573b30107ffdd501b0d73.tar.gz
gdb-1e7eae0dcc0e5473dda573b30107ffdd501b0d73.tar.bz2
Re: Always keep sections marked with SEC_KEEP
Revert bba037e0, it breaks the gc-sections model. Instead fix the underlying problem which is that _bfd_elf_gc_mark_hook is too late to be setting SEC_KEEP. PR ld/11133 PR ld/19161 * elflink.c (elf_gc_sweep): Revert last patch. (_bfd_elf_gc_mark_hook): Don't set SEC_KEEP here.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 60b79ed..481d972 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,10 @@
+2015-10-23 Alan Modra <amodra@gmail.com>
+
+ PR ld/11133
+ PR ld/19161
+ * elflink.c (elf_gc_sweep): Revert last patch.
+ (_bfd_elf_gc_mark_hook): Don't set SEC_KEEP here.
+
2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
PR ld/19161