* ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 29 Aug 2006 11:27:45 +0000 (11:27 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Tue, 29 Aug 2006 11:27:45 +0000 (11:27 +0000)
ld/ChangeLog
ld/ldlang.c

index 0ee5e613cd87efabf7ff0b60e293c2a6ba4d0a44..76bdc6593beed014473d9b23608d069310f0a952 100644 (file)
@@ -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
index 36a61308ac0525d5f3373b28eb4642b23ee492f8..5826557d420ad62479e8c42d97eb3da5276812d0 100644 (file)
@@ -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);
        }
     }