* yyscript.y (file_cmd): Handle INPUT.
This commit is contained in:
Ian Lance Taylor 2008-12-09 16:09:32 +00:00
parent bb6f53d37a
commit fbc558e16b
2 changed files with 4 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2008-12-09 Ian Lance Taylor <iant@google.com> 2008-12-09 Ian Lance Taylor <iant@google.com>
PR 7088
* yyscript.y (file_cmd): Handle INPUT.
* testsuite/initpri1.c: Change all declarations to be full * testsuite/initpri1.c: Change all declarations to be full
prototypes by adding void, to avoid compiler warnings. prototypes by adding void, to avoid compiler warnings.

View file

@ -242,6 +242,7 @@ file_cmd:
{ script_end_group(closure); } { script_end_group(closure); }
| INHIBIT_COMMON_ALLOCATION | INHIBIT_COMMON_ALLOCATION
{ script_set_common_allocation(closure, 0); } { script_set_common_allocation(closure, 0); }
| INPUT '(' input_list ')'
| OPTION '(' string ')' | OPTION '(' string ')'
{ script_parse_option(closure, $3.value, $3.length); } { script_parse_option(closure, $3.value, $3.length); }
| PHDRS '{' phdrs_defs '}' | PHDRS '{' phdrs_defs '}'