* ld.texinfo (File Commands): Document that INCLUDE can be used in
authorNathan Sidwell <nathan@codesourcery.com>
Sun, 6 Jul 2008 13:38:37 +0000 (13:38 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Sun, 6 Jul 2008 13:38:37 +0000 (13:38 +0000)
commit4006703d71641cd35a045f407a5c8bc85459978b
treeefdd737568b7398b5dfbebf04eb1538c3144266a
parentb56e7235bb83ed5cf86c71db7c9009fd4491bd0d
* 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.
14 files changed:
ld/ChangeLog
ld/ld.texinfo
ld/ldgram.y
ld/ldlex.l
ld/testsuite/ChangeLog
ld/testsuite/ld-scripts/include-1.d [new file with mode: 0644]
ld/testsuite/ld-scripts/include-1.t [new file with mode: 0644]
ld/testsuite/ld-scripts/include-data.t [new file with mode: 0644]
ld/testsuite/ld-scripts/include-mem.t [new file with mode: 0644]
ld/testsuite/ld-scripts/include-ram.t [new file with mode: 0644]
ld/testsuite/ld-scripts/include-sections.t [new file with mode: 0644]
ld/testsuite/ld-scripts/include-subdata.t [new file with mode: 0644]
ld/testsuite/ld-scripts/include.exp [new file with mode: 0644]
ld/testsuite/ld-scripts/include.s [new file with mode: 0644]