From owner-cvs-src@FreeBSD.ORG Wed Jun 18 21:23:50 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF41037B401; Wed, 18 Jun 2003 21:23:50 -0700 (PDT) Received: from mx10.mail.ru (mx10.mail.ru [194.67.23.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AD2143F93; Wed, 18 Jun 2003 21:23:50 -0700 (PDT) (envelope-from kabaev@mail.ru) Received: from [141.154.214.216] (port=51334 helo=kan.dnsalias.net) by mx10.mail.ru with esmtp id 19Sqxf-0008FS-00; Thu, 19 Jun 2003 08:23:47 +0400 Received: from kan.dnsalias.net (ak03@localhost [127.0.0.1]) by kan.dnsalias.net (8.12.9/8.12.9) with ESMTP id h5J4Nj4V002495; Thu, 19 Jun 2003 00:23:45 -0400 (EDT) (envelope-from kan@kan.dnsalias.net) Received: (from kan@localhost) by kan.dnsalias.net (8.12.9/8.12.9/Submit) id h5J4NjxX002494; Thu, 19 Jun 2003 00:23:45 -0400 (EDT) Date: Thu, 19 Jun 2003 00:23:45 -0400 From: Alexander Kabaev To: "Matthew N. Dodd" Message-Id: <20030619002345.4f626848.kabaev@mail.ru> In-Reply-To: <200306190355.h5J3tc0A060501@repoman.freebsd.org> References: <200306190355.h5J3tc0A060501@repoman.freebsd.org> X-Mailer: Sylpheed version 0.9.0claws2 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam: Not detected cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/libexec/rtld-elf debug.c rtld.1 rtld.c rtld.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 04:23:51 -0000 On Wed, 18 Jun 2003 20:55:38 -0700 (PDT) "Matthew N. Dodd" 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.