DragonFly BSD
DragonFly commits List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/lib/libc/gen tls.c

To: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
From: davidxu <davidxu@xxxxxxxxxxx>
Date: Wed, 09 Mar 2005 07:20:07 +0800

Joerg Sonnenberger wrote:
On Tue, Mar 08, 2005 at 05:04:38AM -0800, David Xu wrote:

davidxu 2005/03/08 05:04:38 PST

DragonFly src repository

Added files:
lib/libc/gen tls.c Log:
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.
OK, this will be changed later.

(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.


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]