cvs commit: src/libexec/rtld-elf debug.c rtld.1 rtld.c rtld.h

Alexander Kabaev kabaev at mail.ru
Wed Jun 18 21:23:51 PDT 2003


On Wed, 18 Jun 2003 20:55:38 -0700 (PDT)
"Matthew N. Dodd" <mdodd at FreeBSD.org> wrote:

> mdodd       2003/06/18 20:55:38 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     libexec/rtld-elf     debug.c rtld.1 rtld.c rtld.h 
>   Log:
>   Provide a mechanism for dumping relocation information.
>   
>   Setting the LD_DUMP_REL_PRE or LD_DUMP_REL_POST environment
>   variables cause rtld-elf to output a table of all relocations.
>   
>   This is useful for debugging.

Just out of curiosity what does that buy you compared to objdump/readelf
tools? Frankly I do not think this kind of logging output belongs to
rtld and would like to see this patch backed out. It is also possible
there are some advantages I am missing, in that case an explanation will
be very much appreciated.


More information about the cvs-src mailing list