platform/upstream/linaro-glibc.git
21 years agoUpdate.
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>.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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

21 years agoUpdate.
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>.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
Ulrich Drepper [Tue, 11 Feb 2003 00:48:56 +0000 (00:48 +0000)]
Update.

* Makefile (tests): Add tst-cancel8.
* tst-cancel8.c: New file.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoMakefile for SH.
Ulrich Drepper [Mon, 10 Feb 2003 09:08:52 +0000 (09:08 +0000)]
Makefile for SH.

21 years agoRework: %r9 is destroyed by functions so don't use it as
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoAdd non-PIC TLS macros and fix clobber list for SH.
Ulrich Drepper [Sat, 8 Feb 2003 02:30:16 +0000 (02:30 +0000)]
Add non-PIC TLS macros and fix clobber list for SH.

21 years ago* sysdeps/unix/sysv/linux/m68k/vfork.S: Branch to __fork whenever
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.

21 years agoBranch 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.

21 years agoUpdate.
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>.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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>.

21 years agoUpdate.
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.

21 years agoUpdate.
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>.

21 years agoUpdate.
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.

21 years agoUpdate.
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>.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
Ulrich Drepper [Wed, 5 Feb 2003 06:56:56 +0000 (06:56 +0000)]
Update.

* atomic.h: Add missing atomic_ prefixes.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agomemmove for i686.
Ulrich Drepper [Tue, 4 Feb 2003 07:51:36 +0000 (07:51 +0000)]
memmove for i686.

21 years ago* sysdeps/unix/sysv/linux/hppa/pt-initfini.c: Do not use
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.

21 years ago(allocate_stack): Use __getpagesize instead of __sysconf to determine pagesize.
Ulrich Drepper [Tue, 4 Feb 2003 00:28:45 +0000 (00:28 +0000)]
(allocate_stack): Use __getpagesize instead of __sysconf to determine pagesize.

21 years agoFix typo.
Ulrich Drepper [Mon, 3 Feb 2003 21:59:40 +0000 (21:59 +0000)]
Fix typo.

(__lll_lock_wait): Add branch prediction.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Feb 2003 06:11:58 +0000 (06:11 +0000)]
Update.

* allocatestack.c: Improve comment throughout the file.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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.

21 years agoUpdate.
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>

21 years agoRemove __GI_* aliases, already added by make-syscalls.sh.
Ulrich Drepper [Fri, 31 Jan 2003 03:40:10 +0000 (03:40 +0000)]
Remove __GI_* aliases, already added by make-syscalls.sh.

21 years ago* sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not needed
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.

21 years ago(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.

21 years agoUpdate.
Ulrich Drepper [Thu, 30 Jan 2003 21:09:44 +0000 (21:09 +0000)]
Update.

2003-01-30  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Use lg,
not l to load tls from stack.

21 years agoAvoid warnings about unused self variable.
Ulrich Drepper [Thu, 30 Jan 2003 21:03:40 +0000 (21:03 +0000)]
Avoid warnings about unused self variable.

21 years ago* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for
Roland McGrath [Thu, 30 Jan 2003 20:46:53 +0000 (20:46 +0000)]
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for

null argument before all else.
Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>.

21 years ago2003-01-30 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 30 Jan 2003 20:46:44 +0000 (20:46 +0000)]
2003-01-30  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check for
null argument before all else.
Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>.

21 years agoUpdate.
Ulrich Drepper [Thu, 30 Jan 2003 20:26:38 +0000 (20:26 +0000)]
Update.

2003-01-30  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_lazy_rel):
Move to RESOLVE protected part of the header.
* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_lazy_rel):
Likewise.

2003-01-30  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/Makefile (tests): Add bug15.
(bug15-ENV): Define.
* stdio-common/bug15.c: New file.

21 years agoUpdate.
Ulrich Drepper [Thu, 30 Jan 2003 18:41:47 +0000 (18:41 +0000)]
Update.

2002-10-07  Wolfram Gloger  <wg@malloc.de>

* malloc/malloc.c (sYSMALLOc): Only check for breakage due
to foreign sbrk()'s if arena is contiguous.  Bug report from
Bruno Haible <bruno@clisp.org>.

2003-01-30  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/s390/libc-tls.c: Include stdlib.h.

2003-01-30  Jakub Jelinek  <jakub@redhat.com>

* stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of
ps.__count.

2003-01-30  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and
restoring of %r6.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.  Use
64-bit load.
Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.

2003-01-30  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error...
(allocate_static_tls): ...here.  Add __attribute_noinline__.
Don't return on failure.
(_dl_reloc_bad_type): Add __attribute_noinline__.
* elf/do-rel.h (elf_dynamic_do_rel): Add
__attribute__((always_inline)).
* elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative,
elf_machine_lazy_rel): Add prototypes with
__attribute__((always_inline)).

2003-01-29  David Mosberger  <davidm@hpl.hp.com>

* elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO.

21 years agoUpdate.
Ulrich Drepper [Thu, 30 Jan 2003 18:04:01 +0000 (18:04 +0000)]
Update.

2003-01-30  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/alpha/tls.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Avoid warnings about unused self
variable.
* sysdeps/ia64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
* sysdeps/s390/s390-32/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
* sysdeps/s390/s390-64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
* sysdeps/sh/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
* sysdeps/sparc/sparc32/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.
* sysdeps/sparc/sparc64/pt-machine.h (THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Likewise.

21 years ago(_dl_aux_init): Handle AT_SYSINFO.
Ulrich Drepper [Thu, 30 Jan 2003 17:31:48 +0000 (17:31 +0000)]
(_dl_aux_init): Handle AT_SYSINFO.

21 years ago.
Roland McGrath [Thu, 30 Jan 2003 08:21:39 +0000 (08:21 +0000)]
.

21 years ago2003-01-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 30 Jan 2003 08:20:09 +0000 (08:20 +0000)]
2003-01-29  Roland McGrath  <roland@redhat.com>

* td_ta_new.c (td_ta_new): Cap the `sizeof_descr' value read from the
inferior at `sizeof (struct _pthread_descr_struct)', since we use it
as a length in copies to our own structures.

21 years agoRemove umask item.
Ulrich Drepper [Thu, 30 Jan 2003 01:39:08 +0000 (01:39 +0000)]
Remove umask item.

21 years agoUpdate.
Ulrich Drepper [Thu, 30 Jan 2003 01:38:09 +0000 (01:38 +0000)]
Update.

2003-01-29  Ulrich Drepper  <drepper@redhat.com>

* Makefile (tests): Add tst-umask1.
(tst-umask1-ARGS): Define.
* tst-umask1.c: New file.

21 years agoTest for umask handling.
Ulrich Drepper [Thu, 30 Jan 2003 01:36:17 +0000 (01:36 +0000)]
Test for umask handling.

21 years ago* configure.in: Barf if configured in $srcdir.
Roland McGrath [Wed, 29 Jan 2003 08:35:06 +0000 (08:35 +0000)]
* configure.in: Barf if configured in $srcdir.

* configure: Regenerated.

21 years ago2003-01-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 29 Jan 2003 08:34:58 +0000 (08:34 +0000)]
2003-01-29  Roland McGrath  <roland@redhat.com>

* configure.in: Barf if configured in $srcdir.
* configure: Regenerated.

21 years agoUpdate.
Ulrich Drepper [Wed, 29 Jan 2003 03:25:37 +0000 (03:25 +0000)]
Update.

(__fe_nomask_env): Change __prctl call to INTERNAL_SYSCALL.

21 years agoUpdate.
Ulrich Drepper [Wed, 29 Jan 2003 03:14:29 +0000 (03:14 +0000)]
Update.

2003-01-28  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
(__fe_nomask_env): Change __prctl call to INLINE_SYSCALL.

21 years agoUpdate.
Ulrich Drepper [Wed, 29 Jan 2003 00:39:03 +0000 (00:39 +0000)]
Update.

* Makefile (libpthread-routines): Remove lowlevelrwlock.  Add
pthread_rwlock_rdlock, pthread_rwlock_timedrdlock,
pthread_rwlock_wrlock, pthread_rwlock_timedwrlock, and
pthread_rwlock_unlock.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Removed
* sysdeps/unix/sysv/linux/i386/i586/lowlevelrwlock.S: Removed
* sysdeps/unix/sysv/linux/i386/i686/lowlevelrwlock.S: Removed
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: New file.

21 years agoUpdate.
Ulrich Drepper [Wed, 29 Jan 2003 00:01:01 +0000 (00:01 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Removed
* sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S: Removed
* sysdeps/unix/sysv/linux/i386/i586/lowlevelsem.S: Removed
* sysdeps/unix/sysv/linux/i386/i586/lowlevelcond.S: Removed
* sysdeps/unix/sysv/linux/i386/i686/lowlevelsem.S: Removed
* sysdeps/unix/sysv/linux/i386/i686/lowlevelcond.S: Removed
* sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/sem_post.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/sem_post.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/sem_post.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: New file.
* sysdeps/unix/sysv/linux/i386/lowlevelcond.h: New file.

21 years agoUpdate.
Ulrich Drepper [Tue, 28 Jan 2003 23:52:31 +0000 (23:52 +0000)]
Update.

* Makefile (libpthread-routines): Remove lowlevelcond and
lowlevelsem.  Add sem_wait, sem_trywait, sem_timedwait, sem_post,
pthread_cond_wait, pthread_cond_timedwait, pthread_cond_signal,
and pthread_cond_broadcast.
* sysdeps/unix/sysv/linux/i486/lowlevelsem.S: Removed
* sysdeps/unix/sysv/linux/i486/lowlevelcond.S: Removed
* sysdeps/unix/sysv/linux/i586/lowlevelsem.S: Removed
* sysdeps/unix/sysv/linux/i586/lowlevelcond.S: Removed
* sysdeps/unix/sysv/linux/i686/lowlevelsem.S: Removed
* sysdeps/unix/sysv/linux/i686/lowlevelcond.S: Removed
* sysdeps/unix/sysv/linux/i486/sem_wait.S: New file.
* sysdeps/unix/sysv/linux/i486/sem_trywait.S: New file.
* sysdeps/unix/sysv/linux/i486/sem_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i486/sem_post.S: New file.
* sysdeps/unix/sysv/linux/i486/pthread_cond_wait.S: New file.
* sysdeps/unix/sysv/linux/i486/pthread_cond_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i486/pthread_cond_signal.S: New file.
* sysdeps/unix/sysv/linux/i486/pthread_cond_broadcast.S: New file.
* sysdeps/unix/sysv/linux/i586/sem_wait.S: New file.
* sysdeps/unix/sysv/linux/i586/sem_trywait.S: New file.
* sysdeps/unix/sysv/linux/i586/sem_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i586/sem_post.S: New file.
* sysdeps/unix/sysv/linux/i586/pthread_cond_wait.S: New file.
* sysdeps/unix/sysv/linux/i586/pthread_cond_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i586/pthread_cond_signal.S: New file.
* sysdeps/unix/sysv/linux/i586/pthread_cond_broadcast.S: New file.
* sysdeps/unix/sysv/linux/i686/sem_wait.S: New file.
* sysdeps/unix/sysv/linux/i686/sem_trywait.S: New file.
* sysdeps/unix/sysv/linux/i686/sem_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i686/sem_post.S: New file.
* sysdeps/unix/sysv/linux/i686/pthread_cond_wait.S: New file.
* sysdeps/unix/sysv/linux/i686/pthread_cond_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i686/pthread_cond_signal.S: New file.
* sysdeps/unix/sysv/linux/i686/pthread_cond_broadcast.S: New file.

21 years agoUpdate.
Ulrich Drepper [Tue, 28 Jan 2003 18:51:03 +0000 (18:51 +0000)]
Update.

2003-01-28  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Reorder additional
clone parameters to match the order used on ia32.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 28 Jan 2003 10:42:28 +0000 (10:42 +0000)]
Update.

2003-01-27  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* elf/elf.h: Add new s390 relocs.
* elf/tls-macros.h: Add s390 versions.
* sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset.
* sysdeps/s390/dl-tls.h: New file.
* sysdeps/s390/libc-tls.c: New file.
* sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS
relocs for class PLT.
(elf_machine_rela): Handle TLS relocs.
* sysdeps/s390/s390-64/dl-machine.h: Likewise.
* sysdeps/s390/s390-32/elf/configure.in: Add TLS check.
* sysdeps/s390/s390-64/elf/configure.in: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for
CLONE_CHILD_*TID flags.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32
bit offset.
* sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error):
Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error):
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
(SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER.
(SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
variants.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h:
(SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use
direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT.
(SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
variants.

21 years agoUpdate.
Ulrich Drepper [Tue, 28 Jan 2003 09:08:07 +0000 (09:08 +0000)]
Update.

2003-01-28  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/common/pause.c (do_pause): New function.  Split
from __libc_pause.  Implement using sigsuspend.
(__libc_pause): Call do_pause to do the real work.

* sysdeps/posix/sigpause.c (do_sigpause): Check range of
sig_or_mask parameter is is_sig != 0.

21 years agoUpdate.
Ulrich Drepper [Tue, 28 Jan 2003 08:30:50 +0000 (08:30 +0000)]
Update.

2003-01-21  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define.

21 years agoUpdate.
Ulrich Drepper [Tue, 28 Jan 2003 07:32:19 +0000 (07:32 +0000)]
Update.

* stdio-common/bug14.c: Use official name for the locale.

21 years agoUpdate.
Ulrich Drepper [Tue, 28 Jan 2003 07:27:15 +0000 (07:27 +0000)]
Update.

2003-01-27  Steven Munroe  <sjmunroe@us.ibm.com>

* stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check.

21 years agoUpdate.
Ulrich Drepper [Tue, 28 Jan 2003 06:46:50 +0000 (06:46 +0000)]
Update.

* stdio-common/vfprintf.c [USE_IN_LIBIO]: Use _IO_cleanup_region_start
instead of __libc_cleanup_region_start and _IO_cleanup_region_end
instead of __libc_cleanup_region_end.

* sysdeps/unix/sysv/linux/i386/system.c (CLEANUP_HANDLER): Pass 1
as first parameter to __libc_cleanup_region_start.

21 years agoUpdate.
Ulrich Drepper [Tue, 28 Jan 2003 05:59:24 +0000 (05:59 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
(__fe_nomask_env): Use __prctl not prctl.
* sysdeps/unix/sysv/linux/syscalls.list: Add __prctl alias for
prctl syscall.

21 years agoUpdate.
Ulrich Drepper [Tue, 28 Jan 2003 00:50:31 +0000 (00:50 +0000)]
Update.

* elf/dl-reloc.c (CHECK_STATIC_TLS): Improve error message.

* elf/dl-open.c (_dl_tls_static_size): Bump to 2048.

21 years agoUpdate.
Ulrich Drepper [Mon, 27 Jan 2003 22:08:50 +0000 (22:08 +0000)]
Update.

2003-01-27  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-reloc.c (allocate_static_tls): Avoid arithmetic
wrap-around in test.

21 years agoUpdate.
Ulrich Drepper [Mon, 27 Jan 2003 21:03:22 +0000 (21:03 +0000)]
Update.

2003-01-26  Andreas Schwab  <schwab@suse.de>

* sysdeps/wordsize-32/divdi3.c: Export the functions only as
compatibility symbols.  Remove INTDEF for __divdi3.
* sysdeps/wordsize-32/lldiv.c: Don't use __divdi3_internal.
* sysdeps/powerpc/powerpc32/divdi3.c: Remove.
* sysdeps/powerpc/powerpc32/Makefile (CPPFLAGS-divdi3.c): Don't
define.
* sysdeps/powerpc/powerpc32/Dist: Remove divdi3.c.

2003-01-24  Jakub Jelinek  <jakub@redhat.com>

* elf/tls-macros.h: Add SPARC 32-bit definitions.
* sysdeps/sparc/sparc32/elf/configure.in: Add TLS check.
* sysdeps/sparc/sparc32/dl-machine.h: Add dl_machine_h guards
for the first half of the header.  Include tls.h.
(elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS
relocs too.
(elf_machine_rela): Handle TLS relocs.
* sysdeps/sparc/dl-tls.h: New file.

* sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Add cancellation
support.

* sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Use %g6 instead of %g7.
* sysdeps/sparc/sparc32/memchr.S: Likewise.
* sysdeps/sparc/sparc32/memcpy.S: Likewise.
* sysdeps/sparc/sparc32/strcat.S: Likewise.
* sysdeps/sparc/sparc32/strchr.S: Likewise.
* sysdeps/sparc/sparc32/strcmp.S: Likewise.
* sysdeps/sparc/sparc32/strcpy.S: Likewise.
* sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
* sysdeps/sparc/sparc64/hp-timing.h: Likewise.
* sysdeps/sparc/sparc64/memcpy.S: Likewise.
* sysdeps/sparc/sparc64/stpcpy.S: Likewise.
* sysdeps/sparc/sparc64/stpncpy.S: Likewise.
* sysdeps/sparc/sparc64/strcat.S: Likewise.
* sysdeps/sparc/sparc64/strchr.S: Likewise.
* sysdeps/sparc/sparc64/strcmp.S: Likewise.
* sysdeps/sparc/sparc64/strcpy.S: Likewise.
* sysdeps/sparc/sparc64/strncmp.S: Likewise.
* sysdeps/sparc/sparc64/strncpy.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.

2003-01-24  Andreas Schwab  <schwab@suse.de>

* elf/dl-close.c (_dl_close): Don't relocate DT_FINI_ARRAY
elements, and process them backwards.
* elf/Makefile ($(objpfx)tst-array4): New target.
($(objpfx)tst-array4.out): Likewise.
(tests) [$(have-initfini-array) = yes]: Add tst-array4.
* elf/tst-array4.c: New file.
* elf/tst-array4.exp: Likewise.

2003-01-24  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: New file.

2003-01-27  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/sysdep.h (SYSCALL_ERROR_LABEL): Define.
* sysdeps/unix/sysv/linux/mips/pread.c: Add support for
cancellation handling and handle both __NR_pread64 and __NR_pread.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Add support for
cancellation handling and handle both __NR_pwrite64 and __NR_pwrite.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/mips/sysdep.S: Don't set errno in the _LIBC_REENTRANT
case, use register names consistently.

2003-01-27  Wolfram Gloger  <wg@malloc.de>

* malloc/hooks.c (mem2chunk_check): Check alignment of mem
pointer, not of the computed chunk.  Bug report from Carlos
O'Donell <carlos@baldric.uwo.ca>.

21 years agoUpdate.
Ulrich Drepper [Mon, 27 Jan 2003 18:58:29 +0000 (18:58 +0000)]
Update.

2003-01-25  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: New file.
* sysdeps/unix/sysv/linux/mips/Makefile: New file.

21 years ago(mem2chunk_check): Check alignment of mem pointer, not of the computed chunk.
Ulrich Drepper [Mon, 27 Jan 2003 18:32:36 +0000 (18:32 +0000)]
(mem2chunk_check): Check alignment of mem pointer, not of the computed chunk.

21 years ago* sysdeps/m68k/dl-machine.h (_dl_start_user): Use pc-relative
Andreas Schwab [Sat, 25 Jan 2003 23:07:37 +0000 (23:07 +0000)]
* sysdeps/m68k/dl-machine.h (_dl_start_user): Use pc-relative

addressing to save GOT entries.

21 years ago(_dl_start_user): Use pc-relative addressing to save GOT entries.
Andreas Schwab [Sat, 25 Jan 2003 23:07:04 +0000 (23:07 +0000)]
(_dl_start_user): Use pc-relative addressing to save GOT entries.

21 years agoadd item about pgrp
Roland McGrath [Wed, 22 Jan 2003 11:30:53 +0000 (11:30 +0000)]
add item about pgrp