This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 6/6] Allow unquoted = as the first character in ld linker script input_list names
- From: Alan Modra <amodra at gmail dot com>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 14 Oct 2014 18:44:36 +1030
- Subject: Re: [PATCH 6/6] Allow unquoted = as the first character in ld linker script input_list names
- Authentication-results: sourceware.org; auth=none
- References: <201410090317 dot s993HPHQ020988 at ignucius dot se dot axis dot com>
On Thu, Oct 09, 2014 at 05:17:25AM +0200, Hans-Peter Nilsson wrote:
> ld:
> * ldlex.l (INPUTLIST): New start condition.
> (comment pattern, ",", "(", ")", "AS_NEEDED")
> ({FILENAMECHAR1}{FILENAMECHAR}*, "-l"{FILENAMECHAR}+)
> (quoted string pattern, whitespace pattern): Add INPUTLIST to
> valid start conditions.
> (<INPUTLIST>"="{FILENAMECHAR1}{FILENAMECHAR}*): New NAME rule.
> (ldlex_inputlist): New start-condition-setter function.
> * ldgram.y (input_list1): Rename from input_list. All recursive
> use changed.
> (input_list): New wrapper rule for input_list1, setting
> INPUTLIST lexer state for the duration of parsing input_list1.
OK.
--
Alan Modra
Australia Development Lab, IBM