1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
PHDRS { headers PT_PHDR PHDRS; text PT_LOAD FILEHDR PHDRS; interp PT_INTERP ; } SECTIONS { . = SIZEOF_HEADERS; . = ALIGN(4); . = . + 0x1000; .interp : { *(.interp) } :text :interp .text : { *(.text) } :text }