Re: gcc 64-bit (assembly) information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 03 September 2007, Katana Steel wrote:
> 
> I had to see gdb disassembled output to figure out how
> gcc passes parameter to functions calls.
> 
> it seems it passes them in register instead of using the
> stack as its 32-bit counter part does.
> 
> now I wonder is there documentation that defines how
> this is done? 
> 
> is there a threshold of how many parameter it can pass
> this way before using the stack or some other means?
> 
> best regards
> Katana Steel
> -- as life grows older, I gain experience.

http://www.x86-64.org/documentation/abi-0.98.pdf

-- 
Mihai DONȚU
Linux Software Developer
BitDefender
------------------------------
e-mail: mdontu@xxxxxxxxxxxxxxx
phone : +40 21 233 0780 / 121
------------------------------
www.bitdefender.com

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux