Changeset a33f0a6 in mainline for uspace/lib/c/arch/mips64/_link.ld.in


Ignore:
Timestamp:
2011-08-03T17:34:57Z (13 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1940326
Parents:
52a79081 (diff), 3fab770 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from mainline

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/mips64/_link.ld.in

    r52a79081 ra33f0a6  
    1 /*
    2  * The only difference from _link.ld.in for regular statically-linked apps
    3  * is the base address.
    4  */
    5 
    6 STARTUP(LIBC_PREFIX/arch/UARCH/src/entry.o)
     1OUTPUT_FORMAT(elf64-tradlittlemips)
     2STARTUP(LIBC_PATH/arch/UARCH/src/entry.o)
    73ENTRY(__entry)
    84
    95PHDRS {
     6#ifdef LOADER
    107        interp PT_INTERP;
     8        text PT_LOAD FILEHDR PHDRS FLAGS(5);
     9#else
    1110        text PT_LOAD FLAGS(5);
     11#endif
    1212        data PT_LOAD FLAGS(6);
    1313}
    1414
    1515SECTIONS {
     16#ifdef LOADER
    1617        .interp : {
    1718                *(.interp);
    1819        } :interp
    1920       
    20         . = 0x70004000;
    21        
    22         .init ALIGN(0x4000) : SUBALIGN(0x4000) {
     21        . = 0x70004000 + SIZEOF_HEADERS;
     22#else
     23        . = 0x4000 + SIZEOF_HEADERS;
     24#endif
     25        .init : {
    2326                *(.init);
    2427        } :text
Note: See TracChangeset for help on using the changeset viewer.