PATCH: PR ld/12507: Can't build a program with -flto -nostdlib

Alan Modra amodra@gmail.com
Fri Feb 25 23:59:00 GMT 2011


On Fri, Feb 25, 2011 at 03:45:14PM -0800, H.J. Lu wrote:
> On Fri, Feb 25, 2011 at 3:29 PM, Alan Modra <amodra@gmail.com> wrote:
> > It would be better to put the entry symbol, and -u syms on the
> > entry_symbol chain, into non_ironly_hash.
> 
> I tried it and it doesn't work.

How so?

> Also, we only care about the entry symbol for LTO.

I'd be a little surprised if there is a good reason to treat -u syms
any differently from references in non-ir object files.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list