]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* elflink.h (elf_link_add_object_symbols): Don't record a dynamic
authorRichard Henderson <rth@redhat.com>
Wed, 23 Sep 1998 23:09:54 +0000 (23:09 +0000)
committerRichard Henderson <rth@redhat.com>
Wed, 23 Sep 1998 23:09:54 +0000 (23:09 +0000)
        symbol for the indirect alias to a versioned symbol.

bfd/ChangeLog
bfd/elflink.h

index 41eb9894429737dbf9cdace862d3494567637640..baefdbcf69984e1b6ad922a0ab55ab526ae7047d 100644 (file)
@@ -1,3 +1,8 @@
+Wed Sep 23 16:09:31 1998  Richard Henderson  <rth@cygnus.com>
+
+        * 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  <clm@cygnus.com>
 
         * elf32-i386.c (elf32_i386_vtinherit_howto): New.
index 64f8de80f9870b82894105f4b0218832011318bd..5b5d5fce1ebb0c23d9b80091914163e2ae4037f6 100644 (file)
@@ -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