This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH-bfd] i386-mingw32-ld crash on x86_64 linux
On Sat, Apr 18, 2009 at 03:54:06PM +0100, Dave Korn wrote:
> Dave Korn wrote:
> > Alan Modra wrote:
> >> So, something like the following. I won't commit this as it's
> >> untested, and I'm not sure whether the ext->e.e_name[0] == 0 case
> >> ought to be handled.
> >
> > Hmm. That case will arise if the symbol name is long, and I guess it could
> > be since we do allow long section names. I'll whip up something based on your
> > patch and run my standard set of testsuites on it.
>
> I remembered that we had a function to handle all the name-related
> complications for us already, so I just used it. It should be OK to call from
> within _bfd_XXi_swap_sym_in, since it is often called immediately afterward in
> callers of _bfd_XXi_swap_sym_in anyway.
>
> I'm running this through a test cycle. Peter, would you care to test if it
> fixes your specific problem?
Hi Dave,
Thanks for all the time you're spending on this.
With this patch, ld still core dumps (same place, x86_64), don't have
time to look into it right now, but will check more later on today.
Peter
--
Peter O'Gorman
pogma@thewrittenword.com