Calling convetions question
Andreas Jaeger
aj@suse.de
Mon Jun 7 11:19:00 GMT 2004
"Petar Penchev" <ptr@melexis.com> writes:
> Hello All,
> Before a function call GCC reserves space in stack for function's
> return value (if needed), and then for function's arguments (if
> needed). Is it possible to reverse this , i.e. firts function's
> arguments to be placed in the stack and then fuction's return value ?
This is defined in the processor specific ABI for each environment,
there's not much GCC can do in the general case,
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20040607/56d66b92/attachment.sig>
More information about the Gcc
mailing list