* elflink.h (NAME(bfd_elf,size_dynamic_sections): Don't count
definitions in shared objects when checking symbol with
undefined version.
+2002-08-13 H.J. Lu <hjl@gnu.org>
+
+ * elflink.h (NAME(bfd_elf,size_dynamic_sections): Don't count
+ definitions in shared objects when checking symbol with
+ undefined version.
+
2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
* elf32-m68hc11.c (elf32_m68hc11_gc_mark_hook): New for section GC.
}
free (newname);
- /* Mark this version if there is a definition. */
+ /* Mark this version if there is a definition and it is
+ not defined in a shared object. */
if (newh != NULL
+ && ((newh->elf_link_hash_flags
+ & ELF_LINK_HASH_DEF_DYNAMIC) == 0)
&& (newh->root.type == bfd_link_hash_defined
|| newh->root.type == bfd_link_hash_defweak))
d->symver = 1;