Retro68/binutils/ld/testsuite/ld-scripts/sizeof.t
2012-03-26 21:18:29 +02:00

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);