This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: RFC: TLS improvements for IA32 and AMD64/EM64T
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: "Menezes, Evandro" <evandro dot menezes at amd dot com>
- Cc: "Jan Beulich" <JBeulich at novell dot com>, "Michael Matz" <matz at suse dot de>, discuss at x86-64 dot org, "Andreas Jaeger" <aj at suse dot de>, binutils at sources dot redhat dot com, libc-alpha at sources dot redhat dot com
- Date: 17 Sep 2005 11:01:58 -0300
- Subject: Re: RFC: TLS improvements for IA32 and AMD64/EM64T
- References: <84EA05E2CA77634C82730353CBE3A8430346A945@SAUSEXMB1.amd.com>
On Sep 16, 2005, "Menezes, Evandro" <evandro.menezes@amd.com> wrote:
> Alexandre,
>> Here's a patch for the x86-64 ABI document that adds the new
>> relocations and references the new dynamic table numbers,
>> referring to the latest version of my specs on the web for details.
> Please add the respective calculations and coding examples.
Please read the document referenced in the patch, for starters. In it
you'll see the exact spelling of the coding samples is not final yet,
and it doesn't make sense to maintain yet another copy of this until
it settles down. Also, you'll find that the calculations are not
quite possible to express in the way other relocations are expressed;
suggestions are welcome. Finally, what's wrong with following the
existing practice of referring to TLS specs elsewhere?
The point of this posting was more to reserve the relocation numbers
for these purposes (the purpose of the relocations is quite solid
already, even though the numbers have changed as recently as
yesterday), but I'm yet to do some more performance tests with some
minor variations of the code sequences to choose the best one. I
don't want to have to maintain all this information in sync between
multiple specs documents and the several different packages that
implement them; having a single specs document is much better for now.
Thanks for your, ehrm, valuable feedback :-/
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}