diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2006-08-29 11:27:45 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2006-08-29 11:27:45 +0000 |
commit | 68bbb9f788d0e5206f4ec106746a388b52c141c1 (patch) | |
tree | b47590f2a74ac5c2afae8566a4025feaa4e55a88 | |
parent | a0c4652421276910a68673d5c4f2a43ff42d5b7d (diff) | |
download | gdb-68bbb9f788d0e5206f4ec106746a388b52c141c1.zip gdb-68bbb9f788d0e5206f4ec106746a388b52c141c1.tar.gz gdb-68bbb9f788d0e5206f4ec106746a388b52c141c1.tar.bz2 |
* ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/ldlang.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 0ee5e61..76bdc65 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2006-08-29 Nathan Sidwell <nathan@codesourcery.com> + + * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match. + 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 36a6130..5826557 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); } } |