1SECTIONS {
2 . = 0;
3 . = ALIGN(0x400000);
4 .text : {
5 *(foo_section)
6 . += 0x7BFFFFC;
7 *(main_section)
8 ASSERT(foo == 0x400000, "Error: foo address is not 0x400000.");
9 ASSERT(_start == 0x8000000, "Error: _start address is not 0x8000000.");
10 }
11}
12