2000-11-08 H.J. Lu <hjl@gnu.org>

* elflink.h (elf_link_add_object_symbols): Also add indirect
	symbols for common symbols with the default version.
This commit is contained in:
H.J. Lu 2000-11-13 22:49:54 +00:00
parent 208d5cd0ad
commit 051b857701
2 changed files with 6 additions and 1 deletions

View 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.

View 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;