diff options
Diffstat (limited to 'ld/pe-dll.c')
-rw-r--r-- | ld/pe-dll.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/pe-dll.c b/ld/pe-dll.c index 9d3ee5d..0c1c0de 100644 --- a/ld/pe-dll.c +++ b/ld/pe-dll.c @@ -720,9 +720,8 @@ process_def_file_and_drectve (bfd *abfd ATTRIBUTE_UNUSED, struct bfd_link_info * if (lang_elf_version_info && would_export) { bfd_boolean hide = 0; - char ofs = pe_details->underscored && symbols[j]->name[0] == '_'; (void) bfd_find_version_for_sym (lang_elf_version_info, - symbols[j]->name + ofs, &hide); + symbols[j]->name, &hide); would_export = !hide; } if (would_export) |