2004-02-26 Andreas Schwab <schwab@suse.de>
* defs.h [LINUX && IA64]: Declare getrval2 also on IA64. * net.c (sys_pipe) [LINUX && IA64]: For IA64 use the two return values. * syscall.c (getrval2) [LINUX && IA64]: Implement for IA64.
This commit is contained in:
parent
176ac32167
commit
b4ce17690f
2
defs.h
2
defs.h
@ -484,7 +484,7 @@ extern void tv_div P((struct timeval *, struct timeval *, int));
|
||||
#ifdef SUNOS4
|
||||
extern int fixvfork P((struct tcb *));
|
||||
#endif
|
||||
#if !(defined(LINUX) && !defined(SPARC))
|
||||
#if !(defined(LINUX) && !defined(SPARC) && !defined(IA64))
|
||||
extern long getrval2 P((struct tcb *));
|
||||
#endif
|
||||
#ifdef USE_PROCFS
|
||||
|
4
net.c
4
net.c
@ -1166,7 +1166,7 @@ sys_pipe(tcp)
|
||||
struct tcb *tcp;
|
||||
{
|
||||
|
||||
#if defined(LINUX) && !defined(SPARC) && !defined(SH)
|
||||
#if defined(LINUX) && !defined(SPARC) && !defined(SH) && !defined(IA64)
|
||||
int fds[2];
|
||||
|
||||
if (exiting(tcp)) {
|
||||
@ -1179,7 +1179,7 @@ struct tcb *tcp;
|
||||
else
|
||||
tprintf("[%u, %u]", fds[0], fds[1]);
|
||||
}
|
||||
#elif defined(SPARC) || defined(SH) || defined(SVR4) || defined(FREEBSD)
|
||||
#elif defined(SPARC) || defined(SH) || defined(SVR4) || defined(FREEBSD) || defined(IA64)
|
||||
if (exiting(tcp))
|
||||
tprintf("[%lu, %lu]", tcp->u_rval, getrval2(tcp));
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user