Re: standard calling convention for static function

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

 



On 12/04/2017 04:17 PM, David Brown wrote:
On 04/12/17 14:55, David Livshin wrote:

I am processing compiler-generated assembly code; not knowing calling
convention utilized makes it difficult.

Why are you wanting to make the functions static?  Just use external
linkage, and the functions will be generated for use from external code.

You can also use the "-fkeep-static-functions" compiler flag.  I am not
sure that it /guarantees/ you will get standard calling conventions, but
I'd be surprised if you got something else.



I don't want to make the functions static - I am processing user programs ( see dalsoft dot com ), where some functions are static.



[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