When processing a section that is a member of a group, the group that contains it is looked up using a linear search. The resulting O(n^2) complexity causes significant performance issues when dealing with object files with very many groups. By remembering the index of the last found group and restarting the next search from that index, the search instead becomes O(n) in common cases. * elf.c (setup_group): Optimize search for group by remembering last found group and restarting search at that index. * elf-bfd.h (struct elf_obj_tdata): Add group_search_offset field.
73 lines
2.1 KiB
Plaintext
73 lines
2.1 KiB
Plaintext
2018-01-12 Jens Widell <jl@opera.com>
|
||
|
||
* elf.c (setup_group): Optimize search for group by remembering
|
||
last found group and restarting search at that index.
|
||
* elf-bfd.h (struct elf_obj_tdata): Add group_search_offset field.
|
||
|
||
2018-01-12 Gunther Nikl <gnikl@users.sourceforge.net>
|
||
|
||
* aoutx.h (aout_link_check_ar_symbols): Remove default and handle
|
||
bfd_link_common_skip_none in switch.
|
||
|
||
2018-01-12 Alan Modra <amodra@gmail.com>
|
||
|
||
PR ld/22649
|
||
* elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Ignore dynamic
|
||
references on forced local symbols.
|
||
|
||
2018-01-12 Vlad Ivanov <vlad@ivanov.email>
|
||
|
||
* elfxx-mips.c (_bfd_mips_elf_final_link): Notify user when
|
||
.reginfo section has wrong size.
|
||
|
||
2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/22393
|
||
* elf.c (_bfd_elf_map_sections_to_segments): When generating
|
||
separate code and read-only data LOAD segments, create a new
|
||
LOAD segment if the previous section contains text and the
|
||
current section doesn't or vice versa. Don't put a writable
|
||
section in a read-only segment if there is a RELRO segment.
|
||
|
||
2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/22649
|
||
* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic
|
||
references on forced local symbols.
|
||
|
||
2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR ld/22677
|
||
* elflink.c (bfd_elf_gc_sections): Keep all PREINIT_ARRAY,
|
||
INIT_ARRAY as well as FINI_ARRAY sections for ld -r --gc-section.
|
||
|
||
2017-09-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
|
||
|
||
PR 22662
|
||
* elf32-nds32.c (nds32_elf_relax_loadstore): Fix a typographical error.
|
||
|
||
2018-01-03 John Baldwin <jhb@FreeBSD.org>
|
||
|
||
* elf.c (elfcore_grok_freebsd_note): Handle
|
||
NT_FREEBSD_PROCSTAT_PROC, NT_FREEBSD_PROCSTAT_FILES, and
|
||
NT_FREEBSD_PROCSTAT_VMMAP.
|
||
|
||
2018-01-03 Alan Modra <amodra@gmail.com>
|
||
|
||
Update year range in copyright notice of all files.
|
||
|
||
For older changes see ChangeLog-2017
|
||
|
||
Copyright (C) 2018 Free Software Foundation, Inc.
|
||
|
||
Copying and distribution of this file, with or without modification,
|
||
are permitted in any medium without royalty provided the copyright
|
||
notice and this notice are preserved.
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
End:
|