projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb6f53d
)
PR 7088
author
Ian Lance Taylor
<ian@airs.com>
Tue, 9 Dec 2008 16:09:32 +0000
(16:09 +0000)
committer
Ian Lance Taylor
<ian@airs.com>
Tue, 9 Dec 2008 16:09:32 +0000
(16:09 +0000)
* yyscript.y (file_cmd): Handle INPUT.
gold/ChangeLog
patch
|
blob
|
history
gold/yyscript.y
patch
|
blob
|
history
diff --git
a/gold/ChangeLog
b/gold/ChangeLog
index 0d9d877665d7f754da08360f75efd0d526f0a07d..dbfe8f636db37e67044116a0fe9a31b7afef9320 100644
(file)
--- 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 5ce03c5727aa089d5bec5aa51c59e67c9d5a6109..52493202695f0c9a48085f77db3e4460193a8097 100644
(file)
--- 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 '}'