2002-01-07 Chris Demetriou <cgd@broadcom.com>

* crt0.S: Check for definition of __mips64 rather than
	checking (__mips < 3).
	* pmon.S: Likewise.
	* cygmon.c (sysCall): Avoid multi-line string literals.
This commit is contained in:
Jeff Johnston
2003-01-07 21:10:54 +00:00
parent 68dea33819
commit 0978efa066
4 changed files with 16 additions and 9 deletions

View File

@ -60,13 +60,13 @@ struct s_mem
int sysCall(unsigned long func, unsigned long p1, unsigned long p2, unsigned long p3)
{
int ret = 0;
asm volatile ( "
move $4, %1
move $5, %2
move $6, %3
move $7, %4
syscall
nop
asm volatile ( " \n\
move $4, %1 \n\
move $5, %2 \n\
move $6, %3 \n\
move $7, %4 \n\
syscall \n\
nop \n\
move %0, $2" : "=r"(ret) : "r"(func), "r"(p1), "r"(p2), "r"(p3));
return ret;
}