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
commit348f78780bf6f4039888a6c41835f54325fe632e (patch)
tree38adbaabb999b83071199a9055583684e67f4245
parentf18815c05d103b33791d2581b91f226353eaf93d (diff)
downloadbinutils-gdb-348f78780bf6f4039888a6c41835f54325fe632e.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 d011d37bb7b..c8980ee3e03 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 8764a70c358..a51fb88b3c6 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);
}
}