We should ignore dynamic references on forced local symbols during garbage collection since they can never be referenced dynamically. bfd/ PR ld/22649 * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Ignore dynamic references on forced local symbols. ld/ PR ld/22649 * testsuite/ld-elf/pr22649-1.s: New file. * testsuite/ld-elf/pr22649-2a.s: Likewise. * testsuite/ld-elf/pr22649-2b.s: Likewise. * testsuite/ld-elf/pr22649.msg: Likewise. * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
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:
|