* Re: Status of function-sections work?
[not found] <20110606011531.GA1887@leaf>
@ 2011-06-07 8:11 ` Denys Vlasenko
2011-06-07 8:43 ` Josh Triplett
0 siblings, 1 reply; 3+ messages in thread
From: Denys Vlasenko @ 2011-06-07 8:11 UTC (permalink / raw)
To: Josh Triplett, linux-kernel
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.
> Have you considered re-submitting?
Yes, I need to do this...
--
vda
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Status of function-sections work?
2011-06-07 8:11 ` Status of function-sections work? Denys Vlasenko
@ 2011-06-07 8:43 ` Josh Triplett
2011-06-07 15:06 ` Denys Vlasenko
0 siblings, 1 reply; 3+ messages in thread
From: Josh Triplett @ 2011-06-07 8:43 UTC (permalink / raw)
To: Denys Vlasenko; +Cc: linux-kernel
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?
- Josh Triplett
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Status of function-sections work?
2011-06-07 8:43 ` Josh Triplett
@ 2011-06-07 15:06 ` Denys Vlasenko
0 siblings, 0 replies; 3+ messages in thread
From: Denys Vlasenko @ 2011-06-07 15:06 UTC (permalink / raw)
To: Josh Triplett; +Cc: linux-kernel
On Tue, Jun 7, 2011 at 10:43 AM, Josh Triplett <josh@joshtriplett.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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-07 15:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20110606011531.GA1887@leaf>
2011-06-07 8:11 ` Status of function-sections work? Denys Vlasenko
2011-06-07 8:43 ` Josh Triplett
2011-06-07 15:06 ` Denys Vlasenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).