aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1998-09-23 23:09:54 +0000
committerRichard Henderson <rth@redhat.com>1998-09-23 23:09:54 +0000
commitc4a00a83023f9df53b160ff7b2bc8097eaa19183 (patch)
tree4d12a1a08f40d8a788775d4a3819394d46f8b21a /bfd/elflink.h
parent21056c79a4c7b131f9db81388b85599d4a474e7b (diff)
downloadgdb-c4a00a83023f9df53b160ff7b2bc8097eaa19183.zip
gdb-c4a00a83023f9df53b160ff7b2bc8097eaa19183.tar.gz
gdb-c4a00a83023f9df53b160ff7b2bc8097eaa19183.tar.bz2
* elflink.h (elf_link_add_object_symbols): Don't record a dynamic
symbol for the indirect alias to a versioned symbol.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h
index 64f8de80..5b5d5fc 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