summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2006-08-29 11:09:04 +0000
committerNathan Sidwell <nathan@codesourcery.com>2006-08-29 11:09:04 +0000
commit359ec8a29f0d5be7751324e5a5c50eefbe350d26 (patch)
treedb00c84a0076cece4965b7c4acb9545ce377ecca
parent54b733d612bbfaf5ac293fc8be3f93984767c557 (diff)
downloadbinutils-redhat-359ec8a29f0d5be7751324e5a5c50eefbe350d26.tar.gz
* ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
-rw-r--r--ChangeLog.csl4
-rw-r--r--ld/ldlang.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl
index d011d37bb7..c8980ee3e0 100644
--- a/ChangeLog.csl
+++ b/ChangeLog.csl
@@ -1,5 +1,9 @@
2006-08-29 Nathan Sidwell <nathan@codesourcery.com>
+ * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
+
+2006-08-29 Nathan Sidwell <nathan@codesourcery.com>
+
ld/
Backport 2006-08-28 Alan Modra <amodra@bigpond.net.au>
* scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 8764a70c35..a51fb88b3c 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -669,7 +669,7 @@ walk_wild (lang_wild_statement_type *s, callback_t callback, void *data)
{
LANG_FOR_EACH_INPUT_STATEMENT (f)
{
- if (fnmatch (file_spec, f->filename, FNM_FILE_NAME) == 0)
+ if (fnmatch (file_spec, f->filename, 0) == 0)
walk_wild_file (s, f, callback, data);
}
}