Fix thinko checking for dlls in archives.
authorNick Clifton <nickc@redhat.com>
Wed, 4 Feb 2004 09:13:28 +0000 (09:13 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 4 Feb 2004 09:13:28 +0000 (09:13 +0000)
ld/ChangeLog
ld/emultempl/pe.em

index fc652ed30bf5fcbaa1cb55cb518e57c84cd93833..df0c6bb774abd8bc73e8f05d6ddd3e8eef544fa7 100644 (file)
@@ -1,3 +1,7 @@
+2004-02-04  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
+
 2004-01-28  Alan Modra  <amodra@bigpond.net.au>
 
        * genscripts.sh: Fix typo.
index 4f12d7f5bf96a631637f4fbaf6246ed27aa25281..8a7b20da92fff1f80dcc00a964a25066ea52d9a2 100644 (file)
@@ -1139,7 +1139,7 @@ gld_${EMULATION_NAME}_after_open (void)
                       extension, and use that for the remainder of the
                       comparisons.  */
                    pnt = strrchr (is3->the_bfd->filename, '.');
-                   if (pnt != NULL && strcmp (pnt, ".dll") != 0)
+                   if (pnt != NULL && strcmp (pnt, ".dll") == 0)
                      continue;
                  }