Subversion Repositories HelenOS

Rev

Rev 1105 | Rev 1123 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

STARTUP(../libc/arch/ARCH/src/entry.o)
ENTRY(__start)

PHDRS {
    text PT_LOAD FLAGS(5);
    data PT_LOAD FLAGS(6);
}

SECTIONS {
    . = 0x4000;
    
    .init ALIGN(0x4000) : SUBALIGN(0x4000) {
        *(.init);
    } :text
    .text : {
            *(.text);
        *(.rodata*);
    } :text

    .data ALIGN(0x4000) : SUBALIGN(0x4000) {
        *(.data);
    } :data
    .got : {
        _gp = .;
        *(.data.rel*);
    } :data
    .sbss : {
        *(.scommon);
        *(.sbss);
    }   
    .bss : {
        *(.bss);
        *(COMMON);
        _heap = .;
        LONG(0xdeadbeef);
    } :data

    /DISCARD/ : {
        *(*);
    }
}