Subversion Repositories HelenOS-historic

Rev

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

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

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

SECTIONS {
    . = 0x4000;

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

    .got ALIGN(0x4000) : SUBALIGN(0x4000) {
        *(.got*);
    } :data 
    .data : {
        _gp = .;
        *(.opd);
        *(.data);
        *(.sdata);
    } :data
    .bss : {
        *(.sbss);
        *(.scommon);
        *(COMMON);
        *(.bss);
    } :data
 
    /DISCARD/ : {
        *(*);
        }
}