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

看板DFBSD_commit作者時間21年前 (2005/03/09 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/5 (看更多)
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. (b) For assertions in libc and co, use _DIAGASSERT. (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. Joerg
文章代碼(AID): #12BUYE00 (DFBSD_commit)
文章代碼(AID): #12BUYE00 (DFBSD_commit)