This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PR 161/251 patch causing massive link time regression
On Thu, Oct 14, 2004 at 11:48:47AM -0700, H. J. Lu wrote:
> It is OK. We can put restriction on group signature when it should
> match a linkonce section.
>
> > At least the intent of the patch (unless I goofed up) is doing exactly what
> > linker did without this patch, but only try to match sections that have the
> > same base section name (resp. comdat group name), where base section name
> > is section name with ^\.gnu\.linkonce\.[^.]*\. prefix if present stripped.
> >
>
> It looks good to me. How much speed up did yot get with it?
On the specific test (linking libgklayout.so) it is back on the old
speed, i.e. on my x86-64 back to ~ 13s down from ~ 44s.
Jakub