]> sourceware.org Git - glibc.git/commitdiff
* sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it.
authorRoland McGrath <roland@gnu.org>
Fri, 22 Nov 2002 01:27:01 +0000 (01:27 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 22 Nov 2002 01:27:01 +0000 (01:27 +0000)
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>.

ChangeLog
sysdeps/unix/sysv/linux/ia64/sysdep.h

index 70e2456b3e8e1567bd2e87f9d71cd747fc1efeb2..3d4b35d5576f717dbd51b9c046ae38cb11982a1c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2002-11-21  Roland McGrath  <roland@redhat.com>
+
+       * 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>.
+
 2002-11-21  Ulrich Drepper  <drepper@redhat.com>
 
        * elf/Makefile (tests): Don't run test-arrayX tests for now.
index 17f537d475819a849bf9bcf36770dd69ed334465..57f7a7a40b7b99f8ac61117787f673c4bb5b32dd 100644 (file)
 # 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
This page took 0.041704 seconds and 5 git commands to generate.