Re: PATCH: PR target/47715: [x32] TLS doesn't work

2011-07-29 Thread Uros Bizjak
On Thu, Jul 28, 2011 at 3:47 PM, H.J. Lu wrote: TLS on X32 is almost identical to TLS on x86-64.  The only difference is x32 address space is 32bit.  That means TLS symbols can be in either SImode or DImode with upper 32bit zero.  This patch updates tls_global_dynamic_64 to su

Re: PATCH: PR target/47715: [x32] TLS doesn't work

2011-07-28 Thread H.J. Lu
On Thu, Jul 28, 2011 at 7:42 AM, Uros Bizjak wrote: > On Thu, Jul 28, 2011 at 3:47 PM, H.J. Lu wrote: > > TLS on X32 is almost identical to TLS on x86-64.  The only difference is > x32 address space is 32bit.  That means TLS symbols can be in either > SImode or DImode with upper 32bit

Re: PATCH: PR target/47715: [x32] TLS doesn't work

2011-07-28 Thread H.J. Lu
On Wed, Jul 27, 2011 at 11:52 PM, Uros Bizjak wrote: > On Thu, Jul 28, 2011 at 4:55 AM, H.J. Lu wrote: >> TLS on X32 is almost identical to TLS on x86-64.  The only difference is >> x32 address space is 32bit.  That means TLS symbols can be in either >> SImode or DImode with upper 32bit zero.  Th

Re: PATCH: PR target/47715: [x32] TLS doesn't work

2011-07-28 Thread H.J. Lu
On Thu, Jul 28, 2011 at 12:44 AM, Uros Bizjak wrote: > On Thu, Jul 28, 2011 at 8:52 AM, Uros Bizjak wrote: > >>> TLS on X32 is almost identical to TLS on x86-64.  The only difference is >>> x32 address space is 32bit.  That means TLS symbols can be in either >>> SImode or DImode with upper 32bit

Re: PATCH: PR target/47715: [x32] TLS doesn't work

2011-07-28 Thread Uros Bizjak
On Thu, Jul 28, 2011 at 8:52 AM, Uros Bizjak wrote: >> TLS on X32 is almost identical to TLS on x86-64.  The only difference is >> x32 address space is 32bit.  That means TLS symbols can be in either >> SImode or DImode with upper 32bit zero.  This patch updates >> tls_global_dynamic_64 to suppor

Re: PATCH: PR target/47715: [x32] TLS doesn't work

2011-07-27 Thread Uros Bizjak
On Thu, Jul 28, 2011 at 4:55 AM, H.J. Lu wrote: > TLS on X32 is almost identical to TLS on x86-64.  The only difference is > x32 address space is 32bit.  That means TLS symbols can be in either > SImode or DImode with upper 32bit zero.  This patch updates > tls_global_dynamic_64 to support x32.  O

Re: PATCH: PR target/47715: [x32] TLS doesn't work

2011-07-27 Thread H.J. Lu
On Wed, Jul 27, 2011 at 07:55:08PM -0700, H.J. Lu wrote: > TLS on X32 is almost identical to TLS on x86-64. The only difference is > x32 address space is 32bit. That means TLS symbols can be in either > SImode or DImode with upper 32bit zero. This patch updates > tls_global_dynamic_64 to support

PATCH: PR target/47715: [x32] TLS doesn't work

2011-07-27 Thread H.J. Lu
TLS on X32 is almost identical to TLS on x86-64. The only difference is x32 address space is 32bit. That means TLS symbols can be in either SImode or DImode with upper 32bit zero. This patch updates tls_global_dynamic_64 to support x32. OK for trunk? Thanks. H.J. --- 2011-07-27 H.J. Lu