From: H.J. Lu Date: Thu, 5 May 2005 14:30:04 +0000 (+0000) Subject: 2005-05-05 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=59fef9e758221469b7aeb82dacca01282c04baf9;p=binutils-gdb.git 2005-05-05 H.J. Lu PR 882 * elflink.c (_bfd_elf_link_assign_sym_version): Allow version script on executable. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4faeff8f564..dadf6be4670 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2005-05-05 H.J. Lu + + PR 882 + * elflink.c (_bfd_elf_link_assign_sym_version): Allow version + script on executable. + 2005-05-05 John Levon * dwarf2.c (read_abbrevs): If bfd_realloc fails, free currently diff --git a/bfd/elflink.c b/bfd/elflink.c index 393e155947c..5a65d23f193 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -1778,7 +1778,6 @@ _bfd_elf_link_assign_sym_version (struct elf_link_hash_entry *h, void *data) d = (*t->match) (&t->locals, NULL, alc); if (d != NULL && h->dynindx != -1 - && info->shared && ! info->export_dynamic) (*bed->elf_backend_hide_symbol) (info, h, TRUE); } @@ -1905,7 +1904,6 @@ _bfd_elf_link_assign_sym_version (struct elf_link_hash_entry *h, void *data) { h->verinfo.vertree = local_ver; if (h->dynindx != -1 - && info->shared && ! info->export_dynamic) { (*bed->elf_backend_hide_symbol) (info, h, TRUE);