PR 7088
authorIan Lance Taylor <ian@airs.com>
Tue, 9 Dec 2008 16:09:32 +0000 (16:09 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 9 Dec 2008 16:09:32 +0000 (16:09 +0000)
* yyscript.y (file_cmd): Handle INPUT.

gold/ChangeLog
gold/yyscript.y

index 0d9d877665d7f754da08360f75efd0d526f0a07d..dbfe8f636db37e67044116a0fe9a31b7afef9320 100644 (file)
@@ -1,5 +1,8 @@
 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
        prototypes by adding void, to avoid compiler warnings.
 
index 5ce03c5727aa089d5bec5aa51c59e67c9d5a6109..52493202695f0c9a48085f77db3e4460193a8097 100644 (file)
@@ -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 '}'