* elflink.h (elf_link_output_extsym): Just ignore warning and
indirect references to symbols which don't really exist.
This commit is contained in:
parent
53d45489e3
commit
1f4ae0d6b1
|
@ -1,3 +1,8 @@
|
|||
Mon Dec 4 11:25:39 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* elflink.h (elf_link_output_extsym): Just ignore warning and
|
||||
indirect references to symbols which don't really exist.
|
||||
|
||||
Sun Dec 3 19:00:27 1995 Kim Knuttila <krk@cygnus.com>
|
||||
|
||||
* peicode.h (pe_print_idata): Minor format fixes
|
||||
|
|
|
@ -2508,6 +2508,12 @@ elf_link_output_extsym (h, data)
|
|||
|
||||
case bfd_link_hash_indirect:
|
||||
case bfd_link_hash_warning:
|
||||
/* We can't represent these symbols in ELF. A warning symbol
|
||||
may have come from a .gnu.warning.SYMBOL section anyhow. We
|
||||
just put the target symbol in the hash table. If the target
|
||||
symbol does not really exist, don't do anything. */
|
||||
if (h->root.u.i.link->type == bfd_link_hash_new)
|
||||
return true;
|
||||
return (elf_link_output_extsym
|
||||
((struct elf_link_hash_entry *) h->root.u.i.link, data));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue