svn commit: r236137 - head/contrib/gcc/config/i386

Konstantin Belousov kostikbel at gmail.com
Wed May 30 03:48:01 UTC 2012


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
> > > > 
> > > > Log:
> > > >   Enable gnu hash generation for dynamic ELF binaries on x86.
> > > >   
> > > 
> > > 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?
> > 
> > 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 maintainers.
> 
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20120530/abb7b3f1/attachment.pgp


More information about the svn-src-all mailing list