From: Richard Henderson Date: Wed, 23 Sep 1998 23:09:54 +0000 (+0000) Subject: * elflink.h (elf_link_add_object_symbols): Don't record a dynamic X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c4a00a83023f9df53b160ff7b2bc8097eaa19183;p=binutils-gdb.git * elflink.h (elf_link_add_object_symbols): Don't record a dynamic symbol for the indirect alias to a versioned symbol. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 41eb9894429..baefdbcf699 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Wed Sep 23 16:09:31 1998 Richard Henderson + + * elflink.h (elf_link_add_object_symbols): Don't record a dynamic + symbol for the indirect alias to a versioned symbol. + Mon Sep 21 12:15:22 1998 Catherine Moore * elf32-i386.c (elf32_i386_vtinherit_howto): New. diff --git a/bfd/elflink.h b/bfd/elflink.h index 64f8de80f98..5b5d5fce1eb 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -1423,8 +1423,13 @@ elf_link_add_object_symbols (abfd, info) { h->elf_link_hash_flags &=~ ELF_LINK_HASH_DEF_DYNAMIC; hi->elf_link_hash_flags |= ELF_LINK_HASH_REF_DYNAMIC; +#if 0 + /* Don't record the unversioned alias. This + produces bogus ABS symbols on export as + they never get defined peroperly. */ if (! _bfd_elf_link_record_dynamic_symbol (info, hi)) goto error_return; +#endif } /* Now set HI to H, so that the following code