This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 6/6] Allow unquoted = as the first character in ld linker script input_list names


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]