aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-11-13 22:49:54 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-11-13 22:49:54 +0000
commit051b857701ff2badffb87402a664853bbdf3caba (patch)
tree8913977c2106b04c48a781c66e7498c5e349837c /bfd/elflink.h
parent208d5cd0adbc0c273f15f51bb24ccefbce999f46 (diff)
downloadfsf-binutils-gdb-051b857701ff2badffb87402a664853bbdf3caba.zip
fsf-binutils-gdb-051b857701ff2badffb87402a664853bbdf3caba.tar.gz
fsf-binutils-gdb-051b857701ff2badffb87402a664853bbdf3caba.tar.bz2
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.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h
index 9a0f49a..4d3eb64 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -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;