From 3214fcdc849b0ec5900399daf2db2f1edb492fcf Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 4 Feb 2004 09:13:28 +0000 Subject: [PATCH] Fix thinko checking for dlls in archives. --- ld/ChangeLog | 4 ++++ ld/emultempl/pe.em | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index fc652ed30..df0c6bb77 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2004-02-04 Danny Smith + + * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch. + 2004-01-28 Alan Modra * genscripts.sh: Fix typo. diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index 4f12d7f5b..8a7b20da9 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; } -- 2.11.4.GIT