mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-28 20:34:54 +08:00

anders.blomdell@control.lth.se. * ld-scripts/sizeof.s: New file. * ld-scripts/sizeof.t: New file.
18 lines
243 B
Perl
18 lines
243 B
Perl
SECTIONS {
|
|
.text :
|
|
{
|
|
text_start = .;
|
|
tmpdir/sizeof.o
|
|
text_end = .;
|
|
}
|
|
.data :
|
|
{
|
|
data_start = .;
|
|
. = . + SIZEOF(.text);
|
|
data_end = .;
|
|
}
|
|
}
|
|
|
|
sizeof_text = SIZEOF(.text);
|
|
sizeof_data = SIZEOF(.data);
|