This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[GCC 4.x][AMD64 ABI] variadic function
- From: Matteo Emanuele <fallendreamer at yahoo dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 23 Aug 2005 02:34:17 -0700 (PDT)
- Subject: [GCC 4.x][AMD64 ABI] variadic function
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