On Tue, Feb 09, 2016 at 03:36:14PM +0100, Andreas Schwab wrote: > Philippe De Muyter <[email protected]> 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
