Is there a way to force gcc to pass the parameters of a function on the stack?
I don’t want to use the registers for parameter passing.
Update: I’am using arm-gcc from CodeSourcery
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
According to: http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042d/IHI0042D_aapcs.pdf
There are, on ARM, no other calling conventions but the default, that I know of. And here is why: