TLS support for SH
kaz Kojima
kkojima@rr.iij4u.or.jp
Mon Apr 8 15:32:00 GMT 2002
Ulrich Drepper <drepper@redhat.com> wrote:
>> Sorry, this is a report rather than a patch, though it looks like
>> so. I've tried the TLS support for SH. Now it passes all TLS tests
>> in elf directory.
>
> The patch looks good as does the ABI. I've applied the patch. Thanks
> also for fixing the problems in the so-far unused TLS code.
>
> You'll see that I made a few corrections. If you see any problems let
> me know.
Thanks, I'll try corrected code ASAP.
> There is only one strange thing left: in sysdeps/sh/dl-tls.h you use the
> regparms attribute with __tls_get_addr. Is this attribute defined for
> SH? Or is it a copy&paste left-over from the x86 code.
Sorry, I've missed it. Yes, it's just a copy&past left-over from
the x86 code.
kaz
More information about the Libc-hacker
mailing list