Fix thinko checking for dlls in archives.

This commit is contained in:
Nick Clifton 2004-02-04 09:13:28 +00:00
parent d6e78c1105
commit 07a68a8066
2 changed files with 5 additions and 1 deletions

View 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.

View 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;
}