* mn10300/time.c (time): Set *tloc, since the sim doesn't.

This commit is contained in:
Alexandre Oliva 2000-05-24 19:49:44 +00:00
parent 4b9f883e84
commit e6dfde6f82
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Wed May 24 16:47:12 2000 Alexandre Oliva <aoliva@cygnus.com>
* mn10300/time.c (time): Set *tloc, since the sim doesn't.
Mon Jan 31 18:45:26 2000 Donald Lindsay <dlindsay@cygnus.com>
* mips/crt0.S: If compiled into a mips2 multilib, sets processor

View File

@ -7,5 +7,9 @@
time_t
time (time_t *tloc)
{
return TRAP0 (SYS_time, tloc, 0, 0);
time_t res;
res = TRAP0 (SYS_time, 0, 0, 0);
if (tloc)
*tloc = res;
return res;
}