This website requires JavaScript.
Explore
Help
Sign In
mirror
/
binutils-gdb
Watch
2
Star
0
Fork
0
You've already forked binutils-gdb
mirror of
https://sourceware.org/git/binutils-gdb.git
synced
2024-12-27 04:52:05 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
989993d80a
binutils-gdb
/
ld
/
testsuite
/
ld-scripts
/
provide-2.t
11 lines
115 B
Perl
Raw
Normal View
History
Unescape
Escape
* 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.
2004-02-23 18:10:02 +08:00
SECTIONS
{
PROVIDE
(
foo
=
1
)
;
PROVIDE
(
bar
=
2
)
;
PROVIDE
(
baz
=
3
)
;
* ld-crx/reloc-num8.d: Adjust for changed orphan placement. * ld-crx/reloc-num16.d: Likewise. * ld-crx/reloc-num32.d: Likewise. * ld-scripts/provide-2.t: Start .data at 0x2000. * ld-scripts/provide-2.d: Adjust.
2004-10-15 08:27:12 +08:00
.
data
0x2000
:
* 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.
2004-02-23 18:10:02 +08:00
{
*
(
.
data
)
}
}
Reference in New Issue
Copy Permalink