mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-11 08:25:30 +08:00
* elf32-cris.c (elf_cris_copy_indirect_symbol): Return without
action for symbols other than bfd_link_hash_indirect.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2008-12-17 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
|
* elf32-cris.c (elf_cris_copy_indirect_symbol): Return without
|
||||||
|
action for symbols other than bfd_link_hash_indirect.
|
||||||
|
|
||||||
2008-12-15 Hans-Peter Nilsson <hp@axis.com>
|
2008-12-15 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
* elf32-cris.c (elf_cris_copy_indirect_symbol): New function.
|
* elf32-cris.c (elf_cris_copy_indirect_symbol): New function.
|
||||||
|
@ -3024,6 +3024,11 @@ elf_cris_copy_indirect_symbol (struct bfd_link_info *info,
|
|||||||
edir = (struct elf_cris_link_hash_entry *) dir;
|
edir = (struct elf_cris_link_hash_entry *) dir;
|
||||||
eind = (struct elf_cris_link_hash_entry *) ind;
|
eind = (struct elf_cris_link_hash_entry *) ind;
|
||||||
|
|
||||||
|
/* Only indirect symbols are replaced; we're not interested in
|
||||||
|
updating any of EIND's fields for other symbols. */
|
||||||
|
if (eind->root.root.type != bfd_link_hash_indirect)
|
||||||
|
return;
|
||||||
|
|
||||||
BFD_ASSERT (edir->pcrel_relocs_copied == NULL);
|
BFD_ASSERT (edir->pcrel_relocs_copied == NULL);
|
||||||
BFD_ASSERT (edir->gotplt_offset == 0 || eind->gotplt_offset == 0);
|
BFD_ASSERT (edir->gotplt_offset == 0 || eind->gotplt_offset == 0);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user