From 68bbb9f788d0e5206f4ec106746a388b52c141c1 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Tue, 29 Aug 2006 11:27:45 +0000 Subject: [PATCH] * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match. --- ld/ChangeLog | 4 ++++ ld/ldlang.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 0ee5e613cd8..76bdc6593be 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2006-08-29 Nathan Sidwell + + * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match. + 2006-08-28 Alan Modra * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will diff --git a/ld/ldlang.c b/ld/ldlang.c index 36a61308ac0..5826557d420 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -791,7 +791,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); } } -- 2.30.2