On Wed, May 22, 2013 at 10:12:14PM +0200, Bernhard Reutner-Fischer wrote:
> On 22 May 2013 16:36:52 David Edelsohn <dje....@gmail.com> wrote:
> >On Wed, May 22, 2013 at 10:35 AM, Alan Modra <amo...@gmail.com> wrote:
> >> On Wed, May 22, 2013 at 10:05:47AM -0400, David Edelsohn wrote:
> >>> Why does cross need the functions in libgcc and not provided by the 
> >>> linker?
> >>
> >> Only the ppc64 linker provides save/restore functions magically.
> >
> >Okay, then the patch is okay.
> 
> Hmm. I cannot look right now, does that sound like a cure for PR53803 too?

No, since your libgcc.a already contains the save/restore functions.

Seems to me that PR53803 is a case of self-inflicted wounds.  You link
with -nostdlib and don't add -lgcc, then are surprised that the linker
complains about functions provided by libgcc?

-- 
Alan Modra
Australia Development Lab, IBM

Reply via email to