mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-05 23:26:51 +08:00
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Don't do copyreloc
processing if symbol is defined in the executable.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2007-05-10 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Don't do copyreloc
|
||||||
|
processing if symbol is defined in the executable.
|
||||||
|
|
||||||
2007-05-10 Alexandre Oliva <aoliva@redhat.com>
|
2007-05-10 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
* elf32-frv.c (_frvfdpic_check_discarded_relocs): New.
|
* elf32-frv.c (_frvfdpic_check_discarded_relocs): New.
|
||||||
|
@ -5851,6 +5851,10 @@ ppc64_elf_adjust_dynamic_symbol (struct bfd_link_info *info,
|
|||||||
if (!h->non_got_ref)
|
if (!h->non_got_ref)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
/* Don't generate a copy reloc for symbols defined in the executable. */
|
||||||
|
if (!h->def_dynamic || !h->ref_regular || h->def_regular)
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
if (ELIMINATE_COPY_RELOCS)
|
if (ELIMINATE_COPY_RELOCS)
|
||||||
{
|
{
|
||||||
struct ppc_link_hash_entry * eh;
|
struct ppc_link_hash_entry * eh;
|
||||||
|
Reference in New Issue
Block a user