2000-11-08 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 13 Nov 2000 22:49:54 +0000 (22:49 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 13 Nov 2000 22:49:54 +0000 (22:49 +0000)
* elflink.h (elf_link_add_object_symbols): Also add indirect
symbols for common symbols with the default version.

bfd/ChangeLog
bfd/elflink.h

index d6596a00a2f7bf3f47ab46a4f55b4f773e7bf932..02842980052cda11b58a41e14433625888fca881 100644 (file)
@@ -1,3 +1,8 @@
+2000-11-13  H.J. Lu  <hjl@gnu.org>
+
+       * elflink.h (elf_link_add_object_symbols): Also add indirect
+       symbols for common symbols with the default version.
+
 2000-11-09  Philip Blundell  <pb@futuretv.com>
 
        * section.c (STD_SECTION): Set gc_mark flag.
index 9a0f49a182dccbaed715c9786d9a9456973866f9..4d3eb644b3a14ddb3e5db8f794089359e8a9aa49 100644 (file)
@@ -1715,7 +1715,7 @@ elf_link_add_object_symbols (abfd, info)
              name to the fully decorated name.  This will cause
              external references which do not specify a version to be
              bound to this version of the symbol.  */
-         if (definition)
+         if (definition || h->root.type == bfd_link_hash_common)
            {
              char *p;
 
This page took 0.036988 seconds and 4 git commands to generate.