[PATCH 1/2] Update _bfd_elf_symbol_refs_local_p/add UNDEFINED_WEAK_RESOLVED_TO_ZERO

Alan Modra amodra@gmail.com
Mon Oct 9 07:52:00 GMT 2017


On Sun, Oct 08, 2017 at 09:08:30PM -0700, H.J. Lu wrote:
> On 10/8/17, H.J. Lu <hjl.tools@gmail.com> wrote:
> > You are right.  This only works with
> >
> > CHECK_RELOCS_AFTER_OPEN_INPUT=yes
> >
> > which should also speedup check_relocs and GC.   It should be set
> > for all ELF targets.
> >
> 
> Here is a patch which does that.

I agree in principle, but I'd like to see some test results first.
Preferably with native targets where you can get access to hardware,
and with cross-compiler+libc installed where not, so at least most of
the testsuite is compiled and linked.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list