1b49374200
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.
11 lines
97 B
Perl
11 lines
97 B
Perl
SECTIONS
|
|
{
|
|
.data :
|
|
{
|
|
LONG (foo)
|
|
LONG (bar)
|
|
*(.data)
|
|
}
|
|
foo = .;
|
|
bar = .;
|
|
}
|