This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Calling convetions question


"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

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]