Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALCETrUJDbUdUc8WM15Fj24XVn-Uw6ECr7vHQyOvxF3GTWv6xA@mail.gmail.com>
Date: Thu, 6 Aug 2015 08:13:35 -0700
From: Andy Lutomirski <luto@...capital.net>
To: Isaac Dunham <ibid.ag@...il.com>, "musl@...ts.openwall.com" <musl@...ts.openwall.com>, 
	Rich Felker <dalias@...c.org>, Andy Lutomirski <luto@...nel.org>
Subject: Re: Re: Further dynamic linker optimizations

On Thu, Aug 6, 2015 at 2:33 AM, Szabolcs Nagy <nsz@...t70.net> wrote:
> * Isaac Dunham <ibid.ag@...il.com> [2015-08-05 21:32:53 -0700]:
>> On Wed, Aug 05, 2015 at 03:37:25PM -0700, Andy Lutomirski wrote:
>> >
>> > I can add a GNU hash to the vdso quite easily (for Linux 4.3).  Would that
>> > be helpful?
>>
>> Would this require a binutils version that supports GNU hashes?
>> And if so, would it be a hard build-time requirement?
>>
>
> vdso is only used at runtime, so static linker support is not
> needed when you build applications.
>
> i guess for building the kernel itself linking the vdso.so
> will depend on --hash-style=gnu support in the target ld,
> that is binutils 2.18.

Yes, exactly.  I'll do this for x86, and I'll encourage the other arch
vdso maintainers to do the same thing.  If a kernel is built with old
binutils, then the gnu has won't be there.

--Andy

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.