This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: MIPS ELF ld -Ur fails
"H . J . Lu" wrote:
> Earl Chew wrote:
> >
> > Did you consider my patch?
> >
> > Does it solve the underlying problem, or just paper over the bug?
>
> I don't know.
[ snip ]
> > If you look at the equivalent code in binutils-2.7 (which
> > doesn't have the bug), I think you'll find that the count was
> > held exclusively in o->reloc_count. Remnants of that code remain
> > as the first loop in elf_bfd_final_link() which updates o->reloc_count.
> >
>
> I am not sure if we should even update o->reloc_count there.
How do you suggest we resolve this issue?
Earl