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/ppc32/_link.ld.in

    rf798178 r4ddbea7  
    1111SECTIONS {
    1212        . = 0x1000 + SIZEOF_HEADERS;
    13 
     13       
    1414        .interp : {
    1515                *(.interp);
    1616        } :text :interp
    17 
     17       
    1818        /* Align on word boundary -- instructions will follow. */
    1919        . = ALIGN(4);
    20 
     20       
    2121        .init : {
    2222                *(.init);
     
    2727                *(.rodata*);
    2828        } :text
    29 
     29       
    3030        .rel.plt : {
    3131                *(.rel.plt);
     
    3838                *(.rel.*);
    3939        } :text
    40 
     40       
    4141        .dynsym : {
    4242                *(.dynsym);
    4343        } :text
    44 
     44       
    4545        .dynstr : {
    4646                *(.dynstr);
    4747        } :text
    48 
     48       
    4949        . = . + 0x1000;
    50 
     50       
    5151        .dynamic : {
    5252                *(.dynamic);
    5353        } :data :dynamic
    54 
     54       
    5555        .data : {
    5656                *(.data);
    5757                *(.sdata);
    5858        } :data
    59 
     59       
    6060        .data.rel : {
    6161                *(.data.rel);
    6262        } :data
    63 
     63       
    6464        .got : {
    6565                *(.got);
     
    6868                *(.got.plt);
    6969        } :data
    70 
     70       
    7171/*      .tdata : {
    7272                _tdata_start = .;
    7373                *(.tdata);
    7474                _tdata_end = .;
    75         } :data
    76         .tbss : {
    7775                _tbss_start = .;
    7876                *(.tbss);
    7977                _tbss_end = .;
    8078        } :data
    81         _tls_alignment = MAX(ALIGNOF(.tdata), ALIGNOF(.tbss));
     79       
     80        _tls_alignment = ALIGNOF(.tdata);
     81       
    8282*/
    8383        .bss : {
     
    8686                *(.bss);
    8787        } :data
    88 
     88       
    8989        .plt : {
    9090                *(.plt);
    9191        } :data
    92 
     92       
    9393        /DISCARD/ : {
    9494                *(.comment);
    9595                *(.gnu.attributes);
    9696        }
    97 
     97       
    9898        . = ALIGN(0x1000);
    9999        _heap = .;
Note: See TracChangeset for help on using the changeset viewer.