about summary refs log tree commit diff
path: root/nptl
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-12-181-0/+6
| | | | | | | | 2003-12-17 Ulrich Drepper <drepper@redhat.com> * init.c (__pthread_initialize_minimal_internal): Don't treat architectures with separate register stack special here when computing default stack size.
* (__pthread_initialize_minimal_internal): Don't treat architectures with ↵Ulrich Drepper2003-12-181-4/+0
| | | | separate register stack special here when computing default stack size.
* * Makefile (tst-cancelx7-ARGS): New variable.Roland McGrath2003-12-181-0/+5
| | | | Reportd by Greg Schafer <gschafer@zip.com.au>.
* 2003-12-17 Roland McGrath <roland@redhat.com>Roland McGrath2003-12-181-0/+1
| | | | | * Makefile (tst-cancelx7-ARGS): New variable. Reportd by Greg Schafer <gschafer@zip.com.au>.
* Update.Ulrich Drepper2003-12-173-1/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-17 Jakub Jelinek <jakub@redhat.com> * malloc/mtrace.c (tr_old_memalign_hook): New variable. (tr_memalignhook): New function. (mtrace): Register tr_memalignhook. (muntrace): Deregister tr_memalignhook. * malloc/malloc.c (__posix_memalign): If __memalign_hook != NULL, call it directly instead of memalign_internal. 2003-12-17 Ulrich Drepper <drepper@redhat.com> * misc/mntent_r.c: Change encoding to match recently change decoder. Patch by Alexander Achenbach <xela@slit.de>. 2003-12-16 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Correct definition of vrregset_t. 2003-12-16 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [!__PPC64_ELF_H]: Extent conditional to include typedef elf_vrreg_t. 2002-12-17 Paolo Bonzini <bonzini@gnu.org> * posix/regexec.c (re_search_internal): Limit search to the beginning of the buffer if the initial states are empty for contexts that do not include CONTEXT_BEGBUF or, if !preg->newline_anchor, that do not include any one of CONTEXT_BEGBUF and CONTEXT_NEWLINE.
* Update.Ulrich Drepper2003-12-112-1/+18
| | | | | | | | | | | | | | 2003-12-01 Jes Sorensen <jes@wildopensource.com> * rt/tst-clock.c (do_test): Print message when skipping CLOCK_PROCESS_CPUTIME_ID test. * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c: New file. Provide CLOCK_PROCESS_CPUTIME_ID only if /proc/sal/itc_drift is 0. peek_token. This avoids some copying and reduces code size. (init_dfa): Initialize map_notascii. (build_wcs_upper_buffer): If map_notascii is zero use simplified
* Update.Ulrich Drepper2003-12-113-7/+10
| | | | | | * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_futex_wait): Likewise. (lll_futex_wake): Likewise.
* Update.Ulrich Drepper2003-12-114-9/+21
| | | | | | | | | | | | | 2003-12-11 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_futex_wait): Assume parameter is a pointer. (lll_futex_wake): Likewise. Reported by Boris Hu. * sysdeps/unix/sysv/linux/unregister-atfork.c (__unregister_atfork): Pass pointer to refcntr to lll_futex_wait. * sysdeps/unix/sysv/linux/sem_wait.c (__new_sem_wait): Simplify a bit.
* Update.Ulrich Drepper2003-12-113-0/+13
| | | | | | | | | 2003-12-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/bits/libc-lock.h (__rtld_lock_initialize): Define. * sysdeps/unix/sysv/linux/fork.c (__libc_fork): Call __rtld_lock_initialize for ld.so lock. Patch in part by Adam Li <adam.li@intel.com>.
* Update.Ulrich Drepper2003-12-1011-131/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-02 David Mosberger <davidm@hpl.hp.com> * sysdeps/ia64/elf/initfini.c: Add unwind info. * sysdeps/ia64/dl-machine.h (elf_machine_matches_host): Mark with attribute "unused". (elf_machine_dynamic): Mark with attributes "unused" and "const". (elf_machine_runtime_setup): Likewise. * sysdeps/generic/dl-fptr.c (make_fptr_table): Mark with attribute "always_inline". * sysdeps/ia64/dl-machine.h (__ia64_init_bootstrap_fdesc_table): Likewise. * configure.in: Check whether compiler has libunwind support. * config.make.in (have-cc-with-libunwind): New variable. * config.h.in (HAVE_CC_WITH_LIBUNWIND): New macro. * Makeconfig (gnulib): If have-cc-withh-libunwind is "yes", also mention -lunwind. 003-11-12 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/sysdep.h: Define DO_CALL_VIA_BREAK. Redefine DO_CALL to use vdso if supported, otherwise DO_CALL_VIA_BREAK. Likewise for DO_INLINE_SYSCALL. Make INTERNAL_SYSCALL use DO_INLINE_SYSCALL. * sysdeps/unix/sysv/linux/ia64/vfork.S: Use DO_CALL_VIA_BREAK() instead of DO_CALL(). * sysdeps/unix/sysv/linux/ia64/clone2.S: Use break directly instead of DO_CALL(). * sysdeps/unix/sysv/linux/ia64/brk.S (__curbrk): Restructure it to take advantage of DO_CALL() macro. * sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise. * elf/rtld.c (dl_main): Restrict dl_sysinfo_dso check to first program header. On ia64, the check failed previously because there are two program headers. * sysdeps/generic/s_nexttowardf.c: Likewise. * math/bug-nexttoward.c: New file.
* Update.Ulrich Drepper2003-12-072-4/+33
| | | | | | | 2003-12-06 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/pt-initfini.c: Use .init_array instead of .init. Patch by David Mosberger.
* Update.Andreas Jaeger2003-12-031-0/+5
| | | | | | | 2003-11-30 Thorsten Kukuk <kukuk@suse.de> * sysdeps/pthread/configure.in: Remove broken declaration in C cleanup handling check.
* Remove broken declaration.Andreas Jaeger2003-12-032-3/+1
|
* Update.Andreas Jaeger2003-12-021-0/+6
| | | | | | | | | | | | 2003-11-30 Andreas Jaeger <aj@suse.de> * config.make.in (fno-unit-at-a-time): Define. * configure.in: Add test for -fno-unit-at-a-time. Fix text for -fpie. * csu/Makefile (CFLAGS-initfini.s): Add $(fno_unit_at_a_time). * locale/Makefile (CFLAGS-loadlocale.c): Likewise.
* * config.make.in (fno-unit-at-a-time): Define.Andreas Jaeger2003-12-022-2/+3
| | | | | | | | | | | | | | | | | | * configure.in: Add test for -fno-unit-at-a-time. Fix text for -fpie. * csu/Makefile (CFLAGS-initfini.s): Add $(fno_unit_at_a_time). * locale/Makefile (CFLAGS-loadlocale.c): Likewise. For linuxthreads: * Makefile (CFLAGS-pt-initfini.s): Add $(fno_unit_at_a_time). * sysdeps/unix/sysv/linux/x86_64/Makefile (CFLAGS-pt-initfini.s): Likewise. For nptl: * Makefile (CFLAGS-pt-initfini.s): Add $(fno_unit_at_a_time). * sysdeps/unix/sysv/linux/x86_64/Makefile (CFLAGS-pt-initfini.s): Likewise.
* Update.Ulrich Drepper2003-11-271-0/+8
| | | | | | | | | | | 2003-11-26 Jakub Jelinek <jakub@redhat.com> * posix/regexec.c (check_subexp_limits): Only check close subexpression limitation if one is found. Formatting. (sift_states_backward, check_arrival, check_arrival_add_next_nodes): Formatting. * posix/bug-regex11.c (tests): Enable most #ifdefed out tests. Add new test.
* Update.Ulrich Drepper2003-11-273-1/+13
| | | | | | | | | | | | | | | 2003-11-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PROT_GROWSUPDOWN): Define for 2.6.1 and up. * sysdeps/unix/sysv/linux/dl-execstack.c: Omit compatibility code if __ASSUME_PROT_GROWSUPDOWN is defined. 2003-11-26 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable): Set dl_stack_flags always for success.
* Update.Ulrich Drepper2003-11-211-6/+9
| | | | * posix/bug-regex11.c: And one more commented out test.
* Update.Ulrich Drepper2003-11-213-1/+20
| | | | | | | | | | | | 2003-11-21 Jakub Jelinek <jakub@redhat.com> * Makefile (distribute): Add tst-cleanup4aux.c. * tst-cond12.c (prepare): Add prototype. Move after test-skeleton.c include. * tst-cond12.c (do_test): If USE_COND_SIGNAL is defined, use pthread_cond_signal.
* Update.Ulrich Drepper2003-11-2111-23/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/pthread/pthread_cond_wait.c (__pthread_cond_wait): Don't store mutex address if the current value is ~0l. * sysdeps/pthread/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise. * sysdeps/pthread/pthread_cond_broadcast.c (__pthread_cond_broadcast): Don't use requeue for pshared condvars. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S (__pthread_cond_wait): Don't store mutex address if the current value is ~0l. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S (__pthread_cond_timedwait): Likewise. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S (__pthread_cond_broadcast): Don't use requeue for pshared condvars. * pthread_cond_init.c (__pthread_cond_init): Initialize __mutex element with ~0l for pshared condvars, with NULL otherwise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S (__pthread_cond_wait): Don't store mutex address if the current value is ~0l. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S (__pthread_cond_timedwait): Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S (__pthread_cond_broadcast): Don't use requeue for pshared condvars.
* Update.Ulrich Drepper2003-11-213-2/+5
| | | | | | | | | | | | | | 2003-11-21 Jakub Jelinek <jakub@redhat.com> * posix/tst-rxspencer.c (mb_tests): Don't run identical multi-byte tests multiple times unnecessarily. 2003-11-21 Jakub Jelinek <jakub@redhat.com> * posix/bug-regex19.c (BRE, ERE): Define. (tests): Add many new tests, remove UTF-8 ones. (do_one_test, do_mb_tests): New functions. (main): Rewritten using do_one_test and do_mb_tests.
* Update.Ulrich Drepper2003-11-213-1/+190
| | | | | | | 2003-11-21 Ulrich Drepper <drepper@redhat.com> * Makefile: Add rules to build and run tst-cond12. * tst-cond12.c: New file.
* Update.Ulrich Drepper2003-11-181-8/+32
| | | | | | | 2003-11-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c: Add support for destination address selection according to RFC 3484.
* Update.Ulrich Drepper2003-11-172-0/+7
| | | | | | | 2003-11-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/configure.in: Make missing forced unwind support fatal.
* Update.Ulrich Drepper2003-11-121-0/+4
| | | | | | | | | | | | | | | | 2003-11-11 Jakub Jelinek <jakub@redhat.com> * posix/regcomp.c (re_compile_fastmap_iter): Handle RE_ICASE with MB_CUR_MAX > 1 locales in the fastmap. 2003-11-11 Jakub Jelinek <jakub@redhat.com> * posix/regex_internal.c (build_wcs_buffer): Fix comment typo. (build_wcs_upper_buffer): Likewise. Use towupper for wchar_t instead of toupper. * posix/Makefile (tests): Add bug-regex17 and bug-regex18. (bug-regex17-ENV, bug-regex18-ENV): Add LOCPATH. * posix/bug-regex18.c: New test.
* Don't declare __pthread_unwind as weak inside libpthread.Ulrich Drepper2003-11-121-1/+1
|
* Update.Ulrich Drepper2003-11-063-6/+12
| | | | | | 2003-11-06 Ulrich Drepper <drepper@redhat.com> * Makefile: Add magic to clean up correctly.
* Update.Ulrich Drepper2003-11-066-10/+390
| | | | | | | | | | | | | | | | 2003-11-05 Jakub Jelinek <jakub@redhat.com> * unwind.c (FRAME_LEFT): Define. (unwind_stop): Handle old style cleanups here. (__pthread_unwind): Handle old style cleanups only if !HAVE_FORCED_UNWIND. * Makefile (tests): Add tst-cleanup4 and tst-cleanupx4. (CFLAGS-tst-cleanupx4.c): Add -fexceptions. ($(objpfx)tst-cleanup4): Depend on $(objpfx)tst-cleanup4aux.o. ($(objpfx)tst-cleanupx4): Likewise. * tst-cleanup4.c: New test. * tst-cleanup4aux.c: New. * tst-cleanupx4.c: New test.
* Update.Ulrich Drepper2003-11-043-5/+10
| | | | | | | 2003-11-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/bits/stdio-lock.h: Use lll_*lock instead of lll_mutex_*lock macros to skip atomic operations on some archs.
* Update.Ulrich Drepper2003-11-032-0/+8
| | | | | | | 2003-11-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/tst-timer.c (main): Initialize sigev2.sigev_value as well.
* * sysdeps/pthread/configure.in: Barf if visibility attribute supportRoland McGrath2003-10-161-0/+6
| | | | | is missing. * sysdeps/pthread/configure: Regenerated.
* 2003-10-15 Roland McGrath <roland@redhat.com>Roland McGrath2003-10-152-0/+12
| | | | | | * sysdeps/pthread/configure.in: Barf if visibility attribute support is missing. * sysdeps/pthread/configure: Regenerated.
* Update.Ulrich Drepper2003-10-1217-427/+296
| | | | | | 2003-10-09 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/syscalls.list: Add waitpid.
* Update.Ulrich Drepper2003-10-072-8/+14
| | | | | | | | 2003-10-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Backout 2003-10-02 changes. (SAVE_OLDTYPE_0): Fix a typo.
* Update.Ulrich Drepper2003-10-031-0/+5
| | | | | | | 2003-10-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/elf/bsd-setjmp.S: Use linkonce section for PIC stub. * sysdeps/i386/elf/setjmp.S: Likewise.
* (__pthread_once): Check __sigsetjmp return value.Ulrich Drepper2003-10-031-0/+1
|
* Update.Ulrich Drepper2003-10-022-1/+6
| | | | | | | | | | | | | | | | | 2003-09-26 Paolo Bonzini <bonzini@gnu.org> * posix/regcomp.c (parse_sub_exp): Pass RE_CARET_ANCHORS_HERE for the first token in a subexpression as well. 2003-10-02 Jakub Jelinek <jakub@redhat.com> * posix/regcomp.c (peek_token): Add 2003-09-20 changes for anchor handling again. (parse_reg_exp): Likewise. * posix/regex.h (RE_CARET_ANCHORS_HERE): Define. * posix/bug-regex11.c (tests): Add new tests. * posix/bug-regex12.c (tests): Add new test.
* Update.Ulrich Drepper2003-10-021-0/+5
| | | | | | | 2003-10-01 Thorsten Kukuk <kukuk@suse.de> * elf/dl-reloc.c (_dl_allocate_static_tls): Move definition of variables only used if TLS_DTV_AT_TP is defined into the #if branch.
* Update.Ulrich Drepper2003-10-022-1/+288
| | | | | | | 2003-10-02 Jeroen Dekkers <jeroen@dekkers.cx> * sysdeps/mach/hurd/malloc-machine.h: Copy the tsd code from the old thread-m.h header too.
* Update.Ulrich Drepper2003-10-022-9/+14
| | | | | | | | | 2003-10-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Fix saving and restoring of the old cancellation type. * sysdeps/pthread/malloc-machine.h: New file
* formatting fixRoland McGrath2003-10-011-2/+3
| | | | | | 2003-09-27 Wolfram Gloger <wg@malloc.de> * sysdeps/pthread/malloc-machine.h: New file.
* UpdateUlrich Drepper2003-10-012-3/+4
| | | | | | | 2003-09-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/pthread/malloc-machine.h: Remove misleading comment. 2003-09-27 Wolfram Gloger <wg@malloc.de>
* Update.Ulrich Drepper2003-09-302-0/+68
| | | | | | * sysdeps/pthread/malloc-machine.h: New file. 2003-09-27 Wolfram Gloger <wg@malloc.de>
* Update.Ulrich Drepper2003-09-291-2/+0
| | | | | | | 2003-09-29 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __extension__ as well to cover using long long in C90.
* * sysdeps/mach/hurd/bits/libc-lock.hRoland McGrath2003-09-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | (__libc_cleanup_push, __libc_cleanup_pop): New macros. 2003-08-01 Alfred M. Szmidt <ams@kemisten.nu> * sysdeps/i386/dl-procinfo.h: New file, contents taken from ... * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: ... here. #include_next dl-procinfo.h to get them. (_DL_HWCAP_COUNT): Moved to sysdeps/i386/dl-procinfo.h. (_DL_PLATFORMS_COUNT): Likewise. (_DL_FIRST_PLATFORM): Likewise. (_DL_HWCAP_PLATFORM): Likewise. (HWCAP_I386_FPU, HWCAP_I386_VME, HWCAP_I386_DE, HWCAP_I386_PSE, HWCAP_I386_TSC, HWCAP_I386_MSR, HWCAP_I386_PAE, HWCAP_I386_MCE, HWCAP_I386_CX8, HWCAP_I386_APIC, HWCAP_I386_SEP, HWCAP_I386_MTRR, HWCAP_I386_PGE, HWCAP_I386_MCA, HWCAP_I386_CMOV, HWCAP_I386_FCMOV, HWCAP_I386_MMX, HWCAP_I386_OSFXSR, HWCAP_I386_XMM, HWCAP_I386_XMM2, HWCAP_I386_AMD3D, HWCAP_IMPORTANT): Likewise. (_DL_PROCINFO_H_): Likewise. (_dl_hwcap_string, _dl_platform_string, _dl_string_hwcap): Likewise. (_dl_string_platform): Likewise. * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Moved to ... * sysdeps/i386/dl-procinfo.c: ... here, new file.
* 2003-09-24 Roland McGrath <roland@redhat.com>Roland McGrath2003-09-251-9/+10
| | | | | * allocatestack.c (__make_stacks_executable): Don't ignore return value from _dl_make_stack_executable.
* Update.Ulrich Drepper2003-09-252-0/+17
| | | | | * sysdeps/unix/sysv/linux/dl-execstack.c (_dl_make_stack_executable): Remember that we changed the permission.
* Update.Ulrich Drepper2003-09-252-14/+58
| | | | | | | | * allocatestack.c (change_stack_perm): Split out from __make_stacks_executable. (allocate_stack): If the required permission changed between the time we started preparing the stack and queueing it, change the permission. (__make_stacks_executable): Call change_stack_perm.
* Update.Ulrich Drepper2003-09-243-2/+8
| | | | | | | | 2003-09-24 Ulrich Drepper <drepper@redhat.com> * configure.in: Check for -fpie and -pie compiler options. * config.make.in (have-fpie): Define. * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: Removed. * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: Removed.
* Update.Ulrich Drepper2003-09-245-7/+76
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions [libc] (GLIBC_2.3.3): Add setcontext, getcontext, swapcontext, and makecontext. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Correct change for include Altivec support for PPC32. It was not compatible. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: Adjust offsets for ucontext_t change. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Adjust for ucontext_t change. Add compatibility code. * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. Patch by Paul Mackerras <paulus@samba.org>. 2003-02-25 Randolph Chung <tausq@debian.org> * sysdeps/hppa/Makefile: Include compat code in build. * sysdeps/hppa/libgcc-compat.c: New file. * sysdeps/hppa/Dist: Add libgcc-compat.c. * sysdeps/hppa/Versions [GLIBC_2.2]: Add __clz_tab.