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

16 lines
285 B
Raku

SECTIONS
{
. = SIZEOF_HEADERS;
. = ALIGN(__section_alignment__);
.text __image_base__ + ( __section_alignment__ < 0x1000 ? . : __section_alignment__ ) :
{
*(.text)
}
. = . + 0x1000;
.data BLOCK(__section_alignment__) :
{
*(.data)
}
/DISCARD/ : { *(.*) }
}