cvs commit: src/libexec/rtld-elf/i386 rtld_machdep.h
David Xu
davidxu at freebsd.org
Wed Mar 29 01:41:14 UTC 2006
Daniel Eischen wrote:
> On Tue, 28 Mar 2006, Alexander Kabaev wrote:
>
>
>>On Tue, 28 Mar 2006 18:28:07 +0000 (UTC)
>>Dag-Erling Smorgrav <des at FreeBSD.org> wrote:
>>
>>
>>>des 2006-03-28 18:28:07 UTC
>>>
>>> FreeBSD src repository
>>>
>>> Modified files:
>>> libexec/rtld-elf/i386 rtld_machdep.h
>>> Log:
>>> Don't use dbg if it isn't defined (such as when this file is used by
>>> code outside of rtld-elf)
>>>
>>> Revision Changes Path
>>> 1.11 +2 -0 src/libexec/rtld-elf/i386/rtld_machdep.h
>>>
>>>http://cvsweb.FreeBSD.org/src/libexec/rtld-elf/i386/rtld_machdep.h.diff?r1=1.10&r2=1.11
>>
>>The use of this file in threading libraries is illegal and should be
>>fixed instead.
>
>
> David Xu probably knows more about this, but it's needed for
> the debugger. rtld.h is included by the thread libraries,
> so rtld_machdep.h comes along for the ride.
>
It is being used to calculate TLS address for debugger, either thread
libraries or libthread_db have to use it, it is not important who is
using it, fixing it in rtld header files is needed.
David Xu
More information about the cvs-src
mailing list