Fix ____longjmp_chk for ppc(64)

Joseph S. Myers joseph@codesourcery.com
Thu Jun 25 14:24:00 GMT 2009


On Wed, 24 Jun 2009, Steve Munroe wrote:

> Andreas Schwab <schwab@linux-m68k.org> wrote on 06/24/2009 04:23:31 PM:
> 
> > Steve Munroe <sjmunroe@us.ibm.com> writes:
> >
> > > not sure where sysdeps/powerpc/powerpc32/____longjmp_chk.S can from or
> what
> > > you did build it versus sysdeps/powerpc/powerpc32/fpu/____longjmp_chk.S
> Of
> > > is that missing?
> >
> > There is no need for a separate file for fpu since they would be
> > identical.
> >
> Only if it is including powerpc32/fpu/__longjmp-common.S

It is using "#include <__longjmp-common.S>" which means it will find the 
first __longjmp-common.S in the sysdeps search path, which is the fpu/ 
version for configurations using that directory.  Other targets with 
multiple __longjmp implementations (e.g. SH) do the same thing with a 
single ____longjmp_chk implementation.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list