diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-05-05 14:30:04 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-05-05 14:30:04 +0000 |
commit | 59fef9e758221469b7aeb82dacca01282c04baf9 (patch) | |
tree | 94e178763c9fabb2393fa53361b9378ba13c6a76 | |
parent | 35330cce1aa1c88c8724038fdb8e2ab9b4e45186 (diff) | |
download | gdb-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.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elflink.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4faeff8..dadf6be 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +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. + 2005-05-05 John Levon <levon@movementarian.org> * dwarf2.c (read_abbrevs): If bfd_realloc fails, free currently 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); |