DragonFly commits List (threaded) for 2005-03
Re: cvs commit: src/lib/libc/gen tls.c
Joerg Sonnenberger wrote:
On Tue, Mar 08, 2005 at 05:04:38AM -0800, David Xu wrote:OK, this will be changed later.
davidxu 2005/03/08 05:04:38 PST
DragonFly src repository
Import tls support code for static binary from FreeBSD.
Sorry for not commenting earlier, I've been taking the week end off.
(a) Please don't use pragma weak. The GCC implementation is horrible,
e.g. it doesn't verify that the aliased symbol and the real symbol
have matching signatures.
(b) For assertions in libc and co, use _DIAGASSERT.
This is really new to me.
(c) Why do you want to use TLS_VARIANT_II? I don't feel bound to either
the GNU or the Solaris-ABI here, it's easier to do TLS_VARIANT_I and that's
the recommented way.
I can not understand what you are meaning, I am using a pdf which is an
offical standard of GNU and Linux, if you don't follow the standard
you will have many trouble, we should be compatible with Linux at first.