Ignore:
Timestamp:
04/30/14 12:54:58 (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
d20b029
Parents:
1461b648
git-author:
Sebastian Huber <sebastian.huber@…> (04/30/14 12:54:58)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/05/14 06:26:27)
Message:

score: Fix TLS size usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/tls.h

    r1461b648 rbee71f8e  
    8080  uintptr_t offset;
    8181} TLS_Index;
     82
     83static inline uintptr_t _TLS_Get_size( void )
     84{
     85  /*
     86   * Do not use _TLS_Size here since this will lead GCC to assume that this
     87   * symbol is not 0 and the tests for 0 will be optimized away.
     88   */
     89  return (uintptr_t) _TLS_BSS_end - (uintptr_t) _TLS_Data_begin;
     90}
    8291
    8392static inline uintptr_t _TLS_Heap_align_up( uintptr_t val )
Note: See TracChangeset for help on using the changeset viewer.