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

Sun Mar 1 10:31:00 GMT 2020

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!

More information about the Gcc-help mailing list