Re: Is there anyway to make the function get parmters from registers not stack during more than 4 parameters on arm port?

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

 



On 01/03/2020 10:31, tugouxp wrote:
HI guys:
     i have a function with prototype more than 4 parameters  which invoke form syscall.


   int foobar(int a, int b, int c, int d, int e, int f)
on arm port, a,b, c, d could get from r0-r3 according arm AACPS ABI,
but e, and f would get from stack.


but how to deal with if i want all of th 6 paramters get from registers not stack?


thank you!


Sorry, no that can't be done.  At least, not without developing a new ABI.

R.



[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