Ignore:
Timestamp:
2011-04-30T14:49:50Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
729f774f
Parents:
f798178
Message:

Bring linker scripts closer to the default one (debug, tbss).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/shared/arch/ia32/_lib.ld.in

    rf798178 r4ddbea7  
    7171                _tdata_start = .;
    7272                *(.tdata);
     73                *(.gnu.linkonce.tb.*);
    7374                _tdata_end = .;
    74         } :data
    75         .tbss : {
    7675                _tbss_start = .;
    7776                *(.tbss);
    7877                _tbss_end = .;
    7978        } :data
    80         _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
    81        
     79        _tls_alignment = ALIGNOF(.tdata);
     80
     81#ifdef CONFIG_LINE_DEBUG
     82        .comment 0 : { *(.comment); } :debug
     83        .debug_abbrev 0 : { *(.debug_abbrev); } :debug
     84        .debug_aranges 0 : { *(.debug_aranges); } :debug
     85        .debug_info 0 : { *(.debug_info); } :debug
     86        .debug_line 0 : { *(.debug_line); } :debug
     87        .debug_loc 0 : { *(.debug_loc); } :debug
     88        .debug_pubnames 0 : { *(.debug_pubnames); } :debug
     89        .debug_pubtypes 0 : { *(.debug_pubtypes); } :debug
     90        .debug_ranges 0 : { *(.debug_ranges); } :debug
     91        .debug_str 0 : { *(.debug_str); } :debug
     92#endif
    8293        . = ALIGN(0x1000);
    8394        _heap = .;
Note: See TracChangeset for help on using the changeset viewer.