diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-01-07 21:10:54 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-01-07 21:10:54 +0000 |
commit | 0978efa06693a85ec2eb5a21e4fe634688c38006 (patch) | |
tree | 6d5ebf3aae4e0fbe9e793722be9c20400763ea57 /libgloss/mips/cygmon.c | |
parent | 68dea338192334c0b61dec2e910e1584ef08522f (diff) | |
download | cygnal-0978efa06693a85ec2eb5a21e4fe634688c38006.tar.gz cygnal-0978efa06693a85ec2eb5a21e4fe634688c38006.tar.bz2 cygnal-0978efa06693a85ec2eb5a21e4fe634688c38006.zip |
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.
Diffstat (limited to 'libgloss/mips/cygmon.c')
-rw-r--r-- | libgloss/mips/cygmon.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libgloss/mips/cygmon.c b/libgloss/mips/cygmon.c index a5b004995..506e853b6 100644 --- a/libgloss/mips/cygmon.c +++ b/libgloss/mips/cygmon.c @@ -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; } |