This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: ld/3197: ld --hash-style=gnu crashes


On Tue, Sep 12, 2006 at 11:58:40PM +0200, Jakub Jelinek wrote:
> On Tue, Sep 12, 2006 at 02:40:44PM -0700, H. J. Lu wrote:
> > The problem is that bucketcount isn't set when --hash-style=gnu is
> > used. There is no need to compute bucket when it isn't needed.
> 
> Looks good.  Seems like GCC was already optimizing what you have done
> in the patch, otherwise nothing would work (Fedora Core builds the whole
> distro except glibc with --hash-style=gnu).
> Was this an -O0 build of elflink.c you saw it in?
> 

It was compiled with -O2 using gcc 3.4.6 20060404 (Red Hat 3.4.6-3).


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]