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

@ -1,3 +1,10 @@
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.
2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
* mips/Makefile.in: Add cygmon support.

View File

@ -66,7 +66,7 @@ _start:
nop
move s0,$31
#endif
#if (__mips < 3) || (__mips_fpr==32)
#if !defined(__mips64) || (__mips_fpr==32)
#define STATUS_MASK (SR_CU1|SR_PE)
#else
# For mips3 or mips4, turn on 64-bit addressing and additional float regs

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;
}

View File

@ -19,7 +19,7 @@
.set nomips16
#endif
#if __mips < 3
#if !defined(__mips64)
/* This machine does not support 64-bit operations. */
#define ADDU addu
#define SUBU subu