aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-05-05 14:30:04 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-05-05 14:30:04 +0000
commit59fef9e758221469b7aeb82dacca01282c04baf9 (patch)
tree94e178763c9fabb2393fa53361b9378ba13c6a76 /bfd/elflink.c
parent35330cce1aa1c88c8724038fdb8e2ab9b4e45186 (diff)
downloadgdb-59fef9e758221469b7aeb82dacca01282c04baf9.zip
gdb-59fef9e758221469b7aeb82dacca01282c04baf9.tar.gz
gdb-59fef9e758221469b7aeb82dacca01282c04baf9.tar.bz2
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
PR 882 * elflink.c (_bfd_elf_link_assign_sym_version): Allow version script on executable.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r--bfd/elflink.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 393e155..5a65d23 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);