On Tue, Feb 09, 2016 at 02:17:24PM +0100, Andreas Schwab wrote:
> Greg Ungerer <[email protected]> writes:
> 
> > Given the original code is:
> >
> >   asmlinkage int do_sigreturn(unsigned long __unused)
> >   {
> >         struct switch_stack *sw = (struct switch_stack *) &__unused;
> >         struct pt_regs *regs = (struct pt_regs *) (sw + 1);
> >
> > So gcc is determining that what sw and regs points to are
> > part of do_sigreturn() parameters here?
> 
> It's basically what varags used to do.

Given what gcc does now, how can scanf still work then ?

Philippe

-- 
Philippe De Muyter +32 2 6101532 Macq SA rue de l'Aeronef 2 B-1140 Bruxelles
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to