about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* (fmt, testfmt): Remove -D_LIBC.Ulrich Drepper2002-12-062-4/+4
|
* Update.Ulrich Drepper2002-12-062-1/+3
| | | | * init.c (__pthread_initialize_minimal): Correct INIT_LIST_HEAD use.
* Update.Ulrich Drepper2002-12-0622-47/+236
| | | | | | | | | | | | | | | | | | | | | | 2002-12-06 Ulrich Drepper <drepper@redhat.com> * misc/syslog.c (log_cleanup): New function. (openlog): Use log_cleanup instead of __libc_mutex_unlock. (closelog): Likewise. * elf/dl-close.c: Use __rtld_lock_* macros instead of __libc_lock_*. * elf/dl-iteratephdr.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-misc.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-support.c: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise. * sysdeps/generic/bits/libc-lock.h: Define __rtld_lock_* macros. * sysdeps/mach/bits/libc-lock.h: Likewise. * sysdeps/mach/hurd/bits/libc-lock.h: Likewise. * dirent/bug-readdir1.c (main): Don't call closedir, just close
* (log_cleanup): New function. (openlog): Use log_cleanup instead of ↵Ulrich Drepper2002-12-061-6/+9
| | | | __libc_mutex_unlock. (closelog): Likewise.
* * sysdeps/generic/libc-tls.c (__libc_setup_tls): Cope with zero ALIGN.Roland McGrath2002-12-0619-68/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * malloc/hooks.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))] (malloc_starter, memalign_starter, free_starter): Don't define these. * malloc/malloc.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]: Don't declare them either. * malloc/arena.c (ptmalloc_init) [_LIBC && USE_TLS]: Don't call __pthread_initialize, so no need to set hooks to *_starter. (ptmalloc_init_minimal): New function, broken out of ptmalloc_init. [_LIBC && SHARED && USE_TLS && !USE___THREAD] (__libc_malloc_pthread_startup): New function. * malloc/Versions (libc: GLIBC_PRIVATE): New set, add that function. * malloc/hooks.c (memalign_starter): New function. * malloc/malloc.c: Declare it. * malloc/arena.c (save_memalign_hook): New variable. (ptmalloc_init): Set __memalign_hook to memalign_starter. * elf/dl-minimal.c (free): Clear the memory. (calloc): Just call malloc, knowing all memory it returns is cleared. * sysdeps/generic/dl-tls.c (allocate_dtv): Use calloc instead of malloc and memset; calloc can avoid the zeroing when redundant. (_dl_tls_setup): Likewise. * elf/dl-load.c (decompose_rpath): Likewise. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Comment out memset call, since memory from sbrk at startup is already zero. * elf/rtld.c (_dl_start, dl_main): TLS_INIT_TP macro now returns an error string for failure, null for success. Update callers. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Likewise. * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
* 2002-12-06 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-061-0/+4
| | | | | | | | | | | | | * malloc/hooks.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))] (malloc_starter, memalign_starter, free_starter): Don't define these. * malloc/malloc.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]: Don't declare them either. * malloc/arena.c (ptmalloc_init) [_LIBC && USE_TLS]: Don't call __pthread_initialize, so no need to set hooks to *_starter. (ptmalloc_init_minimal): New function, broken out of ptmalloc_init. [_LIBC && SHARED && USE_TLS && !USE___THREAD] (__libc_malloc_pthread_startup): New function. * malloc/Versions (libc: GLIBC_PRIVATE): New set, add that function.
* Also ignore names such as autom4te-2.53.cache.Ulrich Drepper2002-12-061-1/+1
|
* * sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): ChangeRoland McGrath2002-12-054-4/+14
| | | | | | | | | args to i:iipi. (readahead): Change args to i:iii. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list (readahead): Change args to i:iii. * sysdeps/unix/sysv/linux/mips/syscalls.list (readahead): Change args to i:iiii.
* * stdlib/cxa_finalize.c (__cxa_finalize): When given a null argument,Roland McGrath2002-12-052-4/+7
| | | | | call all functions rather than none. Reported by Mark P. Mitchell <mark@codesourcery.com>.
* * sysdeps/unix/sysv/linux/i386/createthread.c (create_thread): AddRoland McGrath2002-12-051-0/+5
| | | | missing & here too.
* 2002-12-05 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-051-1/+1
| | | | | * sysdeps/unix/sysv/linux/i386/createthread.c (create_thread): Add missing & here too.
* Update.Ulrich Drepper2002-12-056-30/+120
| | | | | | | | | | | | | | | | | | | | | | | | 2002-12-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove lowlevellock. * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: New file. * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: New file. * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: New file. * sysdeps/pthread/bits/libc-lock.h: Use lowlevellock implementation for __libc_lock_* macros. * Makefile (routines): Add libc-lowlevellock. 2002-10-09 Roland McGrath <roland@redhat.com> * sysdeps/pthread/bits/libc-lock.h (__libc_maybe_call): New macro. Under [__PIC__], call the function via the pointer fetched for comparison rather than a call by name that uses the PLT. (__libc_lock_init, __libc_rwlock_init, __libc_lock_fini) (__libc_rwlock_fini, __libc_lock_lock, __libc_rwlock_rdlock) (__libc_rwlock_wrlock, __libc_lock_trylock, __libc_rwlock_tryrdlock) (__libc_rwlock_trywrlock, __libc_lock_unlock, __libc_rwlock_unlock) (__libc_key_create, __libc_getspecific, __libc_setspecific): Use it.
* Low level locks for i486 in libc.Ulrich Drepper2002-12-051-0/+1
|
* * locale/localeinfo.h [NL_CURRENT_INDIRECT]: Use attribute_tls_model_ieRoland McGrath2002-12-051-0/+5
| | | | on _nl_current_LC_* variables.
* 2002-12-04 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-051-1/+1
| | | | | * locale/localeinfo.h [NL_CURRENT_INDIRECT]: Use attribute_tls_model_ie on _nl_current_LC_* variables.
* Update.Ulrich Drepper2002-12-052-4/+10
| | | | | | | 2002-12-05 Ulrich Drepper <drepper@redhat.com> * dirent/bug-readdir1.c (main): Don't call closedir, just close on the file descriptor. This is testing what the bug report was about.
* Update.Ulrich Drepper2002-12-051-0/+2
| | | | * po/be.po: New file.
* Belarusian translation for GNU libc messages.Ulrich Drepper2002-12-051-0/+5576
|
* * forward.c (pthread_self): Use FORWARD3 macro to correct return type.Roland McGrath2002-12-055-2/+104
| | | | | | | * sysdeps/i386/td_ta_map_lwp2thr.c: Moved from ../nptl_db. * sysdeps/generic/td_ta_map_lwp2thr.c: New file. * pthread_create.c (start_thread): Add missing & on __nptl_last_event.
* * td_thr_get_info.c (td_thr_get_info): ti_tid is pthread_t, not a PID.Roland McGrath2002-12-053-49/+9
| | | | | | * thread_db.h (td_thrinfo_t): Comment fix. * td_ta_map_lwp2thr.c: Moved to ../nptl/sysdeps/i386/.
* 2002-12-04 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-051-2/+2
| | | | * td_thr_get_info.c (td_thr_get_info): ti_tid is pthread_t, not a PID.
* Update.Ulrich Drepper2002-12-054-2/+16
| | | | | | | | | | * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: (struct sigevent): Change type of _attribute to void*. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
* Update.Ulrich Drepper2002-12-059-18/+25
| | | | | | | 2002-12-05 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/tls.h: Include stdlib.h. * sysdeps/x86_64/tls.h: Likewise.
* Update.Ulrich Drepper2002-12-043-1/+11
| | | | | | | 2002-12-04 Ulrich Drepper <drepper@redhat.com> * td_ta_thr_iter.c (iterate_thread_list): At end of iteration read pointer to the next element from inferior.
* Update.Ulrich Drepper2002-12-046-4/+140
| | | | | | 2002-12-04 Ulrich Drepper <drepper@redhat.com> * argp/Makefile (tests): Add tst-argp1.
* Bump to 0.11.Ulrich Drepper2002-12-041-1/+1
|
* * sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS]Roland McGrath2002-12-0415-120/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | members to the end, so a libpthread compiled with !USE_TLS will still find other members properly. * sysdeps/i386/i486/bits/string.h (__strcpy_g): Add dummy output operand for DEST memory. Fix dummy input operand to use SRC. Reported by Davin McCall <davmac@ozonline.com.au>. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Account for TCB alignment when initializing the DTV entry. * elf/dl-load.c (_dl_map_object_from_fd): If we hit a TLS segment when TLS has not been set up, try to set it up if we can. * elf/tst-tls4.c: Revert last change. * elf/tst-tls5.c: Likewise. * elf/tst-tls6.c: Likewise. * elf/tst-tls7.c: Likewise. * elf/tst-tls8.c: Likewise. * elf/tst-tls9.c: Likewise. * sysdeps/generic/dl-tls.c [SHARED] (_dl_tls_setup): New function. * sysdeps/generic/ldsodefs.h: Declare it. * elf/Versions (ld: GLIBC_PRIVATE): Add it. * sysdeps/generic/libc-tls.c (init_slotinfo): New static inline function, broken out of __libc_setup_tls. (init_static_tls): Likewise. (__libc_setup_tls): Call them. (_dl_tls_setup): New function, uses new subroutines. * elf/dl-close.c (free_slotinfo): Make argument pointer to pointer. Clear the pointer when returning true. (libc_freeres_fn) [SHARED]: If GL(dl_initial_dtv) is null, free the first element of the slotinfo list too. * sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Define only if [SHARED]. * sysdeps/generic/ldsodefs.h (_dl_next_tls_modid): Declare as hidden. (_dl_determine_tlsoffset): Likewise. * elf/rtld.c (_dl_initial_error_catch_tsd): Renamed from startup_error_tsd, made global. (dl_main): Update initialization. * elf/dl-tsd.c: Likewise. * sysdeps/generic/ldsodefs.h: Declare it.
* 2002-12-04 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-041-45/+63
| | | | | | | | | | | | | | | | | | | | | * sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS] members to the end, so a libpthread compiled with !USE_TLS will still find other members properly. * sysdeps/generic/dl-tls.c [SHARED] (_dl_tls_setup): New function. * sysdeps/generic/ldsodefs.h: Declare it. * elf/Versions (ld: GLIBC_PRIVATE): Add it. * sysdeps/generic/libc-tls.c (init_slotinfo): New static inline function, broken out of __libc_setup_tls. (init_static_tls): Likewise. (__libc_setup_tls): Call them. (_dl_tls_setup): New function, uses new subroutines. * sysdeps/generic/ldsodefs.h (_dl_next_tls_modid): Declare as hidden. (_dl_determine_tlsoffset): Likewise. * elf/rtld.c (_dl_initial_error_catch_tsd): Renamed from startup_error_tsd, made global. (dl_main): Update initialization. * elf/dl-tsd.c: Likewise. * sysdeps/generic/ldsodefs.h: Declare it.
* Update.Ulrich Drepper2002-12-043-56/+69
| | | | | | | 2002-12-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Mark asms as volatile and add memory clobbers to lock operations.
* Update.Ulrich Drepper2002-12-041-0/+4
| | | | | | 2002-12-03 Ulrich Drepper <drepper@redhat.com> * manual/texinfo.tex: Update from latest upstream version.
* Update from latest upstream version.Ulrich Drepper2002-12-041-202/+362
|
* * sysdeps/generic/libc-tls.c (__libc_setup_tls): Include static TLSRoland McGrath2002-12-041-0/+3
| | | | area surplus in calculation for sbrk call.
* 2002-12-03 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-041-3/+10
| | | | | * sysdeps/generic/libc-tls.c (__libc_setup_tls): Include static TLS area surplus in calculation for sbrk call.
* Update.Ulrich Drepper2002-12-043-321/+30
| | | | | | | | | | | * sysdeps/i386/i686/bits/atomic.h: Use i486 version. * sysdeps/i386/i486/bits/atomic.h: New file. * sysdeps/i386/i586/bits/atomic.h: New file. * sysdeps/i386/i686/pthread_spin_trylock.S: Define HAVE_CMOV and include i486 version. * sysdeps/i386/i486/pthread_spin_trylock.S: New file. * sysdeps/i386/i586/pthread_spin_trylock.S: New file. Patch by Marjin Ros <marjin@mad.scientist.com>.
* i486 specific atomic operations.Ulrich Drepper2002-12-041-0/+340
|
* * iconvdata/cp1125.c: New file.Roland McGrath2002-12-036-5/+54
| | | | | | | | * iconvdata/Makefile (distribute): Add it. (modules): Add CP1125. (gen-8bit-gap-modules): Add cp1125. * iconvdata/gconv-modules: Add CP1125, alias RUSCII. * iconvdata/tst-tables.sh: Add CP1125 to the list to test.
* 2002-12-03 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-032-0/+268
| | | | | * charmaps/CP1125: New file. * CHECKSUMS: Add it.
* Define HAVE_CMOV and include i486 version.Ulrich Drepper2002-12-033-23/+70
|
* Update.Ulrich Drepper2002-12-031-0/+4
| | | | | | * allocatestack.c (get_cached_stack): Don't crash if we first found a stack with a larger size then needed. Reported by Hui Huang <hui.huang@sun.com>.
* (get_cached_stack): Don't crash if we first found a stack with a larger size ↵Ulrich Drepper2002-12-031-1/+2
| | | | then needed.
* * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.Andreas Jaeger2002-12-031-0/+4
|
* Regenerated.Andreas Jaeger2002-12-031-1623/+49
|
* Update.Ulrich Drepper2002-12-034-2/+56
| | | | | | | | | | 2002-12-03 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-sysconf. * tst-sysconf.c: New file. * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine PTHREAD_THREADS_MAX.
* Update.Ulrich Drepper2002-12-032-15/+62
| | | | | | | 2002-12-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/system.c (do_system): Make signal handler installation thread safe.
* Correct rule to create tst-locale1.Ulrich Drepper2002-12-031-2/+3
|
* * sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): ChangeRoland McGrath2002-12-031-0/+8
| | | | | | | caller from EXTRA to -. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* 2002-12-02 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-034-4/+4
| | | | | | | | * sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): Change caller from EXTRA to -. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* Update.Ulrich Drepper2002-12-033-10/+17
| | | | | | * Makefile (tests): Add tst-locale1. If buid-static is yes link statically. * tst-locale1.c: New file.
* Test use of locale functions in statically linked apps.Ulrich Drepper2002-12-031-0/+13
|
* * sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so bothRoland McGrath2002-12-0312-15/+67
| | | | bits of RM are cleared.