From 051b857701ff2badffb87402a664853bbdf3caba Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 13 Nov 2000 22:49:54 +0000 Subject: [PATCH] 2000-11-08 H.J. Lu * elflink.h (elf_link_add_object_symbols): Also add indirect symbols for common symbols with the default version. --- bfd/ChangeLog | 5 +++++ bfd/elflink.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d6596a00a2f..02842980052 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2000-11-13 H.J. Lu + + * elflink.h (elf_link_add_object_symbols): Also add indirect + symbols for common symbols with the default version. + 2000-11-09 Philip Blundell * section.c (STD_SECTION): Set gc_mark flag. diff --git a/bfd/elflink.h b/bfd/elflink.h index 9a0f49a182d..4d3eb644b3a 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; -- 2.30.2