This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: PowerPC64 TLS ABI


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Henderson wrote:

> At the moment Jakub has arranged for LinuxThreads to
> have its _pthread_descr at the negative offsets from
> the TP.  We can either continue with that (and have to
> use an additional addis to access it), or we can use
> the second word of the TCB to point to it.

Negative offsets seem to be much better.  No sane implementation will
allocate the "TCB" separately from the thread descriptor.  Using
negative offsets saves one indirection.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+KLn32ijCOnn/RHQRAqtDAKC8/zxveDA/BoIU+MdQdHdl6a+v8gCeI3VG
wFEIyJk6ykMg8qQPb/s8OWY=
=IU1o
-----END PGP SIGNATURE-----


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