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

18 lines
272 B
Raku

SECTIONS
{
. = SIZEOF_HEADERS;
PROVIDE (foo = 1);
PROVIDE (bar = 2);
PROVIDE (baz = 3);
.data 0x2000 :
{
*(.data .rw)
PROVIDE (loc1 = ALIGN (., 0x10));
PROVIDE (loc2 = ALIGN (., 0x10));
}
PROVIDE (loc3 = loc1 + 0x20);
loc4 = loc2 + 0x20;
}