Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2006 07:41:16 +0200
From:      des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=)
To:        Alexander Kabaev <kabaev@gmail.com>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/libexec/rtld-elf/i386 rtld_machdep.h
Message-ID:  <86acb9vmdf.fsf@xps.des.no>
In-Reply-To: <20060328200901.56a5ed09@kan.dnsalias.net> (Alexander Kabaev's message of "Tue, 28 Mar 2006 20:09:01 -0500")
References:  <200603281828.k2SIS7wM052478@repoman.freebsd.org> <20060328200901.56a5ed09@kan.dnsalias.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Kabaev <kabaev@gmail.com> writes:
> Dag-Erling Smorgrav <des@FreeBSD.org> wrote:
> >   Log:
> >   Don't use dbg if it isn't defined (such as when this file is used by
> >   code outside of rtld-elf)
> The use of this file in threading libraries is illegal and should be
> fixed instead.

That was my initial reaction as well, but you can't get around the
fact that the thread libraries need to know about linker internals.
It might be better to reorganize rtld's header files so there is a
clear division between data structures (which the thread libraries
need to know about) and implementation details (which they don't).

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86acb9vmdf.fsf>