 |
|
|
|
Actions
|
|
[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: [mips-tls] A couple of potential changes to the MIPS TLS ABI
- To: Daniel Jacobowitz <dan@xxxxxxxxxxxxxxxx>
- Subject: Re: [mips-tls] A couple of potential changes to the MIPS TLS ABI
- From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
- Date: Tue, 01 Feb 2005 12:07:45 -0800
Daniel Jacobowitz wrote:
On Tue, Feb 01, 2005 at 02:10:50AM -0800, Michael Uhler wrote:
The one area that I'm concerned about is the use of rdhwr to return the
pointer. There are several reasons why I'm not sure this is the right thing
to do:
I'm getting a lot of conflicting feedback about this.
From our point of view, we've already got a validated implementation
using rdhwr. We'd like to avoid having to rework our code and then
revalidate.
Realistically, if rdhwr isn't officially blessed, some vendors might
still use our implementation. Or, things might just languish. In other
words, I'm somewhat afraid that we've missed the technical window to
debate this particular technical point.
As Dan says, the new MIPS ABI can do better in this regard, as in
others. Furthermore, if the kernel adds a syscall that can be used by
the o32 ABI, then the tools can be updated to work with that too. I
think the only immutable aspect of this existing design is that if/once
our implementation escapes into the wild, then kernels forevermore may
have to support the rdhwr solution, even if most programs no longer use
it. I think that's a relatively small price to pay to get NPTL working
on MIPS.
--
Mark Mitchell
CodeSourcery, LLC
mark@xxxxxxxxxxxxxxxx
(916) 791-8304
|
|