old-cross-binutils/ld/testsuite/ld-scripts/sizeof.t

18 lines
243 B
Perl
Raw Normal View History

1999-05-03 07:29:11 +00:00
SECTIONS {
.text :
{
text_start = .;
tmpdir/sizeof.o
text_end = .;
}
.data :
{
data_start = .;
. = . + SIZEOF(.text);
data_end = .;
}
}
sizeof_text = SIZEOF(.text);
sizeof_data = SIZEOF(.data);