What is default calling convention for a static function say:
static void PrintHelloWorld(char* s) { }
under
Linux:
#36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
and with
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Linux ubuntu 3.2.0-23-generic
Under the architecture and compiler you have listed (Linux x86_64), the calling convention described in the System V AMD64 ABI is used.
Under Linux i386, the calling convention described in the System V i386 ABI is used.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With