aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-02-04 09:13:28 +0000
committerNick Clifton <nickc@redhat.com>2004-02-04 09:13:28 +0000
commit07a68a8066964674e97657f85dfc24716caa52f3 (patch)
tree9aa6959b402933811c7e3ca52829a9d98bcf4809 /ld/emultempl
parentd6e78c110540e7a4629363ccf4aa04cc71148a26 (diff)
downloadbinutils-07a68a8066964674e97657f85dfc24716caa52f3.zip
binutils-07a68a8066964674e97657f85dfc24716caa52f3.tar.gz
binutils-07a68a8066964674e97657f85dfc24716caa52f3.tar.bz2
Fix thinko checking for dlls in archives.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/pe.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em
index 4f12d7f..8a7b20d 100644
--- a/ld/emultempl/pe.em
+++ b/ld/emultempl/pe.em
@@ -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;
}