Re: [PATCH] m68k: use conventional function parameters for do_sigreturn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 09, 2016 at 03:36:14PM +0100, Andreas Schwab wrote:
Philippe De Muyter <phdm@xxxxxxx> writes:

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

In which way is that related to scanf?

The scanf family uses/used varargs to determine the addresses of the
returned values to fill, like do_sigreturn.

But I see the difference now : with scanf only the addresses are on the
stack, while with do_sigreturn the values themselves are on the stack.

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux