* ldlang.h (struct lang_output_section_state): Change processed
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 23 Feb 2004 10:10:02 +0000 (10:10 +0000)
committerNathan Sidwell <nathan@codesourcery.com>
Mon, 23 Feb 2004 10:10:02 +0000 (10:10 +0000)
commit1b493742004fd74ebe85a9f93bf28aebe8e858c8
treef1826439768b794f38f3eaa09a25daafcb5a0634
parent33ed461333b1726596e446392627ad2a93b6a62c
* ldlang.h (struct lang_output_section_state): Change processed
field's type.
* ldexp.c (check, invalid): Remove.
(fold_name): Move valid_p assignments. Create undefined symbol
when needed. Directly exampine section's processd flag.
* ldlang.c (lang_output_section_statement_lookup): Adjust
processed field init.
(lang_size_sections_1): Allow LOADADDR when determining section's
VMA. Adjust error message. Fold data statement's expr.
(lang_size_sections): Correctly increment lang_statement_iteration.

* ld-scripts/provide.exp: New.
* ld-scripts/provide-{1,2,3}.{s,t,d}.exp: New.

* ldexp.c (fold_tree): Follow indirect symbols.
15 files changed:
ld/ChangeLog
ld/ldexp.c
ld/ldlang.c
ld/ldlang.h
ld/testsuite/ChangeLog
ld/testsuite/ld-scripts/provide-1.d [new file with mode: 0644]
ld/testsuite/ld-scripts/provide-1.s [new file with mode: 0644]
ld/testsuite/ld-scripts/provide-1.t [new file with mode: 0644]
ld/testsuite/ld-scripts/provide-2.d [new file with mode: 0644]
ld/testsuite/ld-scripts/provide-2.s [new file with mode: 0644]
ld/testsuite/ld-scripts/provide-2.t [new file with mode: 0644]
ld/testsuite/ld-scripts/provide-3.d [new file with mode: 0644]
ld/testsuite/ld-scripts/provide-3.s [new file with mode: 0644]
ld/testsuite/ld-scripts/provide-3.t [new file with mode: 0644]
ld/testsuite/ld-scripts/provide.exp [new file with mode: 0644]