Re: TLS run-time requirements on x86, etc.

2017-06-10 Thread Joel Sherrill
On 1/12/2017 11:25 AM, Jakub Jelinek wrote: On Thu, Jan 12, 2017 at 11:22:58AM -0600, Joel Sherrill wrote: I am looking at the RTEMS x86 TLS support. When -fPIC is specified, gcc generates calls to ___tls_get_addr(). But when it is not specified, there are no external calls. To make sure we ar

Re: TLS run-time requirements on x86, etc.

2017-01-12 Thread Jakub Jelinek
On Thu, Jan 12, 2017 at 11:22:58AM -0600, Joel Sherrill wrote: > I am looking at the RTEMS x86 TLS support. When -fPIC is > specified, gcc generates calls to ___tls_get_addr(). But > when it is not specified, there are no external calls. > To make sure we are doing the right thing, I have a > few q

TLS run-time requirements on x86, etc.

2017-01-12 Thread Joel Sherrill
Hi I am looking at the RTEMS x86 TLS support. When -fPIC is specified, gcc generates calls to ___tls_get_addr(). But when it is not specified, there are no external calls. To make sure we are doing the right thing, I have a few questions: + What is expected for "get TLS" when __tls_get_addr() is