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: PR ld/12507: Can't build a program with -flto -nostdlib


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


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