mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Handle the situation
where the sym_hashes are not available.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2008-08-17 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Handle the situation
|
||||||
|
where the sym_hashes are not available.
|
||||||
|
|
||||||
2008-08-17 Alan Modra <amodra@bigpond.net.au>
|
2008-08-17 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* bfd.c (struct _bfd): Correct outsymbols comment.
|
* bfd.c (struct _bfd): Correct outsymbols comment.
|
||||||
|
@ -7433,8 +7433,9 @@ _bfd_mips_elf_check_relocs (bfd *abfd, struct bfd_link_info *info,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
h = sym_hashes[r_symndx - extsymoff];
|
h = sym_hashes[r_symndx - extsymoff];
|
||||||
while (h->root.type == bfd_link_hash_indirect
|
while (h != NULL
|
||||||
|| h->root.type == bfd_link_hash_warning)
|
&& (h->root.type == bfd_link_hash_indirect
|
||||||
|
|| h->root.type == bfd_link_hash_warning))
|
||||||
h = (struct elf_link_hash_entry *) h->root.u.i.link;
|
h = (struct elf_link_hash_entry *) h->root.u.i.link;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user