From: Nathan Sidwell Date: Tue, 29 Aug 2006 11:27:45 +0000 (+0000) Subject: * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68bbb9f788d0;p=binutils-gdb.git * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match. --- 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); } }