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:
Jeff Johnston 2002-04-15 20:45:59 +00:00
parent bc1fcb7798
commit 99db4d7356
2 changed files with 13 additions and 7 deletions

View File

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

View File

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