OSDN Git Service

* ld.texinfo (File Commands): Document that INCLUDE can be used in
authornathan <nathan>
Sun, 6 Jul 2008 13:38:36 +0000 (13:38 +0000)
committernathan <nathan>
Sun, 6 Jul 2008 13:38:36 +0000 (13:38 +0000)
commit09b0799dfe3b403004d6c283444ecf9ac730482e
tree055fcf93aa64c8847fe7516d5e63347bdf98bb7c
parent2cfea4faa3d109a4d6769cb03f96ae19d18eb11c
* 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]