Date: Thu, 19 Jun 2003 00:23:45 -0400 From: Alexander Kabaev <kabaev@mail.ru> To: "Matthew N. Dodd" <mdodd@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/libexec/rtld-elf debug.c rtld.1 rtld.c rtld.h Message-ID: <20030619002345.4f626848.kabaev@mail.ru> In-Reply-To: <200306190355.h5J3tc0A060501@repoman.freebsd.org> References: <200306190355.h5J3tc0A060501@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Jun 2003 20:55:38 -0700 (PDT) "Matthew N. Dodd" <mdodd@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030619002345.4f626848.kabaev>