This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
gold patch committed: Handle INPUT
- From: Ian Lance Taylor <iant at google dot com>
- To: binutils at sourceware dot org
- Date: Tue, 09 Dec 2008 08:10:13 -0800
- Subject: gold patch committed: Handle INPUT
I forgot to handle the INPUT keyword. I committed this patch to fix
it.
Ian
2008-12-09 Ian Lance Taylor <iant@google.com>
PR 7088
* yyscript.y (file_cmd): Handle INPUT.
Index: yyscript.y
===================================================================
RCS file: /cvs/src/src/gold/yyscript.y,v
retrieving revision 1.17
diff -p -u -r1.17 yyscript.y
--- yyscript.y 6 Nov 2008 07:23:31 -0000 1.17
+++ yyscript.y 9 Dec 2008 16:08:43 -0000
@@ -242,6 +242,7 @@ file_cmd:
{ script_end_group(closure); }
| INHIBIT_COMMON_ALLOCATION
{ script_set_common_allocation(closure, 0); }
+ | INPUT '(' input_list ')'
| OPTION '(' string ')'
{ script_parse_option(closure, $3.value, $3.length); }
| PHDRS '{' phdrs_defs '}'