diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2008-07-06 13:38:37 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2008-07-06 13:38:37 +0000 |
commit | 4006703d71641cd35a045f407a5c8bc85459978b (patch) | |
tree | efdd737568b7398b5dfbebf04eb1538c3144266a /ld/ld.texinfo | |
parent | b56e7235bb83ed5cf86c71db7c9009fd4491bd0d (diff) | |
download | gdb-4006703d71641cd35a045f407a5c8bc85459978b.zip gdb-4006703d71641cd35a045f407a5c8bc85459978b.tar.gz gdb-4006703d71641cd35a045f407a5c8bc85459978b.tar.bz2 |
* ld.texinfo (File Commands): Document that INCLUDE can be used in
several different places.
* ldgram.y (statement, memory_spec, section): Allow INCLUDE.
(memory, memory_spec_list): Simplify BNF
(memory_spec_list_opt): New rule.
* ldlex.l (INCLUDE): Recognize in EXPRESSION.
testsuite/
* ld-scripts/include-1.d: New.
* ld-scripts/include-1.t: New.
* ld-scripts/include-data.t: New.
* ld-scripts/include-mem.t: New.
* ld-scripts/include-ram.t: New.
* ld-scripts/include-sections.t: New.
* ld-scripts/include-subdata.t: New.
* ld-scripts/include.exp: New.
* ld-scripts/include.s: New.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index d0c0335..4400524 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -2764,6 +2764,9 @@ be searched for in the current directory, and in any directory specified with the @option{-L} option. You can nest calls to @code{INCLUDE} up to 10 levels deep. +You can place @code{INCLUDE} directives at the top level, in @code{MEMORY} or +@code{SECTIONS} commands, or in output section descriptions. + @item INPUT(@var{file}, @var{file}, @dots{}) @itemx INPUT(@var{file} @var{file} @dots{}) @kindex INPUT(@var{files}) |