Changeset 18e47db5 in rtems for bsps/m68k/mrm332/start/linkcmds


Ignore:
Timestamp:
12/11/21 10:43:44 (10 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
d404771
Parents:
e92bc254
git-author:
Sebastian Huber <sebastian.huber@…> (12/11/21 10:43:44)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/22/21 07:17:49)
Message:

bsp/mrm332: Fix TLS support in linker command file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/m68k/mrm332/start/linkcmds

    re92bc254 r18e47db5  
    140140    KEEP (*(SORT(.rtemsroset.*)))
    141141    *(.gnu.linkonce.r*)
    142 
    143     . = ALIGN (16);
    144     PROVIDE (_etext = .);
    145     _endtext = .;
    146     __data_start_rom = .;
    147142  } > rom
    148143  .tdata : {
     
    155150    *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon)
    156151    _TLS_BSS_end = .;
     152
     153    . = ALIGN (16);
     154    PROVIDE (_etext = .);
     155    _endtext = .;
     156    __data_start_rom = .;
    157157  } > rom
    158158  _TLS_Data_size = _TLS_Data_end - _TLS_Data_begin;
     
    162162  _TLS_Size = _TLS_BSS_end - _TLS_Data_begin;
    163163  _TLS_Alignment = MAX (ALIGNOF (.tdata), ALIGNOF (.tbss));
    164   .gcc_exc :
    165   AT ( ADDR(.tdata) + SIZEOF( .tdata ) )
    166   {
    167     *(.gcc_exc)
    168   } > ram
    169164  .data : AT(__data_start_rom)
    170165  {
     
    173168        KEEP (*(SORT(.rtemsrwset.*)))
    174169        *(.gnu.linkonce.d*)
     170        *(.gcc_exc)
    175171        *(.gcc_except_table*)
    176172        *(.jcr)
Note: See TracChangeset for help on using the changeset viewer.