From f3015aa5ff2af899b7bb69576074cd4123911b61 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 15 Dec 2002 22:05:51 +0000 Subject: [PATCH] Update. 2002-12-15 Ulrich Drepper * sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): This is the original __libc_fcntl code. Just renamed. * sysdeps/unix/sysv/linux/m68k/clone.S: Make inline syscall to _exit. 2002-12-14 Olaf Hering * sysdeps/powerpc/bits/setjmp.h: Include . * sysdeps/powerpc/powerpc64/setjmp.S: Fix typo in r18 load. --- ChangeLog | 14 +++++++++----- linuxthreads/ChangeLog | 7 +++++++ linuxthreads/Versions | 4 ---- nptl/ChangeLog | 2 ++ nptl/Versions | 4 ---- nptl/pt-fcntl.c | 2 +- sysdeps/unix/sysv/linux/i386/fcntl.c | 4 ++-- 7 files changed, 21 insertions(+), 16 deletions(-) diff --git a/ChangeLog b/ChangeLog index 304ec0d..e621545 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,12 +1,16 @@ +2002-12-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): This is the + original __libc_fcntl code. Just renamed. + 2002-12-15 Andreas Schwab - * sysdeps/unix/sysv/linux/m68k/clone.S: Make inline syscall to - _exit. + * sysdeps/unix/sysv/linux/m68k/clone.S: Make inline syscall to _exit. -2002-12-14 Olaf Hering +2002-12-14 Olaf Hering - * sysdeps/powerpc/bits/setjmp.h: Include . - * sysdeps/powerpc/powerpc64/setjmp.S: Fix typo in r18 load. + * sysdeps/powerpc/bits/setjmp.h: Include . + * sysdeps/powerpc/powerpc64/setjmp.S: Fix typo in r18 load. 2002-12-15 Ulrich Drepper diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index a88297d..179e247 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,10 @@ +2002-12-15 Ulrich Drepper + + * Versions [libpthread: GLIBC_2.3.2]: Remove creat, poll, pselect, + readv, select, sigpause, sigsuspend, sigwaitinfo, waitid, writev. + * wrapsyscall.c: Remove creat, poll, pselect, readv, select, + sigpause, sigsuspend, sigwaitinfo, waitid, and writev wrappers. + 2002-12-10 Ulrich Drepper * wrapsyscall.c (CANCELABLE_SYSCALL): Don't define function as diff --git a/linuxthreads/Versions b/linuxthreads/Versions index 13d008c..78b1a93 100644 --- a/linuxthreads/Versions +++ b/linuxthreads/Versions @@ -155,10 +155,6 @@ libpthread { # Cancellation wrapper __nanosleep; } - GLIBC_2.3.2 { - creat; poll; pselect; readv; select; sigpause; sigsuspend; - sigwaitinfo; __xpg_sigpause; waitid; writev; - } GLIBC_PRIVATE { # Internal libc interface to libpthread __libc_internal_tsd_get; __libc_internal_tsd_set; diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 8529a26..a460d61 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,5 +1,7 @@ 2002-12-15 Ulrich Drepper + * pt-fcntl.c (__fcntl): Use fcntl64 syscall, not fcntl. + * Versions [libpthread: GLIBC_2.3.2]: Remove creat, poll, pselect, readv, select, sigpause, sigsuspend, sigwaitinfo, waitid, writev. * Makefile (libpthread-routines): Remove pt-creat, pt-poll, diff --git a/nptl/Versions b/nptl/Versions index 309a101..488ea2e 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -190,10 +190,6 @@ libpthread { } GLIBC_2.3.2 { - # The version for these interfaces is fixed. - creat; poll; pselect; readv; select; sigpause; sigsuspend; - sigwaitinfo; waitid; writev; __xpg_sigpause; - # Proposed API extensions. # XXX Adjust number for final release. pthread_tryjoin_np; pthread_timedjoin_np; diff --git a/nptl/pt-fcntl.c b/nptl/pt-fcntl.c index 5b55f0b..7d4a92c 100644 --- a/nptl/pt-fcntl.c +++ b/nptl/pt-fcntl.c @@ -38,7 +38,7 @@ __fcntl (int fd, int cmd, ...) va_start (ap, cmd); #ifdef INLINE_SYSCALL - int result = INLINE_SYSCALL (fcntl, 3, fd, cmd, va_arg (ap, long int)); + int result = INLINE_SYSCALL (fcntl64, 3, fd, cmd, va_arg (ap, long int)); #else int result = __libc_fcntl (fd, cmd, va_arg (ap, long int)); #endif diff --git a/sysdeps/unix/sysv/linux/i386/fcntl.c b/sysdeps/unix/sysv/linux/i386/fcntl.c index 4ff5ee3..bd174fe 100644 --- a/sysdeps/unix/sysv/linux/i386/fcntl.c +++ b/sysdeps/unix/sysv/linux/i386/fcntl.c @@ -35,8 +35,8 @@ extern int __syscall_fcntl64 (int __fd, int __cmd, ...); int __have_no_fcntl64; -int -__libc_fcntl (int fd, int cmd, ...) +static int +do_fcntl (int fd, int cmd, ...) { # ifdef __NR_fcntl64 if (! __have_no_fcntl64) -- 2.7.4