This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Thu, Jul 28, 2011 at 12:44 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
> On Thu, Jul 28, 2011 at 8:52 AM, Uros Bizjak <ubizjak@gmail.com> 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. ?OK for trunk?
>
> Please also change 64bit GNU2_TLS patterns, so -mtls-dialect=gnu2 will
> also work. ?Please see attached patch.
>

Yes, it works.  Can you apply it?

Thanks.


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]