Wolfgang Thaller f485e125c4 binutils 2.39
2022-10-27 20:45:45 +02:00

9 lines
237 B
Perl

SECTIONS
{
.text : {*(.text .pr)}
.data ALIGN(0x1000) : AT (ALIGN (LOADADDR (.text) + SIZEOF (.text), 0x80))
{}
ASSERT (LOADADDR(.data) == 0x80, "dyadic ALIGN broken")
ASSERT (ADDR(.data) == 0x1000, "monadic ALIGN broken")
}