mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
PR ld/12975
PR ld/13195 * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Apply 2011-09-15 and 2011-09-29 bfd_elf_gc_mark_dynamic_ref_symbol changes here too.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2011-10-17 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
PR ld/12975
|
||||||
|
PR ld/13195
|
||||||
|
* elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Apply 2011-09-15
|
||||||
|
and 2011-09-29 bfd_elf_gc_mark_dynamic_ref_symbol changes here too.
|
||||||
|
|
||||||
2011-10-14 Hans-Peter Nilsson <hp@axis.com>
|
2011-10-14 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
* elf32-cris.c (cris_elf_gc_sweep_hook) <R_CRIS_16_GOTPLT>
|
* elf32-cris.c (cris_elf_gc_sweep_hook) <R_CRIS_16_GOTPLT>
|
||||||
|
@ -5717,7 +5717,10 @@ ppc64_elf_gc_mark_dynamic_ref (struct elf_link_hash_entry *h, void *inf)
|
|||||||
|| (!info->executable
|
|| (!info->executable
|
||||||
&& eh->elf.def_regular
|
&& eh->elf.def_regular
|
||||||
&& ELF_ST_VISIBILITY (eh->elf.other) != STV_INTERNAL
|
&& ELF_ST_VISIBILITY (eh->elf.other) != STV_INTERNAL
|
||||||
&& ELF_ST_VISIBILITY (eh->elf.other) != STV_HIDDEN)))
|
&& ELF_ST_VISIBILITY (eh->elf.other) != STV_HIDDEN
|
||||||
|
&& (strchr (eh->elf.root.root.string, ELF_VER_CHR) != NULL
|
||||||
|
|| !bfd_hide_sym_by_version (info->version_info,
|
||||||
|
eh->elf.root.root.string)))))
|
||||||
{
|
{
|
||||||
asection *code_sec;
|
asection *code_sec;
|
||||||
struct ppc_link_hash_entry *fh;
|
struct ppc_link_hash_entry *fh;
|
||||||
|
Reference in New Issue
Block a user