#\r
#------------------------------------------------------------------------------\r
\r
-.text\r
-.align 2\r
-\r
-.globl ASM_PFX(GccSemihostCall)\r
-INTERWORK_FUNC(GccSemihostCall)\r
+#include <AsmMacroIoLib.h>\r
\r
/*\r
Semihosting operation request mechanism\r
the svc lr register. That happens to be the one we are using, so we must\r
save it or we will not be able to return.\r
*/\r
-ASM_PFX(GccSemihostCall):\r
+ASM_FUNC(GccSemihostCall)\r
stmfd sp!, {lr}\r
svc #0x123456\r
ldmfd sp!, {lr}\r