2002-04-15 Hans-Peter Nilsson <hp@bitrange.com>
* d30v/syscalls.c: #include <time.h>. Don't use multi-line strings.
This commit is contained in:
parent
bc1fcb7798
commit
99db4d7356
|
@ -1,3 +1,8 @@
|
||||||
|
2002-04-15 Hans-Peter Nilsson <hp@bitrange.com>
|
||||||
|
|
||||||
|
* d30v/syscalls.c: #include <time.h>. Don't use multi-line
|
||||||
|
strings.
|
||||||
|
|
||||||
2002-04-15 Hans-Peter Nilsson <hp@bitrange.com>
|
2002-04-15 Hans-Peter Nilsson <hp@bitrange.com>
|
||||||
|
|
||||||
* m32r/trapmon0.c (__trap0): Don't use multi-line strings.
|
* m32r/trapmon0.c (__trap0): Don't use multi-line strings.
|
||||||
|
|
|
@ -17,18 +17,19 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <time.h>
|
||||||
#include "syscall.h"
|
#include "syscall.h"
|
||||||
|
|
||||||
extern int *__errno(), errno;
|
extern int *__errno(), errno;
|
||||||
|
|
||||||
__asm__ (
|
__asm__ (
|
||||||
" .globl __syscall
|
" .globl __syscall \n\
|
||||||
.type __syscall,@function
|
.type __syscall,@function \n\
|
||||||
__syscall:
|
__syscall: \n\
|
||||||
trap 31 || nop
|
trap 31 || nop \n\
|
||||||
cmpge f0,r2,0 -> jmp/tx link
|
cmpge f0,r2,0 -> jmp/tx link \n\
|
||||||
bra __set_errno
|
bra __set_errno \n\
|
||||||
.size __syscall,.-__syscall
|
.size __syscall,.-__syscall \n\
|
||||||
");
|
");
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in New Issue