aboutsummaryrefslogtreecommitdiff
path: root/ld/pe-dll.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-09-24 18:21:24 +0000
committerNick Clifton <nickc@redhat.com>2001-09-24 18:21:24 +0000
commitaa3d9aba51be7011ea787c38f891c16910d2ed50 (patch)
tree440a5766e18352b27b8679b06399e90a29d2c16f /ld/pe-dll.c
parent96d2f608dcfdd177211dbb65b607d3bc03d1b320 (diff)
downloadgdb-aa3d9aba51be7011ea787c38f891c16910d2ed50.zip
gdb-aa3d9aba51be7011ea787c38f891c16910d2ed50.tar.gz
gdb-aa3d9aba51be7011ea787c38f891c16910d2ed50.tar.bz2
oops - omitted from previous delta
Diffstat (limited to 'ld/pe-dll.c')
-rw-r--r--ld/pe-dll.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index f62835d..7c6dddb 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -2069,8 +2069,10 @@ pe_create_import_fixup (rel)
}
{
- bfd *b = make_import_fixup_entry (name, fixup_name,
- pe_get_data_import_dll_name (),
+ extern char * pe_data_import_dll;
+ char * dll_symname = pe_data_import_dll ? "unknown" : pe_data_import_dll;
+
+ bfd *b = make_import_fixup_entry (name, fixup_name, dll_symname,
output_bfd);
add_bfd_to_link (b, b->filename, &link_info);
}