[PATCH 6/6] Allow unquoted = as the first character in ld linker script input_list names
Hans-Peter Nilsson
hans-peter.nilsson@axis.com
Tue Oct 14 09:29:00 GMT 2014
> From: Alan Modra <amodra@gmail.com>
> Date: Tue, 14 Oct 2014 10:14:36 +0200
> 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.
Thanks. This alone or all 1-6 patches?
brgds, H-P
More information about the Binutils
mailing list