brintos

brintos / llvm-project-archived public Read only

0
0
Text · 292 B · 94a170e Raw
12 lines · plain
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