Calling convetions question

Nitin.Gupta@infineon.com Nitin.Gupta@infineon.com
Mon Jun 7 14:14:00 GMT 2004


You can very well do this in the prologue code of the processor specific
routines.
But this order depends on the ABI definitions which should be followed
while linking object files from other compilers.


-----Original Message-----
From: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org] On Behalf Of
Petar Penchev
Sent: Monday, June 07, 2004 4:19 PM
To: gcc@gcc.gnu.org
Subject: Calling convetions question



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 ?


-- 
Regards
Petar Penchev



More information about the Gcc mailing list