Calling conventions for IAR

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Nov 18 04:26:20 EST 2010


On Wed, Nov 17, 2010 at 04:29:36PM -0500, jonsmirl at gmail.com wrote:
> Currently we are using the ARM gcc AAPCS calling conventions. I need
> to call into an older ROM written with an IAR compiler. Can I decorate
> the function declarations for older calling conventions like I do on
> x86 (_fastcall, _cdelc, _stdcall, etc)? I can't figure out the right
> thing to search for, what's a good keyword?

I think you're out of luck... you're probably better off writing some
glue assembler code to call these functions.



More information about the linux-arm-kernel mailing list