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.
10 lines
108 B
Raku
10 lines
108 B
Raku
SECTIONS
|
|
{
|
|
PROVIDE (foo = 1);
|
|
PROVIDE (bar = 2);
|
|
PROVIDE (baz = 3);
|
|
.data :
|
|
{
|
|
*(.data)
|
|
}
|
|
}
|