summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c2
-rw-r--r--c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c2
-rw-r--r--c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c2
-rw-r--r--c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c2
-rw-r--r--c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c b/c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c
index 982b1906db..84b00a9456 100644
--- a/c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c
+++ b/c/src/lib/libcpu/sh/sh7032/score/ispsh7032.c
@@ -81,7 +81,7 @@ _wdt_isp,
* We try to work around this problem by using the macro below.
*/
#define isp( name, number, func)\
-asm (".global _"Str(name)"\n\t" \
+__asm__ (".global _"Str(name)"\n\t" \
"_"Str(name)": \n\t" \
" mov.l r0,@-r15 \n\t" \
" mov.l r1,@-r15 \n\t" \
diff --git a/c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c b/c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c
index 94a9d8e860..a2126ecd70 100644
--- a/c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c
+++ b/c/src/lib/libcpu/sh/sh7045/score/ispsh7045.c
@@ -107,7 +107,7 @@ _oei_isp, /* I/O Port: irq 156*/
* We try to work around this problem by using the macro below.
*/
#define isp( name, number, func)\
-asm (".global _"Str(name)"\n\t"\
+__asm__ (".global _"Str(name)"\n\t"\
"_"Str(name)": \n\t"\
" mov.l r0,@-r15 \n\t"\
" mov.l r1,@-r15 \n\t"\
diff --git a/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c b/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c
index a2c298bc38..fdbc350bfd 100644
--- a/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c
+++ b/c/src/lib/libcpu/sh/sh7750/sci/sh4uart.c
@@ -866,7 +866,7 @@ __asm__ (
" nop\n");
extern void ipl_serial_output(const char *buf, int len);
-asm (
+__asm__ (
" .global _ipl_serial_output\n"
"_ipl_serial_output:\n"
" mov #0,r0\n"
diff --git a/c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c b/c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c
index 77be0cf16b..d84751fa28 100644
--- a/c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c
+++ b/c/src/lib/libcpu/sh/sh7750/score/ispsh7750.c
@@ -71,7 +71,7 @@ void *_VBR_Saved;
" or #" __STRINGIFY__(SH7750_TSTR_STR0) ",r1\n" \
" mov.b r1,@r0 \n"
-asm (" .text\n"
+__asm__ (" .text\n"
" .balign 256\n"
" .global __vbr_base\n"
"__vbr_base:\n"
diff --git a/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c b/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c
index ed63834101..c487f43445 100644
--- a/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c
+++ b/c/src/lib/libcpu/sh/shgdb/score/ispshgdb.c
@@ -93,7 +93,7 @@ _dummy_isp
* We try to work around this problem by using the macro below.
*/
#define isp( name, number, func)\
-asm (".global _"Str(name)"\n\t"\
+__asm__ (".global _"Str(name)"\n\t"\
"_"Str(name)": \n\t"\
" mov.l r0,@-r15 \n\t"\
" mov.l r1,@-r15 \n\t"\