about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2002-12-082-1/+7
| | | | | | 2002-12-07 Carlos O'Donell <carlos@baldric.uwo.ca> * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Added SHMLBA #define.
* Update.Ulrich Drepper2002-12-082-4/+9
| | | | | * pthreadP.h: Enable pthread_cleanup_{push,pop} optimizations only inside libpthread.
* Update.Ulrich Drepper2002-12-084-5/+7
| | | | | | | * pt-fcntl.c (__fcntl): Initialize oldtype to avoid warning. * pthread_join.c: Likewise. * pthread_timedjoin.c: Likewise.
* Update.Ulrich Drepper2002-12-0849-247/+288
| | | | | * scripts/output-format.sed: Fix bug in one of the s expressions which used / for one too many things.
* Update.Ulrich Drepper2002-12-084-2/+7
| | | | | | 2002-12-08 Ulrich Drepper <drepper@redhat.com> * include/unistd.h: Declare __libc_close.
* Update.Ulrich Drepper2002-12-0820-28/+101
| | | | | | 2002-12-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/bits/stdio-lock.h (_IO_lock_trylock): New define.
* Update.Ulrich Drepper2002-12-081-0/+4
| | | | | | 2002-12-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/raise.c: Use libc_hidden_def for raise.
* Use libc_hidden_def for raise.Ulrich Drepper2002-12-081-0/+1
|
* * sysdeps/generic/libc-tls.c (__libc_setup_tls): Reintroduce changesRoland McGrath2002-12-072-7/+23
| | | | | | | | | | | | | from 2002-12-06, but remove unnecessary memset call without removing necessary copy of initialization image. * Makerules ($(common-objpfx)format.lds): New target. (common-generated): Add it. ($(inst_libdir)/libc.so): Depend on that, and cat it into the result. * scripts/output-format.sed: New file. * Makefile (distribute): Add it. 2002-12-07 Kenneth W. Chen <kenneth.w.chen@intel.com>
* 2002-12-07 Roland McGrath <roland@redhat.com>Roland McGrath2002-12-073-1251/+1302
| | | | | | | | * Makerules ($(common-objpfx)format.lds): New target. (common-generated): Add it. ($(inst_libdir)/libc.so): Depend on that, and cat it into the result. * scripts/output-format.sed: New file. * Makefile (distribute): Add it.
* Update.Ulrich Drepper2002-12-072-1/+7
| | | | | | | | | 2002-12-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/libc-tls.c: Include <sys/param.h>. Reported by Art Haas <ahaas@airmail.net>. 2002-12-07 Kenneth W. Chen <kenneth.w.chen@intel.com>.
* Update.Ulrich Drepper2002-12-073-18/+55
| | | | | | | | | | 2002-12-07 Kenneth W. Chen <kenneth.w.chen@intel.com>. * sysdeps/ia64/strncpy.S (strncpy): Clear ar.ec. Fix .recovery4. 2002-12-07 Jakub Jelinek <jakub@redhat.com> * string/test-strncpy.c (do_random_tests): Improve test coverage.
* Update.Ulrich Drepper2002-12-076-0/+153
| | | | | * test-skeleton.c (timeout_handler): Allow expected signal to be SIGALRM.
* Update.Ulrich Drepper2002-12-073-0/+8
| | | | | | | | 2002-12-06 Ulrich Drepper <drepper@redhat.com> * wctype/wcfuncs.c: Add libc_hidden_def for iswalnum. * sysdeps/posix/raise.c: Add libc_hidden_def for raise.
* Update.Ulrich Drepper2002-12-072-2/+8
| | | | | | | | 2002-12-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Fix a pasto. Reported by Jeff Bailey <jbailey@nisa.net>.
* Update.Ulrich Drepper2002-12-072-9/+6
| | | | * sysdeps/generic/libc-tls.c: Undo last patch.
* Update.Ulrich Drepper2002-12-064-2/+12
| | | | | | | | | * include/wctype.h: Define iswalnum with libc_hidden_proto. * include/signal.h: Define raise with libc_hidden_proto. * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Use __snprintf and __execve instead of snprintf and execve.
* Update.Ulrich Drepper2002-12-061-0/+5
| | | | | | | 2002-12-06 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/fpu/libm-test-ulps: Relax errors for float and double again a bit.
* Relax errors for flaot and double again a bit.Ulrich Drepper2002-12-061-6/+39
|
* * posix/Makefile (annexc.out): Add -I../dir for all sorted-dirs.Roland McGrath2002-12-061-0/+5
| | | | * posix/annexc.c (fmt, testfmt): Remove -D_LIBC.
* (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.