Changeset 20287223 in mainline for uspace/lib/c/arch/ia64/_link.ld.in


Ignore:
Timestamp:
2018-04-10T18:51:14Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ae84e38
Parents:
57d44dd
Message:

Instead of having a special linker script for loader, move its base using a linker command line option.

File:
1 edited

Legend:

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

    r57d44dd r20287223  
    33
    44PHDRS {
    5 #ifdef LOADER
    6         interp PT_INTERP;
    7 #endif
    85        text PT_LOAD FILEHDR PHDRS FLAGS(5);
    96        data PT_LOAD FLAGS(6);
     
    129
    1310SECTIONS {
    14 #ifdef LOADER
    15         . = SEGMENT_START("text-segment", 0x8000000000);
    16 #else
    1711        . = SEGMENT_START("text-segment", 0x400000);
    18 #endif
    1912#ifndef SHLIB
    2013        PROVIDE (__executable_start = .);
     
    3326                *(.rodata .rodata.*);
    3427        } :text
    35 
    36 #ifdef LOADER
    37         .interp : {
    38                 *(.interp);
    39         } :interp :text
    40 #endif
    4128
    4229        . = . + 0x4000;
Note: See TracChangeset for help on using the changeset viewer.