diff options
author | Alan Modra <amodra@gmail.com> | 2015-10-23 22:23:05 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-10-23 22:26:25 +1030 |
commit | 1cce69b9dc8c58884c3cc4a8928fb234294e6886 (patch) | |
tree | ad6bb7d70a998457311dd8034c00df20b11699d4 /bfd/ChangeLog | |
parent | be83aa76d2877770c23d7c2bde0319564a8f7e48 (diff) | |
download | gdb-1cce69b9dc8c58884c3cc4a8928fb234294e6886.zip gdb-1cce69b9dc8c58884c3cc4a8928fb234294e6886.tar.gz gdb-1cce69b9dc8c58884c3cc4a8928fb234294e6886.tar.bz2 |
Handle __start_* and __stop_* symbols in --gc-sections
PR ld/11133
PR ld/19161
PR ld/19167
* elflink.c (_bfd_elf_gc_mark_hook): Delete code handling __start_*
and __stop_* symbol refs.
(_bfd_elf_gc_mark_rsec): Add start_stop parameter. Handle __start_*
and __stop_* symbol refs here..
(_bfd_elf_gc_mark_reloc): ..and here.
* elf-bfd.h (_bfd_elf_gc_mark_hook): Update prototype.
* elf-eh-frame.c (_bfd_elf_parse_eh_frame): Update
_bfd_elf_gc_mark_rsec call.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 481d972..19723d2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -2,6 +2,20 @@ PR ld/11133 PR ld/19161 + PR ld/19167 + * elflink.c (_bfd_elf_gc_mark_hook): Delete code handling __start_* + and __stop_* symbol refs. + (_bfd_elf_gc_mark_rsec): Add start_stop parameter. Handle __start_* + and __stop_* symbol refs here.. + (_bfd_elf_gc_mark_reloc): ..and here. + * elf-bfd.h (_bfd_elf_gc_mark_hook): Update prototype. + * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Update + _bfd_elf_gc_mark_rsec call. + +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. |