Retro68/binutils/ld/testsuite/ld-scripts/provide-4.t
2015-08-28 17:32:19 +02:00

17 lines
246 B
Raku

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