[GCC 4.x][AMD64 ABI] variadic function
Matteo Emanuele
fallendreamer@yahoo.com
Tue Aug 23 11:34:00 GMT 2005
Hi to everyone,
I cannot figure out how variadic function are
practically implemented. In the called (variadic)
function after few 'push's %rsp is suddenly
decremented by N bytes: the red area starts 128 bytes
below the NEW rsp or %rsp-N above?
Is it possible to find the register save area and the
overflowing arguments within the called function
without using %ebp (that means with
-fomit-frame-pointer set) and knowing nothing of the
caller?
The -so called- spill reg area is placed at fixed
address?
Thanx in advance,
Matteo
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
More information about the Gcc
mailing list