1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
SECTIONS { . = SIZEOF_HEADERS; 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; }