cvs commit: src/libexec/rtld-elf/i386 rtld_machdep.h

Dag-Erling Smørgrav des at des.no
Wed Mar 29 05:41:23 UTC 2006


Alexander Kabaev <kabaev at gmail.com> writes:
> Dag-Erling Smorgrav <des at 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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-src mailing list