* elflink.h (elf_add_default_symbol): After skipping the
	unversioned symbol, go to non-default one.
This commit is contained in:
H.J. Lu
2003-05-08 19:54:33 +00:00
parent 54c9a60f31
commit bf1e742e90
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2003-05-08 H.J. Lu <hongjiu.lu@intel.com>
* elflink.h (elf_add_default_symbol): After skipping the
unversioned symbol, go to non-default one.
2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (_bfd_elf_link_hash_hide_symbol): Also clear the

View File

@@ -1108,7 +1108,7 @@ elf_add_default_symbol (abfd, info, h, name, sym, psec, value,
return FALSE;
if (skip)
return TRUE;
goto nondefault;
if (! override)
{
@@ -1203,6 +1203,7 @@ elf_add_default_symbol (abfd, info, h, name, sym, psec, value,
/* We also need to define an indirection from the nondefault version
of the symbol. */
nondefault:
len = strlen (name);
shortname = bfd_hash_allocate (&info->hash->table, len);
if (shortname == NULL)