From owner-svn-src-all@FreeBSD.ORG Mon Dec 12 17:21:38 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 864631065673; Mon, 12 Dec 2011 17:21:38 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id F31218FC08; Mon, 12 Dec 2011 17:21:37 +0000 (UTC) Received: from alf.home (alf.kiev.zoral.com.ua [10.1.1.177]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id pBCHLXb1049670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Dec 2011 19:21:33 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from alf.home (kostik@localhost [127.0.0.1]) by alf.home (8.14.5/8.14.5) with ESMTP id pBCHLWIc035823; Mon, 12 Dec 2011 19:21:32 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by alf.home (8.14.5/8.14.5/Submit) id pBCHLWUZ035822; Mon, 12 Dec 2011 19:21:32 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: alf.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 12 Dec 2011 19:21:32 +0200 From: Kostik Belousov To: Joerg Sonnenberger Message-ID: <20111212172132.GN50300@deviant.kiev.zoral.com.ua> References: <201112121103.pBCB3FuT097580@svn.freebsd.org> <20111212171709.GA22002@britannica.bec.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NIGquufZ0ZWchBC3" Content-Disposition: inline In-Reply-To: <20111212171709.GA22002@britannica.bec.de> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r228435 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2011 17:21:38 -0000 --NIGquufZ0ZWchBC3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 12, 2011 at 06:17:09PM +0100, Joerg Sonnenberger wrote: > On Mon, Dec 12, 2011 at 11:03:15AM +0000, Konstantin Belousov wrote: > > To allow use of external references from the dispatch function, resol= ution > > of the R_MACHINE_IRESOLVE relocations in PLT is postponed until GOT e= ntries > > for PLT are prepared, and normal resolution of the GOT entries is fin= ished. > > Similar to how it is done by GNU, IRELATIVE relocations are resolved = in > > advance, instead of normal lazy handling for PLT. >=20 > Are you sure that you didn't introduce major locking issues with this? What do you mean, exactly ? The dispatcher function is called under the bind lock, yes. --NIGquufZ0ZWchBC3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk7mOBwACgkQC3+MBN1Mb4gDtQCg614hsk6wJ/Kr+wbOB21Om/fG iPMAoOg//59I3AnGJOMTwucicXYDT+aC =FNWK -----END PGP SIGNATURE----- --NIGquufZ0ZWchBC3--