Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/arch/amd64/_link.ld.in

    r5e8b881 rfcd7053  
    1 /*
    2  * The difference from _link.ld.in for regular statically-linked apps
    3  * is the base address and the special interp section.
    4  */
    5 
    61STARTUP(LIBC_PREFIX/arch/UARCH/src/entry.o)
    72ENTRY(__entry)
     
    116        text PT_LOAD FLAGS(5);
    127        data PT_LOAD FLAGS(6);
    13         debug PT_NOTE;
    148}
    159
     
    1711        .interp : {
    1812                *(.interp);
    19         } :interp
    20        
    21         /* . = 0x0000700000001000; */
     13        } : interp
     14
     15        /* . = 0x0000700000001000;*/
    2216        . = 0x70001000;
    2317       
     
    2519                *(.init);
    2620        } :text
    27        
    2821        .text : {
    2922                *(.text);
     
    3427                *(.data);
    3528        } :data
    36        
    3729        .tdata : {
    3830                _tdata_start = .;
     
    4032                _tdata_end = .;
    4133        } :data
    42        
    4334        .tbss : {
    4435                _tbss_start = .;
     
    4637                _tbss_end = .;
    4738        } :data
    48        
    4939        _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
    50        
    5140        .bss : {
    5241                *(COMMON);
    5342                *(.bss);
    5443        } :data
    55        
    56 #ifdef CONFIG_LINE_DEBUG
    57         .comment 0 : { *(.comment); } :debug
    58         .debug_abbrev 0 : { *(.debug_abbrev); } :debug
    59         .debug_aranges 0 : { *(.debug_aranges); } :debug
    60         .debug_info 0 : { *(.debug_info); } :debug
    61         .debug_line 0 : { *(.debug_line); } :debug
    62         .debug_loc 0 : { *(.debug_loc); } :debug
    63         .debug_pubnames 0 : { *(.debug_pubnames); } :debug
    64         .debug_pubtypes 0 : { *(.debug_pubtypes); } :debug
    65         .debug_ranges 0 : { *(.debug_ranges); } :debug
    66         .debug_str 0 : { *(.debug_str); } :debug
    67 #endif
     44
     45        . = ALIGN(0x1000);
     46        _heap = .;
    6847       
    6948        /DISCARD/ : {
    7049                *(*);
    7150        }
     51
    7252}
Note: See TracChangeset for help on using the changeset viewer.