Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2012 06:47:47 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Marius Strobl <marius@alchemy.franken.de>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r236137 - head/contrib/gcc/config/i386
Message-ID:  <20120530034747.GJ2358@deviant.kiev.zoral.com.ua>
In-Reply-To: <20120529224833.GW90133@alchemy.franken.de>
References:  <201205270527.q4R5Rm44028055@svn.freebsd.org> <20120528190355.GA42283@alchemy.franken.de> <20120528204728.GD2358@deviant.kiev.zoral.com.ua> <20120529224833.GW90133@alchemy.franken.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--ivyoJkJAGKloOgd+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, May 30, 2012 at 12:48:33AM +0200, Marius Strobl wrote:
> On Mon, May 28, 2012 at 11:47:28PM +0300, Konstantin Belousov wrote:
> > On Mon, May 28, 2012 at 09:03:55PM +0200, Marius Strobl wrote:
> > > On Sun, May 27, 2012 at 05:27:48AM +0000, Konstantin Belousov wrote:
> > > > Author: kib
> > > > Date: Sun May 27 05:27:47 2012
> > > > New Revision: 236137
> > > > URL: http://svn.freebsd.org/changeset/base/236137
> > > >=20
> > > > Log:
> > > >   Enable gnu hash generation for dynamic ELF binaries on x86.
> > > >  =20
> > >=20
> > > As far as I remember from your commit adding GNU hash support to
> > > rtld(1), there's nothing left to be done for the other architectures
> > > apart from testing, correct?
> >=20
> > Yes, you are correct. I am not aware of any non-implemented MD parts,
> > but I was unable to test on !x86, and got no feedback from arch maintai=
ners.
>=20
> Sorry, must have missed that mail.
> What's the point of letting the linker create both the ELF and the
> GNU hash tables and not just going with the latter one?

It prevents the flag day. If your binary is built on slightly newer system,
using both hashes allows it to be used on the system with slightly older
rtld, which was built before gnu hash support was added.

--ivyoJkJAGKloOgd+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)

iEYEARECAAYFAk/FmGMACgkQC3+MBN1Mb4hGmQCgmpcOEH8veHz3HRWy6Ty2m19q
RgAAoLwJ6NP23P3bSCKD5JSwN9nwb143
=0uVL
-----END PGP SIGNATURE-----

--ivyoJkJAGKloOgd+--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120530034747.GJ2358>