diff options
Diffstat (limited to 'gold/yyscript.y')
-rw-r--r-- | gold/yyscript.y | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/yyscript.y b/gold/yyscript.y index 18f9496..51c755b 100644 --- a/gold/yyscript.y +++ b/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. */ |