Subversion Repositories HelenOS

Rev

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

STARTUP(LIBC_PREFIX/arch/UARCH/src/entry.o)
ENTRY(__entry)

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

SECTIONS {
    . = 0x4000 + SIZEOF_HEADERS;
    
    .init : {
        *(.init);
    } :text
    .text : {
            *(.text);
        *(.rodata*);
    } :text

    . = . + 0x4000;

    .data : {
        *(.data);
        *(.data.rel*);
    } :data

    .got : {
        _gp = .;
        *(.got);
    } :data

    .tdata : {
        _tdata_start = .;
        *(.tdata);
        _tdata_end = .;
        _tbss_start = .;
        *(.tbss);
        _tbss_end = .;
    } :data
    _tls_alignment = ALIGNOF(.tdata);

    .sbss : {
        *(.scommon);
        *(.sbss);
    }   
    .bss : {
        *(.bss);
        *(COMMON);
    } :data

    . = ALIGN(0x4000);
    _heap = .;

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