mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 12:22:20 +08:00
* elfxx-mips.c (_bfd_mips_elf_hide_symbol): Test for NULL dynobj.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2003-04-02 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elfxx-mips.c (_bfd_mips_elf_hide_symbol): Test for NULL dynobj.
|
||||
|
||||
2003-04-01 Bob Wilson <bob.wilson@acm.org>
|
||||
|
||||
* Makefile.am (ALL_MACHINES): Add cpu-xtensa.lo.
|
||||
|
@ -7716,6 +7716,8 @@ _bfd_mips_elf_hide_symbol (info, entry, force_local)
|
||||
h->forced_local = TRUE;
|
||||
|
||||
dynobj = elf_hash_table (info)->dynobj;
|
||||
if (dynobj != NULL)
|
||||
{
|
||||
got = mips_elf_got_section (dynobj, FALSE);
|
||||
g = mips_elf_section_data (got)->u.got_info;
|
||||
|
||||
@ -7765,6 +7767,7 @@ _bfd_mips_elf_hide_symbol (info, entry, force_local)
|
||||
g->local_gotno++;
|
||||
g->global_gotno--;
|
||||
}
|
||||
}
|
||||
|
||||
_bfd_elf_link_hash_hide_symbol (info, &h->root, force_local);
|
||||
}
|
||||
|
Reference in New Issue
Block a user