Fix thinko
authorNick Clifton <nickc@redhat.com>
Mon, 24 Sep 2001 21:16:47 +0000 (21:16 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 24 Sep 2001 21:16:47 +0000 (21:16 +0000)
ld/ChangeLog
ld/pe-dll.c

index a9899f78dc5e0847129266d0e18bf26a91bc5485..c94bbaa9fc17d6d9d51d13dd4b37d35bcf990ac4 100644 (file)
@@ -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>
index 3bce4da0e858710a75291b5bde7a1cbf889d230d..17b3f06d9e94c0466f43a3262f0c5dd13c3b1d60 100644 (file)
@@ -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);