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/abs32le/_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", 0x70400000);
    16 #else
    1711        . = SEGMENT_START("text-segment", 0x400000);
    18 #endif
    1912#ifndef SHLIB
    2013        PROVIDE (__executable_start = .);
     
    2619                *(.rodata .rodata.*);
    2720        } :text
    28 
    29 #ifdef LOADER
    30         .interp : {
    31                 *(.interp);
    32         } :interp :text
    33 #endif
    3421
    3522        . = . + 0x1000;
Note: See TracChangeset for help on using the changeset viewer.