/branches/dynload/uspace/app/iloader/arch/ia32/_link.ld.in |
---|
1,16 → 1,21 |
/* |
* The only difference from _link.ld.in for regular statically-linked apps |
* is the base address. |
* The difference from _link.ld.in for regular statically-linked apps |
* is the base address and the special interp section. |
*/ |
STARTUP(LIBC_PREFIX/arch/ARCH/src/entry.o) |
ENTRY(__entry) |
PHDRS { |
text PT_LOAD FLAGS(5); |
interp PT_INTERP; |
text PT_LOAD FILEHDR PHDRS FLAGS(5); |
data PT_LOAD FLAGS(6); |
} |
SECTIONS { |
.interp : { |
*(.interp); |
} : interp |
. = 0x70001000; |
.init ALIGN(0x1000) : SUBALIGN(0x1000) { |