aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-12-052002-12-05 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/i386/createthread.c (create_thread): Add missing & here too.
2002-12-05Update.Ulrich Drepper
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.
2002-12-05Low level locks for i486 in libc.Ulrich Drepper
2002-12-05* locale/localeinfo.h [NL_CURRENT_INDIRECT]: Use attribute_tls_model_ieRoland McGrath
on _nl_current_LC_* variables.
2002-12-052002-12-04 Roland McGrath <roland@redhat.com>Roland McGrath
* locale/localeinfo.h [NL_CURRENT_INDIRECT]: Use attribute_tls_model_ie on _nl_current_LC_* variables.
2002-12-05Update.Ulrich Drepper
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.
2002-12-05Update.Ulrich Drepper
* po/be.po: New file.
2002-12-05Belarusian translation for GNU libc messages.Ulrich Drepper
2002-12-05* forward.c (pthread_self): Use FORWARD3 macro to correct return type.Roland McGrath
* 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.
2002-12-05* td_thr_get_info.c (td_thr_get_info): ti_tid is pthread_t, not a PID.Roland McGrath
* thread_db.h (td_thrinfo_t): Comment fix. * td_ta_map_lwp2thr.c: Moved to ../nptl/sysdeps/i386/.
2002-12-052002-12-04 Roland McGrath <roland@redhat.com>Roland McGrath
* td_thr_get_info.c (td_thr_get_info): ti_tid is pthread_t, not a PID.
2002-12-05Update.Ulrich Drepper
* 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.
2002-12-05Update.Ulrich Drepper
2002-12-05 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/tls.h: Include stdlib.h. * sysdeps/x86_64/tls.h: Likewise.
2002-12-04Update.Ulrich Drepper
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.
2002-12-04Update.Ulrich Drepper
2002-12-04 Ulrich Drepper <drepper@redhat.com> * argp/Makefile (tests): Add tst-argp1.
2002-12-04Bump to 0.11.Ulrich Drepper
2002-12-04* sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS]Roland McGrath
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-042002-12-04 Roland McGrath <roland@redhat.com>Roland McGrath
* 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.
2002-12-04Update.Ulrich Drepper
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.
2002-12-04Update.Ulrich Drepper
2002-12-03 Ulrich Drepper <drepper@redhat.com> * manual/texinfo.tex: Update from latest upstream version.
2002-12-04Update from latest upstream version.Ulrich Drepper
2002-12-04* sysdeps/generic/libc-tls.c (__libc_setup_tls): Include static TLSRoland McGrath
area surplus in calculation for sbrk call.
2002-12-042002-12-03 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Include static TLS area surplus in calculation for sbrk call.
2002-12-04Update.Ulrich Drepper
* 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>.
2002-12-04i486 specific atomic operations.Ulrich Drepper
2002-12-03* iconvdata/cp1125.c: New file.Roland McGrath
* 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-032002-12-03 Roland McGrath <roland@redhat.com>Roland McGrath
* charmaps/CP1125: New file. * CHECKSUMS: Add it.
2002-12-03Define HAVE_CMOV and include i486 version.Ulrich Drepper
2002-12-03Update.Ulrich Drepper
* 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>.
2002-12-03(get_cached_stack): Don't crash if we first found a stack with a larger size ↵Ulrich Drepper
then needed.
2002-12-03* sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.Andreas Jaeger
2002-12-03Regenerated.Andreas Jaeger
2002-12-03Update.Ulrich Drepper
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.
2002-12-03Update.Ulrich Drepper
2002-12-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/system.c (do_system): Make signal handler installation thread safe.
2002-12-03Correct rule to create tst-locale1.Ulrich Drepper
2002-12-03* sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): ChangeRoland McGrath
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-032002-12-02 Roland McGrath <roland@redhat.com>Roland McGrath
* 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.
2002-12-03Update.Ulrich Drepper
* Makefile (tests): Add tst-locale1. If buid-static is yes link statically. * tst-locale1.c: New file.
2002-12-03Test use of locale functions in statically linked apps.Ulrich Drepper
2002-12-03* sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so bothRoland McGrath
bits of RM are cleared.
2002-12-03* elf/tst-tls4.c: Define an unused TLS variable here, so that no lazyRoland McGrath
TLS setup is required. * 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. * elf/rtld.c (dl_main): Remove [! SHARED] conditional from `if (GL(dl_tls_max_dtv_idx) > 0)' tests for doing TLS setup. * elf/dl-close.c (libc_freeres_fn): Check GL(dl_tls_dtv_slotinfo_list) for being null before calling free_slotinfo. * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: For PT_TLS in dynamic loading, bail with error if GL(dl_tls_max_dtv_idx) is zero.
2002-12-03Add some items, tweak another.Roland McGrath
2002-12-02Update.Ulrich Drepper
2002-11-30 Bruno Haible <bruno@clisp.org> * iconv/gconv.h (__gconv_btowc_fct): New typedef. (struct __gconv_step): New field __btowc_fct. * wcsmbs/btowc.c (__btowc): Use the __btowc_fct shortcut if possible. * iconv/gconv_int.h (__BUILTIN_TRANSFORM): Renamed from __BUILTIN_TRANS. (__gconv_btwoc_ascii): New declaration. * iconv/gconv_simple.c (BUILTIN_TRANSFORMATION): Add BtowcFct argument. (__gconv_btwoc_ascii): New function. * iconv/gconv_builtin.h: Add BtowcFct argument to all BUILTIN_TRANSFORMATION invocations. * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Add BtowcFct argument. * iconv/iconvconfig.c (BUILTIN_TRANSFORMATION): Likewise. * iconv/gconv_builtin.c (map): New field btowc_fct. (BUILTIN_TRANSFORMATION): Add BtowcFct argument. Use it to initialize btowc_fct field. (__gconv_get_builtin_trans): Initialize __btowc_fct field. * iconv/gconv_cache.c (find_module): Initialize __btowc_fct field. * iconv/gconv_db.c (gen_steps, increment_counter): Likewise. * wcsmbs/wcsmbsload.c (to_wc, to_mb): Likewise. * iconv/skeleton.c: Document STORE_REST and FROM_ONEBYTE. (gconv_init): Initialize __btowc_fct field. Undefine EXTRA_LOOP_ARGS and FROM_ONEBYTE at the end. * iconv/loop.c: Document ONEBYTE_BODY. (gconv_btowc, FROM_ONEBYTE): Define if ONEBYTE_BODY is defined. Undefine ONEBYTE_BODY at the end. * iconvdata/8bit-generic.c (ONEBYTE_BODY): New macro. * iconvdata/8bit-gap.c (NONNUL): New macro. (BODY for FROM_LOOP): Use it. (ONEBYTE_BODY): New macro. * iconvdata/isiri-3342.c (HAS_HOLES): Set to 1. (NONNUL): New macro. * iconvdata/ansi_x3.110.c (ONEBYTE_BODY): New macro. * iconvdata/armscii-8.c (ONEBYTE_BODY): New macro. * iconvdata/cp1255.c (ONEBYTE_BODY): New macro. * iconvdata/cp1258.c (ONEBYTE_BODY): New macro. * iconvdata/tcvn5712-1.c (ONEBYTE_BODY): New macro. * iconvdata/big5.c (ONEBYTE_BODY): New macro. * iconvdata/big5hkscs.c (ONEBYTE_BODY): New macro. * iconvdata/euc-cn.c (ONEBYTE_BODY): New macro. * iconvdata/euc-jp.c (ONEBYTE_BODY): New macro. * iconvdata/euc-jisx0213.c (ONEBYTE_BODY): New macro. * iconvdata/euc-kr.c (ONEBYTE_BODY): New macro. * iconvdata/euc-tw.c (ONEBYTE_BODY): New macro. * iconvdata/gbk.c (ONEBYTE_BODY): New macro. * iconvdata/gb18030.c (ONEBYTE_BODY): New macro. * iconvdata/ibm932.c: Include <stdbool.h>. (TRUE, FALSE): Remove macros. (BODY for FROM_LOOP): Remove unused variable rp1. (ONEBYTE_BODY): New macro. (BODY for TO_LOOP): Use bool. * iconvdata/ibm932.h (__ibm932sb_to_ucs4_idx): Remove array. * iconvdata/ibm943.c: Include <stdbool.h>. (TRUE, FALSE): Remove macros. (BODY for FROM_LOOP): Remove unused variable rp1. (ONEBYTE_BODY): New macro. (BODY for TO_LOOP): Use bool. * iconvdata/ibm943.h (__ibm943sb_to_ucs4_idx): Remove array. * iconvdata/iso8859-1.c (ONEBYTE_BODY): New macro. * iconvdata/iso_6937-2.c (ONEBYTE_BODY): New macro. * iconvdata/iso_6937.c (ONEBYTE_BODY): New macro. * iconvdata/johab.c (ONEBYTE_BODY): New macro. * iconvdata/sjis.c (ONEBYTE_BODY): New macro. * iconvdata/shift_jisx0213.c (ONEBYTE_BODY): New macro. * iconvdata/t.61.c (ONEBYTE_BODY): New macro. * iconvdata/uhc.c (ONEBYTE_BODY): New macro. * iconvdata/gbbig5.c: Tweak comment.
2002-12-02(__gconv_btowc_fct): New typedef. (struct __gconv_step): New field __btowc_fct.Ulrich Drepper
2002-12-02* sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix conditionRoland McGrath
testing getdents64 return value.
2002-12-022002-12-01 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition testing getdents64 return value.
2002-12-02Update.Ulrich Drepper
* pthread_cond_timedwait.c: Include <stdlib.h>.
2002-12-02Update.Ulrich Drepper
2002-12-02 Ulrich Drepper <drepper@redhat.com> * po/fi.po: Update from translation team.
2002-12-02Update.Ulrich Drepper
2002-12-02 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-fork2 and tst-fork3. * tst-fork2.c: New file. * tst-fork3.c: New file.
2002-12-02Tests for getppid in MT applications.Ulrich Drepper