aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-09-24 21:16:47 +0000
committerNick Clifton <nickc@redhat.com>2001-09-24 21:16:47 +0000
commit85c774585e45889b3ce15d370b374fbadc878e54 (patch)
tree399b502fc85c631751e45a7766eb5a846de39e4d
parent9cc16c3a6bc44ffbf043930c8a1f54bb70700c20 (diff)
downloadgdb-85c774585e45889b3ce15d370b374fbadc878e54.zip
gdb-85c774585e45889b3ce15d370b374fbadc878e54.tar.gz
gdb-85c774585e45889b3ce15d370b374fbadc878e54.tar.bz2
Fix thinko
-rw-r--r--ld/ChangeLog8
-rw-r--r--ld/pe-dll.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index a9899f7..c94bbaa 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,9 +1,9 @@
-2001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
-
- * pe-dll.c: Remove spurious prototype.
-
2001-09-24 Charles Wilson <cwilson@ece.gatech.edu>
+ * pe-dll.c: Remove obsoleted declaration of
+ pe_get_data_import_dll_name.
+ (pe_create_import_fixup): Fix thinko.
+
* ld.texinfo(enable-auto-import): Clarify the explanation.
2001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index 3bce4da..17b3f06 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -2066,7 +2066,7 @@ pe_create_import_fixup (rel)
{
extern char * pe_data_import_dll;
- char * dll_symname = pe_data_import_dll ? "unknown" : pe_data_import_dll;
+ char * dll_symname = pe_data_import_dll ? pe_data_import_dll : "unknown";
bfd *b = make_import_fixup_entry (name, fixup_name, dll_symname,
output_bfd);