Roland McGrath [Wed, 19 Feb 2003 19:47:36 +0000 (19:47 +0000)]
2003-02-16 Roland McGrath <roland@redhat.com>
* signal/signal.h: Include <sys/ucontext.h>, not <ucontext.h>.
Ulrich Drepper [Wed, 19 Feb 2003 09:06:14 +0000 (09:06 +0000)]
Update.
* stdlib/tst-strtod.c (main): Add test for strtof bug.
Ulrich Drepper [Wed, 19 Feb 2003 08:45:03 +0000 (08:45 +0000)]
Update.
2003-02-19 Ulrich Drepper <drepper@redhat.com>
* stdlib/strtod.c (INTERNAL): Up the safety margin for cutting of
decimal input digits.
Ulrich Drepper [Tue, 18 Feb 2003 21:04:15 +0000 (21:04 +0000)]
Update.
2003-02-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize
invalid file descriptors and missing access permissions.
Ulrich Drepper [Tue, 18 Feb 2003 11:12:34 +0000 (11:12 +0000)]
Update.
* pthread_create.c (deallocate_tsd): Mark as internal_function.
Add some more __builtin_expect.
Ulrich Drepper [Tue, 18 Feb 2003 10:59:20 +0000 (10:59 +0000)]
Update.
2003-02-18 Ulrich Drepper <drepper@redhat.com>
* pthreadP.h: Define dummy versio of DEBUGGING_P.
Ulrich Drepper [Tue, 18 Feb 2003 08:16:47 +0000 (08:16 +0000)]
Update.
* nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 if no entry has
Ulrich Drepper [Tue, 18 Feb 2003 06:33:08 +0000 (06:33 +0000)]
Update.
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Remnove
_POSIX_THREAD_PRIORITY_SCHEDULING.
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Remove
_XOPEN_REALTIME_THREADS.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
* sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): The
kernel returns EINVAL for PID <= 0, work around it.
Ulrich Drepper [Tue, 18 Feb 2003 04:03:36 +0000 (04:03 +0000)]
Update.
* nss/getXXbyYY_r.c (REENTRANT_NAME): Return 0 is no entry has
been found.
Ulrich Drepper [Tue, 18 Feb 2003 03:46:54 +0000 (03:46 +0000)]
Update.
2003-02-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and
TTY_NAME_MAX and not the _POSIX_* minimal value macros.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
and LOGIN_NAME_MAX.
Ulrich Drepper [Tue, 18 Feb 2003 02:26:32 +0000 (02:26 +0000)]
Update.
2003-02-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
and LOGIN_NAME_MAX.
Ulrich Drepper [Mon, 17 Feb 2003 23:49:52 +0000 (23:49 +0000)]
Update.
* Makefile (tests): Add tst-signal5.
* tst-signal5.c: New file.
Ulrich Drepper [Mon, 17 Feb 2003 22:57:19 +0000 (22:57 +0000)]
Update.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
and LOGIN_NAME_MAX.
Ulrich Drepper [Mon, 17 Feb 2003 20:46:52 +0000 (20:46 +0000)]
Update.
2003-02-17 Kevin B. Hendricks <kevin.hendricks@sympatico.ca>
Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/powerpc/elf/libc-start.c: Handle NONTLS_INIT_TP.
* sysdeps/powerpc/powerpc32/__longjmp.S: Remove R2 handling.
* sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
Ulrich Drepper [Mon, 17 Feb 2003 19:15:42 +0000 (19:15 +0000)]
Update.
2003-02-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/pread.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here.
* sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here.
* sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/tcsetattr.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete.
Ulrich Drepper [Mon, 17 Feb 2003 10:47:41 +0000 (10:47 +0000)]
Update.
* tst-cancel1.c (tf): Block all signals.
Ulrich Drepper [Mon, 17 Feb 2003 10:22:52 +0000 (10:22 +0000)]
Update.
2003-02-17 Ulrich Drepper <drepper@redhat.com>
* Makefile (tests): Add tst-basic6.
* tst-basic6.c: New file.
* tst-basic1.c: Add test for process ID.
* Makefile (tests): Add tst-cancel10.
* tst-cancel10.c: New file.
* Makefile (tests): Add tst-signal4.
* tst-signal4.c: New file.
* sysdeps/pthread/pthread_sigmask.c (pthread_sigmask): Use
__sigismember instead of sigismember. Add __builtin_expect.
Ulrich Drepper [Mon, 17 Feb 2003 06:44:07 +0000 (06:44 +0000)]
Update.
* tst-attr1.c (do_test): Add tests for pthread_setcanceltype,
pthread_setcancelstate, and pthread_rwlock_setpshared.
Ulrich Drepper [Sun, 16 Feb 2003 22:11:14 +0000 (22:11 +0000)]
Update.
* tst-cancel7.c (do_test): Make sure the pid file exists before
canceling the thread.
* libc-cancellation.c (__libc_enable_asynccancel): Rewrite to avoid
Ulrich Drepper [Sun, 16 Feb 2003 19:42:33 +0000 (19:42 +0000)]
Update.
2003-02-14 Thorsten Kukuk <kukuk@suse.de>
* nss/getent.c (print_hosts): Print all IP addresses of one host.
Ulrich Drepper [Sun, 16 Feb 2003 10:57:38 +0000 (10:57 +0000)]
Update.
* tst-rwlock6.c: More pthread_rwlock_timedwrlock and
pthread_rwlock_timedrdlock tests.
* tst-rwlock7.c: More pthread_rwlock_timedwrlock tests.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
Check for invalid tv_nsec field.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
Likewise.
* pthread_mutex_trylock.c (__pthread_mutex_trylock): Protect
recursive mutex of overflow.
* tst-attr1.c (do_test): Add test for pthread_mutexattr_setpshared.
Ulrich Drepper [Sun, 16 Feb 2003 09:18:53 +0000 (09:18 +0000)]
Update.
2003-02-16 Ulrich Drepper <drepper@redhat.com>
* libc-cancellation.c (__libc_enable_asynccancel): Rwrite to avoid
going into an endless loop.
* Makefile (tests): Add tst-cancel9.
* tst-cancel9.c: New file.
* pthread_cancel.c (pthread_cancel): Use the result of __pthread_kill.
Ulrich Drepper [Sun, 16 Feb 2003 08:52:22 +0000 (08:52 +0000)]
(pthread_cancel): Use the result of __pthread_kill.
Roland McGrath [Sun, 16 Feb 2003 03:55:27 +0000 (03:55 +0000)]
* mach/errsystems.awk: Include <errno.h> in generated output.
Roland McGrath [Sun, 16 Feb 2003 03:02:08 +0000 (03:02 +0000)]
* sysdeps/mach/hurd/tls.h: New file.
* sysdeps/mach/hurd/i386/tls.h: New file.
Roland McGrath [Sat, 15 Feb 2003 22:59:38 +0000 (22:59 +0000)]
* sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t,
use target mach-before-compile instead of generated.
(mach-before-compile): New target.
* Makerules: Disable use of tls.make if $(generating) is set.
* mach/Makefile: Include mach-syscalls.mk even if no_deps=t.
* sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on
mach-shortcuts.h so mach/ generation happens before hurd/.
Roland McGrath [Sat, 15 Feb 2003 22:59:19 +0000 (22:59 +0000)]
2003-02-15 Roland McGrath <roland@frob.com>
* sysdeps/mach/Makefile (mach-before-compile rule): Pass generating=t,
use target mach-before-compile instead of generated.
(mach-before-compile): New target.
* Makerules: Disable use of tls.make if $(generating) is set.
* mach/Makefile: Include mach-syscalls.mk even if no_deps=t.
* sysdeps/mach/hurd/Makefile: Make generated hurd headers depend on
mach-shortcuts.h so mach/ generation happens before hurd/.
Ulrich Drepper [Sat, 15 Feb 2003 22:50:01 +0000 (22:50 +0000)]
To-Do list for testing.
Ulrich Drepper [Sat, 15 Feb 2003 22:32:50 +0000 (22:32 +0000)]
Update.
* tst-mutex5.c (do_test): Add more timedlock tests.
Ulrich Drepper [Sat, 15 Feb 2003 20:54:25 +0000 (20:54 +0000)]
Update.
* tst-mutex2.c: Tests of trylock and unlock with ERROR mutexes.
Ulrich Drepper [Sat, 15 Feb 2003 10:32:02 +0000 (10:32 +0000)]
Update.
* tst-mutex3.c (do_test): Add tests for trylock with RECURSIVE mutexes.
Ulrich Drepper [Sat, 15 Feb 2003 10:11:42 +0000 (10:11 +0000)]
Update.
* sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Don't
use INLINE_SYSCALL. Error number is returned, not -1.
Ulrich Drepper [Sat, 15 Feb 2003 09:49:02 +0000 (09:49 +0000)]
Update.
* pthreadP.h: Mark declarations of __find_in_stack_list, __free_tcb,
and __deallocate_stack with internal_function.
* pthread_create.c: Adjust definitions appropriately.
* allocatestack.c: Likewise.
* pthread_join.c: Add one more __builtin_expect.
* pthread_timedjoin.c: Likewise.
* pthread_getspecific.c (__pthread_getspecific): Clear data->data
not data of sequence number does not match.
Add one __builtin_expect.
Ulrich Drepper [Sat, 15 Feb 2003 08:34:58 +0000 (08:34 +0000)]
Update.
* Makefile (tests): Add tst-clock1.
* tst-clock1.c: New file.
Ulrich Drepper [Sat, 15 Feb 2003 08:21:36 +0000 (08:21 +0000)]
Update.
2003-02-15 Ulrich Drepper <drepper@redhat.com>
* pthread_setconcurrency.c (pthread_setconcurrency): Fail for
negative arguments.
* Makefile (tests): Add tst-basic5.
* tst-basic5.c: New file.
after thread is done. If then zero, call exit(0).
Ulrich Drepper [Sat, 15 Feb 2003 07:55:59 +0000 (07:55 +0000)]
Update.
* math/libm-test.inc (nextafter_test): New test, but disabled due
to gcc bug.
Ulrich Drepper [Sat, 15 Feb 2003 05:25:17 +0000 (05:25 +0000)]
Update.
* sysdeps/i386/fpu/s_nextafterl.c: Decrement high word of mantissa
of demorm correctly if low word is zero.
Reported by Fred J. Tydeman <tydeman@tybor.com>.
Ulrich Drepper [Sat, 15 Feb 2003 00:40:58 +0000 (00:40 +0000)]
Update.
2003-02-14 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
Check pthread_create existance, not __pthread_fork.
Ulrich Drepper [Fri, 14 Feb 2003 23:31:11 +0000 (23:31 +0000)]
Update.
2003-02-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread
counter and only call __exit_thread if this is not the last thread.
Ulrich Drepper [Fri, 14 Feb 2003 18:33:54 +0000 (18:33 +0000)]
Update.
* descr.h: Define CANCELING_BIT and CANCELING_BITMASK. Introduce
after CANCELTYPE_BIT, move the other bits up. Update CANCEL_RESTMASK.
* init.c (sigcancel_handler): Also set CANCELING_BITMASK bit in newval.
* pthread_cancel.c (pthread_cancel): Likewise. Also set CANCELING_BIT
if asynchronous canceling is enabled.
* pthread_join.c (pthread_join): When recognizing circular joins,
take into account the other thread might be already canceled.
* Makefile (tests): Add tst-join5.
* tst-join5.c: New file.
Ulrich Drepper [Fri, 14 Feb 2003 08:49:07 +0000 (08:49 +0000)]
Update.
2003-02-14 Ulrich Drepper <drepper@redhat.com>
* Makefile (tests): Add tst-join4.
* tst-join4.c: New file.
2003-02-13 Ulrich Drepper <drepper@redhat.com>
* tst-cond4.c (main): Add test of pthread_attr_getpshared.
Ulrich Drepper [Fri, 14 Feb 2003 06:11:21 +0000 (06:11 +0000)]
Update.
2003-02-13 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of
subtracting map->l_tls_offset.
Ulrich Drepper [Fri, 14 Feb 2003 03:26:28 +0000 (03:26 +0000)]
Update.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Fix
handling of cancellation and failung pthread_mutex_unlock call.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
* Makefile (tests): Add tst-cond8 and tst-cond9.
* tst-cond8.c: New file.
* tst-cond9.c: New file.
Ulrich Drepper [Fri, 14 Feb 2003 01:12:02 +0000 (01:12 +0000)]
Update.
* tst-cond7.c (do_test): Unlock the mutex before canceling the thread.
* sysdeps/pthread/pthread.h: Add missing initializers. Protect
non-standard initializers with __USE_GNU.
Ulrich Drepper [Thu, 13 Feb 2003 19:50:46 +0000 (19:50 +0000)]
Update.
2003-02-13 Ulrich Drepper <drepper@redhat.com>
* Makefile (tests): Add tst-cleanup3.
* tst-cleanup3.c: New file.
Ulrich Drepper [Thu, 13 Feb 2003 07:53:26 +0000 (07:53 +0000)]
Update.
* Makefile (tests): Add tst-attr1 and tst-attr2.
* tst-attr1.c: New file.
* tst-attr2.c: New file.
Ulrich Drepper [Thu, 13 Feb 2003 07:14:38 +0000 (07:14 +0000)]
Update.
* Makefile: Add rules to build and run tst-atfork2 test.
* tst-atfork2.c: New file.
* tst-atfork2mod.c: New file.
* sysdeps/unix/sysv/linux/unregister-atfork.c
(__unregister_atfork): Free the memory allocated for the handlers
after removing them from the lists.
* sysdeps/unix/sysv/linux/register-atfork.c: Define memeory
cleanup function.
* tst-atfork1.c (do_test): Wait for the child we forked.
Report error in child.
* sysdeps/unix/sysv/linux/fork.c (__libc_fork): Fix comment.
Ulrich Drepper [Wed, 12 Feb 2003 22:33:22 +0000 (22:33 +0000)]
Update.
* sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and
_CS_GNU_LIBPTHREAD_VERSION.
* posix/conststr.c: Handle these new values.
* posix/getconf.c: Likewise.
* io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember
Ulrich Drepper [Wed, 12 Feb 2003 09:43:55 +0000 (09:43 +0000)]
Update.
2003-02-12 Ulrich Drepper <drepper@redhat.com>
* sysdeps/mips/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Fix
masking of version index.
Patch by Lance Larsh <Lance.Larsh@oracle.com>.
Ulrich Drepper [Wed, 12 Feb 2003 07:44:59 +0000 (07:44 +0000)]
Update.
2003-02-11 Ulrich Drepper <drepper@redhat.com>
* nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Compute alignment
correctly. Reported by Thorsten Kukuk.
Ulrich Drepper [Tue, 11 Feb 2003 06:31:57 +0000 (06:31 +0000)]
Update.
2003-02-10 Ulrich Drepper <drepper@redhat.com>
* elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and
_BSD_SOURCE to compiler.
* elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings.
Patches by Alan Modra.
Ulrich Drepper [Tue, 11 Feb 2003 00:48:56 +0000 (00:48 +0000)]
Update.
* Makefile (tests): Add tst-cancel8.
* tst-cancel8.c: New file.
Ulrich Drepper [Mon, 10 Feb 2003 23:43:49 +0000 (23:43 +0000)]
Update.
* Makefile (tests): Add tst-once3 and tst-once4.
* tst-once4.c: New file.
Ulrich Drepper [Mon, 10 Feb 2003 23:11:15 +0000 (23:11 +0000)]
Update.
2003-02-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/pthread_once.S (clear_once_control): Fix
clearing of control variable.
* Makefile (tests): Add tst-once3.
* tst-once3.c: New file.
Ulrich Drepper [Mon, 10 Feb 2003 09:24:12 +0000 (09:24 +0000)]
Update.
2003-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/sh/Makefile: New file.
* sysdeps/sh/bits/atomic.h: New file.
* sysdeps/sh/pthread_spin_init.c: New file.
* sysdeps/sh/pthread_spin_lock.c: New file.
* sysdeps/sh/pthread_spin_trylock.S: New file.
* sysdeps/sh/pthread_spin_unlock.S: New file.
* sysdeps/sh/pthreaddef.h: New file.
* sysdeps/sh/tcb-offsets.sym: New file.
* sysdeps/sh/td_ta_map_lwp2thr.c: New file.
* sysdeps/sh/tls.h: New file.
* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: New file.
* sysdeps/unix/sysv/linux/sh/bits/semaphore.h: New file.
* sysdeps/unix/sysv/linux/sh/createthread.c: New file.
* sysdeps/unix/sysv/linux/sh/fork.c: New file.
* sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: New file.
* sysdeps/unix/sysv/linux/sh/libc-lowlevelmutex.S: New file.
* sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: New file.
* sysdeps/unix/sysv/linux/sh/lowlevelcond.h: New file.
* sysdeps/unix/sysv/linux/sh/lowlevellock.S: New file.
* sysdeps/unix/sysv/linux/sh/lowlevellock.h: New file.
* sysdeps/unix/sysv/linux/sh/lowlevelmutex.S: New file.
* sysdeps/unix/sysv/linux/sh/lowlevelrwlock.h: New file.
* sysdeps/unix/sysv/linux/sh/pt-initfini.c: New file.
* sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_once.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: New file.
* sysdeps/unix/sysv/linux/sh/sem_post.S: New file.
* sysdeps/unix/sysv/linux/sh/sem_timedwait.S: New file.
* sysdeps/unix/sysv/linux/sh/sem_trywait.S: New file.
* sysdeps/unix/sysv/linux/sh/sem_wait.S: New file.
* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: New file.
Ulrich Drepper [Mon, 10 Feb 2003 09:08:52 +0000 (09:08 +0000)]
Makefile for SH.
Andreas Jaeger [Mon, 10 Feb 2003 08:25:44 +0000 (08:25 +0000)]
Rework: %r9 is destroyed by functions so don't use it as
temporary, align stack correctly, fix parameter for CDISABLE.
2003-02-09 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h:
Rework: %r9 is destroyed by functions so don't use it as
temporary, align stack correctly, fix parameter for CDISABLE.
Ulrich Drepper [Sat, 8 Feb 2003 19:44:33 +0000 (19:44 +0000)]
Update.
2003-02-08 Ulrich Drepper <drepper@redhat.com>
* tst-cond2.c: Rearrange code to not rely on behavior undefined
according to POSIX.
* tst-basic2.c (do_test): Lock mutex before creating the thread.
Ulrich Drepper [Sat, 8 Feb 2003 18:29:49 +0000 (18:29 +0000)]
Update.
2003-02-08 Ulrich Drepper <drepper@redhat.com>
* io/ftwtest.c: Get current working directory before and after the
nftw call and make sure they match.
2003-02-08 Jim Meyering <jim@meyering.net>
* ftw.c (ftw_startup): When using FTW_CHDIR, always remember
the current directory, not just when DIR contains a slash.
Reported by Manoj Srivastava.
Ulrich Drepper [Sat, 8 Feb 2003 02:50:59 +0000 (02:50 +0000)]
Update.
2003-02-07 Jim Meyering <jim@meyering.net>
* io/ftw.c: Add autoconf-recommended block of alloca-related code.
Include autoconf-recommended block of dirent/NAMELEN-related
definitions and includes. Use NAMELEN throughout, rather than
_D_EXACT_NAMLEN.
[_LIBC]: Define NAMELEN to _D_EXACT_NAMLEN.
[!_LIBC] (__getcwd): Define to xgetcwd and declare xgetcwd.
(stpcpy): Declare, if necessary.
(mempcpy): Define, if necessary.
[!_LIBC] (__stpcpy, __mempcpy): Define.
[!_LIBC] (LXSTAT, XSTAT): Define.
(lstat) [!LIBC && !LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define to rpl_lstat.
(find_object): Don't use c99-style struct initializer.
Tweak wording in a couple comments.
Ulrich Drepper [Sat, 8 Feb 2003 02:34:27 +0000 (02:34 +0000)]
Update.
2003-02-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* elf/tls-macros.h: Add non-PIC TLS macros and fix clobber list
for SH.
* sysdeps/unix/sysv/linux/sh/brk.c: Add SYSCALL_INST_PAD
after the trapa instruction.
* sysdeps/unix/sysv/linux/sh/clone.S (__clone): Add additional
parameters.
* sysdeps/unix/sysv/linux/sh/sh4/sysdep.h: New file.
(NEED_SYSCALL_INST_PAD): Define.
* sysdeps/unix/sysv/linux/sh/sys/user.h (start_thread): Undef to
avoid to use definition for the kernel.
* sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
Save and restore the frame pointer.
(SYSCALL_INST_PAD): Define.
(INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
(INTERNAL_SYSCALL): Make use of ERR parameter. Add SYSCALL_INST_PAD
after trapa instruction.
(INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
Ulrich Drepper [Sat, 8 Feb 2003 02:30:16 +0000 (02:30 +0000)]
Add non-PIC TLS macros and fix clobber list for SH.
Andreas Schwab [Sat, 8 Feb 2003 00:19:53 +0000 (00:19 +0000)]
* sysdeps/unix/sysv/linux/m68k/vfork.S: Branch to __fork whenever
libpthread.so is loaded.
Andreas Schwab [Sat, 8 Feb 2003 00:19:21 +0000 (00:19 +0000)]
Branch to __fork whenever libpthread.so is loaded.
Ulrich Drepper [Fri, 7 Feb 2003 20:46:55 +0000 (20:46 +0000)]
Update.
2003-02-07 Jakub Jelinek <jakub@redhat.com>
* resolv/res_libc.c (_res): Ensure _res is not common symbol,
so that it can have aliases.
* inet/herrno.c (h_errno): Put it into .bss not .data section.
Patch by Lance Larsh <Lance.Larsh@oracle.com>.
Ulrich Drepper [Fri, 7 Feb 2003 19:45:00 +0000 (19:45 +0000)]
Update.
2003-02-07 Ulrich Drepper <drepper@redhat.com>
* elf/dl-runtime.c (fixup): Correct typo in version index computation.
(profile_fixup): Likewise.
Ulrich Drepper [Fri, 7 Feb 2003 09:58:39 +0000 (09:58 +0000)]
Update.
* sysdeps/x86_64/tls.h: Remove unnecessary macros, left over from x86.
(TLS_GET_FS): New #define.
(TLS_SET_FS): New #define.
Correct value of __NR_set_thread_area.
Ulrich Drepper [Fri, 7 Feb 2003 09:11:24 +0000 (09:11 +0000)]
Update.
2003-02-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/td_ta_map_lwp2thr.c: New file.
Ulrich Drepper [Fri, 7 Feb 2003 06:46:21 +0000 (06:46 +0000)]
Update.
2003-02-07 Jakub Jelinek <jakub@redhat.com>
* tst-popen2.c: New test.
* Makefile (tests): Add tst-popen2.
* sysdeps/unix/sysv/linux/alpha/vfork.S (__vfork): Branch to __fork
whenever libpthread.so is loaded.
* sysdeps/unix/sysv/linux/i386/vfork.S (__vfork): Likewise.
* sysdeps/unix/sysv/linux/ia64/vfork.S (__vfork): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/vfork.S (__vfork): Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S (__vfork): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S (__vfork): Likewise.
* sysdeps/unix/sysv/linux/x86_64/vfork.S (__vfork): Likewise.
Ulrich Drepper [Thu, 6 Feb 2003 19:15:14 +0000 (19:15 +0000)]
Update.
2002-11-24 Robert Love <rml@tech9.net>
* posix/sched.h: Second parameter of sched_setaffinity and
sched_getaffinity is `unsigned int', not `unsigned long'.
* sysdeps/generic/sched_setaffinity.c: Likewise.
* sysdeps/generic/sched_getaffinity.c: Likewise.
Reported by John Levon <levon@movementarian.org>.
Ulrich Drepper [Thu, 6 Feb 2003 08:38:56 +0000 (08:38 +0000)]
Update.
2003-02-06 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Remove wrong
but inactive generalization.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
Minor optimization, remove one instruction.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
Ulrich Drepper [Thu, 6 Feb 2003 03:05:38 +0000 (03:05 +0000)]
Update.
* debug/catchsegv.sh: Fix typo in error messsage.
Reported by John Levon <leven@movementarian.org>.
Ulrich Drepper [Wed, 5 Feb 2003 23:30:38 +0000 (23:30 +0000)]
Update.
* sysdeps/unix/sysv/linux/posix_fadvise.c: New file.
* sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
Ulrich Drepper [Wed, 5 Feb 2003 18:06:28 +0000 (18:06 +0000)]
Update.
2003-02-05 Ulrich Drepper <drepper@redhat.com>
* libio/putwc_u.c: Use _IO_putwc_unlocked, not _IO_putc_unlocked.
Patch by Moritz Schulte <moritz@duesseldorf.ccc.de>.
Ulrich Drepper [Wed, 5 Feb 2003 17:47:50 +0000 (17:47 +0000)]
Update.
2003-02-05 Jim Meyering <jim@meyering.net>
Fix a heap-corrupting bug.
* io/ftw.c: Include <limits.h>.
(PATH_MAX) [!defined PATH_MAX]: Define to 1024.
(process_entry): Allocate enough space to hold the resulting
file name. Don't presume that 2*dirbufsize is enough.
(ftw_startup): Always use PATH_MAX to compute buffer size, now that
it is guaranteed to be defined.
Ulrich Drepper [Wed, 5 Feb 2003 09:54:24 +0000 (09:54 +0000)]
Update.
2003-02-05 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/bits/libc-lock.h (__libc_once): Set control
variable for non-libpthread case to the same value the
pthread_once function would use.
Ulrich Drepper [Wed, 5 Feb 2003 07:22:09 +0000 (07:22 +0000)]
Update.
* atomic.h: Add a couple more default implementations.
(atomic_compare_and_exchange_acq): Use
Ulrich Drepper [Wed, 5 Feb 2003 07:10:33 +0000 (07:10 +0000)]
Update.
* atomic.h (atomic_compare_and_exchange_acq): Use
__arch_compare_and_exchange_32_acq in return value definition. It
always exists.
(atomic_bit_set): Renamed from atomic_set_bit.
Ulrich Drepper [Wed, 5 Feb 2003 07:00:46 +0000 (07:00 +0000)]
Update.
* atomic.h (atomic_bit_set): Renamed from atomic_set_bit.
Add missing atomic_ prefixes.
Ulrich Drepper [Wed, 5 Feb 2003 06:56:56 +0000 (06:56 +0000)]
Update.
* atomic.h: Add missing atomic_ prefixes.
Ulrich Drepper [Wed, 5 Feb 2003 00:03:02 +0000 (00:03 +0000)]
Update.
2003-02-04 Ulrich Drepper <drepper@redhat.com>
* iconvdata/Makefile: Add rules to build and run bug-iconv3.
* iconvdata/bug-iconv3.c: New file.
Ulrich Drepper [Tue, 4 Feb 2003 18:39:02 +0000 (18:39 +0000)]
Update.
2003-02-04 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/system.c: New file.
Ulrich Drepper [Tue, 4 Feb 2003 08:41:05 +0000 (08:41 +0000)]
Update.
2003-02-03 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc32/elf/configure.in (BROKEN_SPARC_WDISP22): New
check.
* config.h.in (BROKEN_SPARC_WDISP22): Add.
Ulrich Drepper [Tue, 4 Feb 2003 07:53:07 +0000 (07:53 +0000)]
Update.
2003-02-03 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/i686/memmove.S: New file.
Ulrich Drepper [Tue, 4 Feb 2003 07:51:36 +0000 (07:51 +0000)]
memmove for i686.
Andreas Jaeger [Tue, 4 Feb 2003 07:35:42 +0000 (07:35 +0000)]
* sysdeps/unix/sysv/linux/hppa/pt-initfini.c: Do not use
multi-line strings.
2003-02-04 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/hppa/pt-initfini.c: Do not use
multi-line strings.
Ulrich Drepper [Tue, 4 Feb 2003 00:28:45 +0000 (00:28 +0000)]
(allocate_stack): Use __getpagesize instead of __sysconf to determine pagesize.
Ulrich Drepper [Mon, 3 Feb 2003 21:59:40 +0000 (21:59 +0000)]
Fix typo.
(__lll_lock_wait): Add branch prediction.
Ulrich Drepper [Mon, 3 Feb 2003 21:57:42 +0000 (21:57 +0000)]
Update.
2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c:
Include kernel-features.h
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
Ulrich Drepper [Mon, 3 Feb 2003 20:53:19 +0000 (20:53 +0000)]
Update.
2003-02-03 Ulrich Drepper <drepper@redhat.com>
* allocatestack.c (allocate_stack): Implement coloring of the
allocated stack memory. Rename pagesize to pagesize_m1. It's the
size minus one. Adjust users.
Ulrich Drepper [Mon, 3 Feb 2003 06:11:58 +0000 (06:11 +0000)]
Update.
* allocatestack.c: Improve comment throughout the file.
Ulrich Drepper [Mon, 3 Feb 2003 03:51:24 +0000 (03:51 +0000)]
Update.
2003-02-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
(__lll_lock_wait): Add branch predicition.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S
(__lll_lock_wait): Likewise.
(lll_unlock_wake_cb): Removed.
Ulrich Drepper [Sun, 2 Feb 2003 22:20:38 +0000 (22:20 +0000)]
Update.
2003-02-02 Jakub Jelinek <jakub@redhat.com>
* elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers.
Ulrich Drepper [Sun, 2 Feb 2003 21:53:23 +0000 (21:53 +0000)]
Update.
2003-01-25 Jim Meyering <jim@meyering.net>
* io/ftw.c (object_compare): Compare inode numbers before device
numbers, since the former are much more likely to differ.
Ulrich Drepper [Sat, 1 Feb 2003 20:53:16 +0000 (20:53 +0000)]
Update.
2003-02-01 Ulrich Drepper <drepper@redhat.com>
* time/tzfile.c (__tzfile_compute): Change return value type to
void. Adjust return statements.
* include/time.h (__tzfile_compute): Adjust prototype.
2003-02-01 Jim Meyering <jim@meyering.net>
* time/tzset.c (__tz_convert): Remove dead code; __tzfile_compute
always returns 1.
2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
[!__ASSUME_NEW_PRCTL_SYSCALL]: Noop prctl syscall and set ENOSYS.
2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
[!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Generate ENOSYS stub.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
[!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
[!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
[!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Likewise.
2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/configure.in: Change arch_minimum_kernel
back to 2.4.19 for powerpc64.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_NEW_PRCTL_SYSCALL): Define for powerpc64.
(__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Define for powerpc64.
2003-02-01 Ulrich Drepper <drepper@redhat.com>
* wcsmbs/wcscpy.c (wcscpy): Add alternative implementation for
platforms with strange alignment requirements on wchar_t.
Ulrich Drepper [Sat, 1 Feb 2003 03:26:11 +0000 (03:26 +0000)]
Update.
2003-01-31 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Remove
_POSIX_THREAD_PRIORITY_SCHEDULING.
Ulrich Drepper [Fri, 31 Jan 2003 03:44:25 +0000 (03:44 +0000)]
Update.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove __GI_*
aliases, already added by make-syscalls.sh.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/unix/inet/syscalls.list: Likewise.
* sysdeps/unix/syscalls.list: Likewise.
2003-01-31 Andreas Schwab <schwab@suse.de>
Ulrich Drepper [Fri, 31 Jan 2003 03:40:10 +0000 (03:40 +0000)]
Remove __GI_* aliases, already added by make-syscalls.sh.
Andreas Schwab [Thu, 30 Jan 2003 23:53:23 +0000 (23:53 +0000)]
* sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not needed
any more.
Andreas Schwab [Thu, 30 Jan 2003 23:52:52 +0000 (23:52 +0000)]
(sysdep-CFLAGS): Don't define, not needed any more.