diff options
author | Ian Lance Taylor <ian@airs.com> | 2008-12-09 16:09:32 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2008-12-09 16:09:32 +0000 |
commit | fbc558e16b993e66a468bf5b901bc39a53b483d5 (patch) | |
tree | 9eeefc2933e508d55d345d8353838df998fdf976 /gold | |
parent | bb6f53d37a05df453b66f242b4074bca20bd8c67 (diff) | |
download | fsf-binutils-gdb-fbc558e16b993e66a468bf5b901bc39a53b483d5.zip fsf-binutils-gdb-fbc558e16b993e66a468bf5b901bc39a53b483d5.tar.gz fsf-binutils-gdb-fbc558e16b993e66a468bf5b901bc39a53b483d5.tar.bz2 |
PR 7088
* yyscript.y (file_cmd): Handle INPUT.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 3 | ||||
-rw-r--r-- | gold/yyscript.y | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 0d9d877..dbfe8f6 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -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. diff --git a/gold/yyscript.y b/gold/yyscript.y index 5ce03c5..5249320 100644 --- a/gold/yyscript.y +++ b/gold/yyscript.y @@ -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 '}' |