Date: Fri, 20 Jun 2003 16:50:45 -0400 (EDT) From: Daniel Eischen <eischen@vigrid.com> To: Marcel Moolenaar <marcel@xcllnt.net> Cc: threads@freebsd.org Subject: Re: TLS: defining the problem space Message-ID: <Pine.GSO.4.10.10306201647360.20305-100000@pcnet5.pcnet.com> In-Reply-To: <20030620204314.GA19111@dhcp01.pn.xcllnt.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 20 Jun 2003, Marcel Moolenaar wrote: > If pthread defines __tls_get_addr() in complete executables and RTLD > defines __tls_get_addr() in shared executables, we have duplicate > definitions for shared executables, with pthread (using dynamic TLS). > Which takes precedence? [answer: RTLD] You can have one __tls_get_addr() be a weak definition, and lib{thr,pthread,c_r} can define a non-weak definition. BTW, we can probably drop libc_r from the picture (mark it for deprecation). -- Dan Eischen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10306201647360.20305-100000>