diff options
author | Jim Blandy <jimb@codesourcery.com> | 2000-02-29 03:28:57 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2000-02-29 03:28:57 +0000 |
commit | 0c604c4090bd3e167b2c8bead3ebbfddfedb0369 (patch) | |
tree | 6950b5472b04b56b777f38166488c25d0053546b /ld/ldgram.y | |
parent | 8c149627ecda4089baae21aa1b301a28e2b69516 (diff) | |
download | binutils-redhat-0c604c4090bd3e167b2c8bead3ebbfddfedb0369.tar.gz |
* ldgram.y (exclude_name_list): Don't require a comma to separate
list entries; the lexer considers commas to be valid part of a
filename, so in something like `foo, bar' the comma is considered
part of the first filename, `foo,'.
* ld.texinfo: Update section on EXCLUDE_FILE lists.
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r-- | ld/ldgram.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y index 7189812815..806ea1c5f5 100644 --- a/ld/ldgram.y +++ b/ld/ldgram.y @@ -420,11 +420,11 @@ wildcard_spec: exclude_name_list: - exclude_name_list ',' wildcard_name + exclude_name_list wildcard_name { struct name_list *tmp; tmp = (struct name_list *) xmalloc (sizeof *tmp); - tmp->name = $3; + tmp->name = $2; tmp->next = $1; $$ = tmp; } |