Ignore:
Timestamp:
2018-04-10T18:51:14Z (6 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/sparc64/_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);
     
    1310
    1411SECTIONS {
    15 #ifdef LOADER
    16         . = SEGMENT_START("text-segment", 0x70400000);
    17 #else
    1812        . = SEGMENT_START("text-segment", 0x400000);
    19 #endif
    2013#ifndef SHLIB
    2114        PROVIDE (__executable_start = .);
     
    3124                *(.rodata .rodata.*);
    3225        } :text
    33 
    34 #ifdef LOADER
    35         .interp : {
    36                 *(.interp);
    37         } :interp :text
    38 #endif
    3926
    4027        . = . + 0x4000;
Note: See TracChangeset for help on using the changeset viewer.