diff options
author | Roland McGrath <roland@gnu.org> | 2002-11-22 01:27:01 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-11-22 01:27:01 +0000 |
commit | 1c120cb8e7eddf810ae3e997eebd689506c98307 (patch) | |
tree | 7361a33bd2ecd1388f4592da6d1e36ea9de0b9fc /sysdeps | |
parent | 294ec901bfffa13b5d75cd4056c293d3fdd5c6e8 (diff) | |
download | glibc-1c120cb8e7eddf810ae3e997eebd689506c98307.zip glibc-1c120cb8e7eddf810ae3e997eebd689506c98307.tar.gz glibc-1c120cb8e7eddf810ae3e997eebd689506c98307.tar.bz2 |
* sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it.
From Ian Wienand <ianw@gelato.unsw.edu.au>.
* sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_pread): Define to
__NR_pread64 if not defined.
(__NR_pwrite): Define to __NR_pwrite64 if not defined.
From Ian Wienand <ianw@gelato.unsw.edu.au>.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/sysdep.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/sysdep.h b/sysdeps/unix/sysv/linux/ia64/sysdep.h index 17f537d..57f7a7a 100644 --- a/sysdeps/unix/sysv/linux/ia64/sysdep.h +++ b/sysdeps/unix/sysv/linux/ia64/sysdep.h @@ -32,6 +32,16 @@ # define SYS_ify(syscall_name) __NR_/**/syscall_name #endif +/* This is a kludge to make syscalls.list find these under the names + pread and pwrite, since some kernel headers define those names + and some define the *64 names for the same system calls. */ +#if !defined __NR_pread && defined __NR_pread64 +# define __NR_pread __NR_pread64 +#endif +#if !defined __NR_pwrite && defined __NR_pwrite64 +# define __NR_pwrite __NR_pwrite64 +#endif + #ifdef __ASSEMBLER__ #undef CALL_MCOUNT |