This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Supervisor Calls on ARM Cortex-M3


Hello,

Do the GCC C/C++ compilers support supervisor function calls on ARM Cortex M3/4 targets?
I mean something like the IAR's "#pragma _swi" or the "__svc" keyword used by the RealView compiler.
How can I make the compiler use the "svc" machine instruction when calling the function, instead of the regular "branch and link" instruction?


Regards:
Alex Alexandrov


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]