mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
2011-11-11 Sterling Augustine <saugustine@google.com>
* yyscript.y (section_cmd): Add support for INCLUDE directive. (file_or_sections_cmd): Likewise.
This commit is contained in:
parent
f4a8b6d7ab
commit
98ef3ea486
@ -1,3 +1,8 @@
|
||||
2011-11-11 Sterling Augustine <saugustine@google.com>
|
||||
|
||||
* yyscript.y (section_cmd): Add support for INCLUDE directive.
|
||||
(file_or_sections_cmd): Likewise.
|
||||
|
||||
2011-11-11 Doug Kwan <dougkwan@google.com>
|
||||
|
||||
* arm.cc (Target_arm::do_make_elf_object): Allow executable also
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user