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]

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


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