Changeset b5e68c8 in mainline for uspace/lib/c/arch/amd64/_link.ld.in


Ignore:
Timestamp:
2011-05-12T16:49:44Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f36787d7
Parents:
e80329d6 (diff), 750636a (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 mainline changes.

File:
1 edited

Legend:

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

    re80329d6 rb5e68c8  
    33
    44PHDRS {
     5#ifdef LOADER
     6        interp PT_INTERP;
     7        text PT_LOAD FILEHDR PHDRS FLAGS(5);
     8#else
    59        text PT_LOAD FLAGS(5);
     10#endif
    611        data PT_LOAD FLAGS(6);
     12        debug PT_NOTE;
    713}
    814
    915SECTIONS {
     16#ifdef LOADER
     17        .interp : {
     18                *(.interp);
     19        } :interp
     20       
     21        . = 0x70001000 + SIZEOF_HEADERS;
     22#else
    1023        . = 0x1000 + SIZEOF_HEADERS;
    11        
     24#endif
    1225        .init : {
    1326                *(.init);
    1427        } :text
     28       
    1529        .text : {
    16                 *(.text);
    17                 *(.rodata*);
     30                *(.text .text.*);
     31                *(.rodata .rodata.*);
    1832        } :text
    19 
     33       
    2034        . = . + 0x1000;
    21 
     35       
    2236        .data : {
    2337                *(.data);
    2438        } :data
     39       
    2540        .tdata : {
    2641                _tdata_start = .;
     
    3146                _tbss_end = .;
    3247        } :data
     48       
    3349        _tls_alignment = ALIGNOF(.tdata);
     50       
    3451        .bss : {
    3552                *(COMMON);
    3653                *(.bss);
    3754        } :data
    38 
    39         . = ALIGN(0x1000);
    40         _heap = .;
     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
    4168       
    4269        /DISCARD/ : {
    4370                *(*);
    4471        }
    45 
    4672}
Note: See TracChangeset for help on using the changeset viewer.