Retro68/binutils/ld/testsuite/ld-scripts/sizeof.t
Wolfgang Thaller f485e125c4 binutils 2.39
2022-10-27 20:45:45 +02:00

23 lines
285 B
Perl

SECTIONS {
.text :
{
text_start = .;
tmpdir/sizeof.o
text_end = .;
}
.data :
{
data_start = .;
. = . + SIZEOF(.text);
data_end = .;
}
.bss :
{
. = 8;
*(.bss)
}
}
sizeof_text = SIZEOF(.text);
sizeof_data = SIZEOF(.data);