* ld.texinfo (File Commands): Document that INCLUDE can be used in
commita0b484d35f3c5d3b7f74b2e3b1ed471440c1382b
authorNathan Sidwell <nathan@codesourcery.com>
Sun, 6 Jul 2008 13:38:37 +0000 (6 13:38 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Sun, 6 Jul 2008 13:38:37 +0000 (6 13:38 +0000)
tree9e84595f968f28ce7d2013fc5f045b3e172669a6
parent1f91b82462f5862997f352c94cfffec13cc8ee6d
* 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]