From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 12 19:55:01 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69CA716A4BF; Fri, 12 Sep 2003 19:55:01 -0700 (PDT) Received: from mail.fs.ei.tum.de (stella.fs.ei.tum.de [129.187.54.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECCE544008; Fri, 12 Sep 2003 19:54:55 -0700 (PDT) (envelope-from corecode@fs.ei.tum.de) Received: from localhost (localhost [127.0.0.1]) by localhost.fs.ei.tum.de (Postfix) with ESMTP id 8A9B4302A2; Sat, 13 Sep 2003 04:54:49 +0200 (CEST) Received: from hydra.fs.ei.tum.de (hydra.fs.ei.tum.de [192.168.113.23]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client did not present a certificate) by mail.fs.ei.tum.de (Postfix) with ESMTP id F1AD330010; Sat, 13 Sep 2003 04:54:47 +0200 (CEST) Date: Sat, 13 Sep 2003 04:54:44 +0200 From: Simon 'corecode' Schubert Newsgroups: dragonfly.kernel Message-Id: <20030913045444.407b1cd6.corecode@fs.ei.tum.de> X-Newsreader: Sylpheed version 0.9.0claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="B7CRjE+L9/X=.J3x" X-Virus-Scanned: by AMaViS 0.3.12 cc: stable@freebsd.org cc: hackers@freebsd.org cc: bsd@ibotty.net Subject: Prebinding for DragonFly/FreeBSD-4 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2003 02:55:01 -0000 --B7CRjE+L9/X=.J3x Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit I created patch for DragonFly/FreeBSD-4 for prebinding, based on mdodd@'s patch for FreeBSD-5. The main difference (apart from the target platform) is that the linker needn't be patched. Rtld now uses a hash function to get an unique ID for every ELF object. This has been tested under DragonFly, but should run on FreeBSD-4 too. Feedback appreciated :) cheers simon -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --B7CRjE+L9/X=.J3x Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/Yob3r5S+dk6z85oRAv2bAJ96rAXnehD4BEYF1H31GA9k4cnfvgCeNYvu /+Uc89wBYEtfNDdFodKmSTY= =YGFU -----END PGP SIGNATURE----- --B7CRjE+L9/X=.J3x--