* elf32-mips.c: Numerous changes to dynamic linking code, mostly

from Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>.
	* elflink.h (elf_link_output_extsym): Remove special check for
	_rld_new_interface.
This commit is contained in:
Ian Lance Taylor 1996-01-15 20:25:53 +00:00
parent fe1379d45a
commit 252239f877
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,12 @@
Mon Jan 15 14:29:44 1996 Ian Lance Taylor <ian@cygnus.com>
* elf32-mips.c: Numerous changes to dynamic linking code, mostly
from Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>.
* elflink.h (elf_link_output_extsym): Remove special check for
_rld_new_interface.
* ecoffswap.h: Add prototypes for static functions.
Sun Jan 14 21:36:08 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* elf32-ppc.c (ppc_elf_{unsupported,std}_reloc): Remove functions.

View File

@ -2402,15 +2402,12 @@ elf_link_output_extsym (h, data)
linker will complain that the symbol is undefined when the
program is run. We don't have to worry about symbols that are
referenced by regular files, because we will already have issued
warnings for them. FIXME: _rld_new_interface is apparently
supposed to be undefined on Irix 5.3. This should be handled in
a better way. */
warnings for them. */
if (! finfo->info->relocateable
&& ! finfo->info->shared
&& h->root.type == bfd_link_hash_undefined
&& (h->elf_link_hash_flags & ELF_LINK_HASH_REF_DYNAMIC) != 0
&& (h->elf_link_hash_flags & ELF_LINK_HASH_REF_REGULAR) == 0
&& strcmp (h->root.root.string, "_rld_new_interface") != 0)
&& (h->elf_link_hash_flags & ELF_LINK_HASH_REF_REGULAR) == 0)
{
if (! ((*finfo->info->callbacks->undefined_symbol)
(finfo->info, h->root.root.string, h->root.u.undef.abfd,