From owner-freebsd-current@FreeBSD.ORG Mon May 26 03:06:26 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 073CE37B401; Mon, 26 May 2003 03:06:26 -0700 (PDT) Received: from haldjas.folklore.ee (Haldjas.folklore.ee [193.40.6.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00E7943FBD; Mon, 26 May 2003 03:06:25 -0700 (PDT) (envelope-from narvi@haldjas.folklore.ee) Received: from haldjas.folklore.ee (localhost [127.0.0.1]) by haldjas.folklore.ee (8.12.3/8.11.3) with ESMTP id h4QA6OBA019900; Mon, 26 May 2003 13:06:24 +0300 (EEST) (envelope-from narvi@haldjas.folklore.ee) Received: from localhost (narvi@localhost)h4QA6Oa5019897; Mon, 26 May 2003 13:06:24 +0300 (EEST) Date: Mon, 26 May 2003 13:06:24 +0300 (EEST) From: Narvi To: "Matthew N. Dodd" In-Reply-To: <20030525202140.Y86964@sasami.jurai.net> Message-ID: <20030526130537.U40030-100000@haldjas.folklore.ee> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org cc: Marcel Moolenaar Subject: Re: Preliminary ELF prebinding patches available. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 10:06:26 -0000 On Sun, 25 May 2003, Matthew N. Dodd wrote: > > What are the major reasons for not editing the executable in your > > opinion? > > Besides it not working? It is not possible for rtld-elf to access > the section header, let alone additional section data in a clean manner. > Furthermore, rtld-elf is not provided with a valid file handle for the > main executable so hacks to access section data of libraries won't > actually work for the main executable. > > I ran around in circles until I'd figured all this out. > but you could do this in the linker instead of rtld-elf, no? > -- > | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | > | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | > | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever | > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >