summaryrefslogtreecommitdiffstats
path: root/binutils-2.22/gold/yyscript.y
diff options
context:
space:
mode:
authorBen Cheng <bccheng@google.com>2012-11-01 14:19:35 -0700
committerBen Cheng <bccheng@google.com>2012-11-01 14:27:04 -0700
commit6d5ce99288a663253fd2cde30516257f754cc776 (patch)
treed57b8b65cf7b807324908da748ba1845b8e2941a /binutils-2.22/gold/yyscript.y
parent6b95f5ef54a29597409e24d7fe6670238d58ff04 (diff)
downloadtoolchain_binutils-6d5ce99288a663253fd2cde30516257f754cc776.zip
toolchain_binutils-6d5ce99288a663253fd2cde30516257f754cc776.tar.gz
toolchain_binutils-6d5ce99288a663253fd2cde30516257f754cc776.tar.bz2
Refresh binutils to 2.22.90.
Missing local patches will be added after. Change-Id: I7e5f7529f165a48db48a07f08b85f36c2faa8d4a
Diffstat (limited to 'binutils-2.22/gold/yyscript.y')
-rw-r--r--binutils-2.22/gold/yyscript.y4
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils-2.22/gold/yyscript.y b/binutils-2.22/gold/yyscript.y
index 18f9496..51c755b 100644
--- a/binutils-2.22/gold/yyscript.y
+++ b/binutils-2.22/gold/yyscript.y
@@ -528,6 +528,8 @@ section_cmd:
nothing, we accept it and ignore it. */
}
| SORT_BY_NAME '(' CONSTRUCTORS ')'
+ | INCLUDE string
+ { script_include_directive(closure, $2.value, $2.length); }
| ';'
;
@@ -689,6 +691,8 @@ file_or_sections_cmd:
| assignment end
| ASSERT_K '(' parse_exp ',' string ')'
{ script_add_assertion(closure, $3, $5.value, $5.length); }
+ | INCLUDE string
+ { script_include_directive(closure, $2.value, $2.length); }
;
/* A list of MEMORY definitions. */