Ignore:
Timestamp:
Jan 28, 2014, 10:52:17 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
022851a
Parents:
16a41cc
git-author:
Sebastian Huber <sebastian.huber@…> (01/28/14 10:52:17)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/04/14 09:06:34)
Message:

bsps: Thread-local storage (TLS) for linkcmds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/h8300/h8sim/startup/linkcmds

    r16a41cc r960fd85  
    6060         _etext = .;
    6161    }  >ram
    62    .tors SIZEOF(.text) + ADDR(.text): {
     62    .tdata SIZEOF(.text) + ADDR(.text): {
     63        __TLS_Data_begin = .;
     64        *(.tdata .tdata.* .gnu.linkonce.td.*)
     65        __TLS_Data_end = .;
     66    }  >ram
     67    .tbss SIZEOF(.tdata) + ADDR(.tdata): {
     68        __TLS_BSS_begin = .;
     69        *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon)
     70        __TLS_BSS_end = .;
     71    }  >ram
     72    __TLS_Data_size = __TLS_Data_end - __TLS_Data_begin;
     73    __TLS_BSS_size = __TLS_BSS_end - __TLS_BSS_begin;
     74    __TLS_Size = __TLS_BSS_end - __TLS_Data_begin;
     75    __TLS_Alignment = ALIGNOF (.tdata);
     76   .tors SIZEOF(.tbss) + ADDR(.tbss): {
    6377        ___ctors = . ;
    6478        *(.ctors)
Note: See TracChangeset for help on using the changeset viewer.