]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2003-05-08 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 8 May 2003 19:54:33 +0000 (19:54 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 8 May 2003 19:54:33 +0000 (19:54 +0000)
* elflink.h (elf_add_default_symbol): After skipping the
unversioned symbol, go to non-default one.

bfd/ChangeLog
bfd/elflink.h

index 59aba2e29e96938623b114a917245b6181f64665..6b1e021e2dbb8c0553a362c86fabab133b9bf280 100644 (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
index ade717dc74f933efe6f8af15ab4911875d146647..83fcff41768d298778d0a8d6bd25878d17a016cf 100644 (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)