lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BANLkTi=HBVt3_cD8Cw=0R5ZXGv-tYgHycQ@mail.gmail.com>
Date:	Tue, 7 Jun 2011 17:06:09 +0200
From:	Denys Vlasenko <vda.linux@...glemail.com>
To:	Josh Triplett <josh@...htriplett.org>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Status of function-sections work?

On Tue, Jun 7, 2011 at 10:43 AM, Josh Triplett <josh@...htriplett.org> wrote:
> On Tue, Jun 07, 2011 at 10:11:15AM +0200, Denys Vlasenko wrote:
>> On Monday 06 June 2011 03:15, Josh Triplett wrote:
>> > Hello,
>> >
>> > I found your work in 2010 on using function-sections and data-sections
>> > to eliminate unused code in the kernel.  I'd like to make use of this
>> > work to try to build an extremely space-constrained kernel.
>> >
>> > It looks like a few of your patches made it into the kernel, but most of
>> > the linker script changes don't seem to have made it in.  I wanted to
>> > find out the status of this work.  Do you still have this working?  Do
>> > you have versions of your patches for current Linux?
>>
>> parisc uses ^ in some identifiers. Therefore we need something like
>> [A-Za-z0-9_$^]* in linker script. This wasn't working with GNU ld -
>> ^ is not a valid char for pattern. Use of more general [!.]*
>> was also impossible - ! is not a valid char too.
>>
>> Therefore I asked binutils people to fix this (they agreed) and
>> decided to wait for a fixed binutils to be released.
>
> Makes sense.  Thanks for the explanation and status.
>
> Do you know if the fix has gone into binutils, either in a release or
> the latest snapshot from version control?  If not, does a patch exist?

Yes, latest released binutils has the fix.
-- 
vda
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ