[RTEMS Project] #2468: Add Thread Local Storage (TLS) support on x86

RTEMS trac trac at rtems.org
Fri Nov 13 15:16:53 UTC 2015

#2468: Add Thread Local Storage (TLS) support on x86
 Reporter:  joel.sherrill  |      Owner:
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:  4.12
Component:  General        |    Version:  4.12
 Severity:  normal         |   Keywords:
 The x86 is one of the architectures which does not support Thread Local
 Storage. Each architecture requires target architecture specific support
 to provide this standard language feature.

 Details on the implementation by the compiler may be found at

 Based on this information, I think a segment register needs to be added to
 the thread context and some hooks to the TLS implemented.

 Architecture information on TLS implementation should be added to the CPU
 Supplement document as this is part of the ABI and context switch.

 As part of effort, the documentation for the general procedure of adding
 target specific TLS support should be added to the porting guide or

Ticket URL: <http://devel.rtems.org/ticket/2468>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list