aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-02-08Branch to __fork whenever libpthread.so is loaded.Andreas Schwab
2003-02-07Update.Ulrich Drepper
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>.
2003-02-07Update.Ulrich Drepper
2003-02-07 Ulrich Drepper <drepper@redhat.com> * elf/dl-runtime.c (fixup): Correct typo in version index computation. (profile_fixup): Likewise.
2003-02-07Update.Ulrich Drepper
* 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.
2003-02-07Update.Ulrich Drepper
2003-02-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/td_ta_map_lwp2thr.c: New file.
2003-02-07Update.Ulrich Drepper
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.
2003-02-06Update.Ulrich Drepper
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>.
2003-02-06Update.Ulrich Drepper
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.
2003-02-06Update.Ulrich Drepper
* debug/catchsegv.sh: Fix typo in error messsage. Reported by John Levon <leven@movementarian.org>.
2003-02-05Update.Ulrich Drepper
* 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.
2003-02-05Update.Ulrich Drepper
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>.
2003-02-05Update.Ulrich Drepper
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.
2003-02-05Update.Ulrich Drepper
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.
2003-02-05Update.Ulrich Drepper
* atomic.h: Add a couple more default implementations. (atomic_compare_and_exchange_acq): Use
2003-02-05Update.Ulrich Drepper
* 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.
2003-02-05Update.Ulrich Drepper
* atomic.h (atomic_bit_set): Renamed from atomic_set_bit. Add missing atomic_ prefixes.
2003-02-05Update.Ulrich Drepper
* atomic.h: Add missing atomic_ prefixes.
2003-02-05Update.Ulrich Drepper
2003-02-04 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile: Add rules to build and run bug-iconv3. * iconvdata/bug-iconv3.c: New file.
2003-02-04Update.Ulrich Drepper
2003-02-04 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/system.c: New file.
2003-02-04Update.Ulrich Drepper
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.
2003-02-04Update.Ulrich Drepper
2003-02-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/i686/memmove.S: New file.
2003-02-04memmove for i686.Ulrich Drepper
2003-02-04* sysdeps/unix/sysv/linux/hppa/pt-initfini.c: Do not use Andreas Jaeger
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.
2003-02-04(allocate_stack): Use __getpagesize instead of __sysconf to determine pagesize.Ulrich Drepper
2003-02-03Fix typo.Ulrich Drepper
(__lll_lock_wait): Add branch prediction.
2003-02-03Update.Ulrich Drepper
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.
2003-02-03Update.Ulrich Drepper
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.
2003-02-03Update.Ulrich Drepper
* allocatestack.c: Improve comment throughout the file.
2003-02-03Update.Ulrich Drepper
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.
2003-02-02Update.Ulrich Drepper
2003-02-02 Jakub Jelinek <jakub@redhat.com> * elf/tls-macros.h [sparc] (TLS_LD, TLS_GD): Add "cc" clobbers.
2003-02-02Update.Ulrich Drepper
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.
2003-02-01Update.Ulrich Drepper
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.
2003-02-01Update.Ulrich Drepper
2003-01-31 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/posix_opt.h: Remove _POSIX_THREAD_PRIORITY_SCHEDULING.
2003-01-31Update.Ulrich Drepper
* 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>
2003-01-31Remove __GI_* aliases, already added by make-syscalls.sh.Ulrich Drepper
2003-01-30* sysdeps/m68k/Makefile (sysdep-CFLAGS): Don't define, not neededAndreas Schwab
any more.
2003-01-30(sysdep-CFLAGS): Don't define, not needed any more.Andreas Schwab
2003-01-30Update.Ulrich Drepper
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.
2003-01-30Avoid warnings about unused self variable.Ulrich Drepper
2003-01-30* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Move check forRoland McGrath
null argument before all else. Reported by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2003-01-302003-01-30 Roland McGrath <roland@redhat.com>Roland McGrath
* 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>.
2003-01-30Update.Ulrich Drepper
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.
2003-01-30Update.Ulrich Drepper
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.
2003-01-30Update.Ulrich Drepper
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.
2003-01-30(_dl_aux_init): Handle AT_SYSINFO.Ulrich Drepper
2003-01-30.Roland McGrath
2003-01-302003-01-29 Roland McGrath <roland@redhat.com>Roland McGrath
* 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.
2003-01-30Remove umask item.Ulrich Drepper
2003-01-30Update.Ulrich Drepper
2003-01-29 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-umask1. (tst-umask1-ARGS): Define. * tst-umask1.c: New file.
2003-01-30Test for umask handling.Ulrich Drepper