2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>

* sh7032/delay/delay.c, sh7032/score/cpu_asm.c,
	sh7032/score/ispsh7032.c, sh7045/sci/sci.c,
	sh7045/sci/sci_termios.c, sh7045/score/cpu_asm.c,
	sh7045/score/ispsh7045.c, sh7750/sci/sh4uart.c,
	sh7750/score/cpu_asm.c, sh7750/score/ispsh7750.c,
	shgdb/score/cpu_asm.c, shgdb/score/ispshgdb.c:
	Use "__asm__" instead of "asm" for improved c99-compliance.
This commit is contained in:
Ralf Corsepius
2011-02-11 13:03:48 +00:00
parent 11523a13a3
commit 099ea99151
5 changed files with 5 additions and 5 deletions

View File

@@ -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" \

View File

@@ -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"\

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"\