about summary refs log tree commit diff
path: root/linuxthreads
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-07-3122-37/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-31 Jakub Jelinek <jakub@redhat.com> * dlfcn/dlerror.c (once): New. (dlerror): Call __libc_once. (_dlerror_run): Remove once. 2003-07-31 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext): Sync with 2.5.7 and 2.5.73 kernel changes. 2003-07-31 Jakub Jelinek <jakub@redhat.com> * dlfcn/eval.c (funcall): Add noinline attribute to shut up warnings. * elf/rtld.c (dl_main): Cast ElfW(Addr) arguments with %Zx/%Zd formats to size_t. * elf/dl-lookup.c (_dl_debug_bindings): Likewise. * elf/tst-tls6.c (do_test): Use %zd format for l_tls_modid. * elf/tst-tls8.c (do_test): Use %zd format for modid1 and modid2. * gmon/tst-sprofil.c (main): Add parens to shut up warning. * iconv/tst-iconv3.c (main): Use %td instead of %zd for pointer difference argument. * stdio-common/tst-wc-printf.c (main): Cast arguments with %C format to wint_t. * stdlib/tst-limits.c (main): For WORD_BIT and LONG_BIT, use %d format and cast expected value to int. * sysdeps/generic/libc-start.c (STATIC): Add __attribute__((always_inline) if LIBC_START_MAIN is already defined. * sysdeps/powerpc/fpu/w_sqrt.c (a_nan, a_inf): Change from uint32_t to ieee_float_shape_type. (__sqrt): Avoid type punning. * sysdeps/powerpc/fpu/w_sqrtf.c (a_nan, a_inf): Change from uint32_t to ieee_float_shape_type. (__sqrtf): Avoid type punning. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Don't define refsym if in dl-conflict.c. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/unix/sysv/linux/i386/semctl.c (union semun): Add __old_buf. (__new_semctl): Shut up warning. * sysdeps/unix/sysv/linux/semctl.c (union semun): Add __old_buf. (__new_semctl): Shut up warning. * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Wrap long lines. Change old into union of __old_shmid_ds and __old_shminfo structs. Adjust all users. * wcsmbs/wcsmbs-tst1.c (main): Cast arguments with %C format to wint_t. 2003-07-31 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/utimes.c (__utimes): Fix actime and modtime computation. * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise. * sysdeps/posix/utimes.c (__utimes): Likewise.
* Update.Ulrich Drepper2003-07-312-0/+48
| | | | | | | | | | | | | | | | | | | | | | 2003-07-30 Jakub Jelinek <jakub@redhat.com> * elf/dl-reloc.c (_dl_allocate_static_tls): Don't return any value, call dl_signal_error directly. If already relocated, call GL(dl_init_static_tls) directly, otherwise queue it for later. (CHECK_STATIC_TLS): Undo 2003-07-24 change. * elf/rtld.c (dl_main): Initialize GL(dl_init_static_tls). * elf/dl-open.c (dl_open_worker): Call GL_dl_init_static_tls for all static TLS initializations delayed in _dl_allocate_static_tls. * elf/dl-support.c (_dl_init_static_tls): New variable. * include/link.h (struct link_map): Add l_need_tls_init. * sysdeps/generic/ldsodefs.h (_rtld_global): Add _dl_init_static_tls. (_dl_nothread_init_static_tls): New prototype. (_dl_allocate_static_tls): Adjust prototype. * elf/tls-macros.h (VAR_INT_DEF): Add alignment directive. elf_machine_rela_relative): Adjust. (CHECK_STATIC_TLS): _dl_allocate_static_tls can fail now.
* * rt/tst-timer2.c: New file.Roland McGrath2003-07-293-5/+12
| | | | * rt/Makefile (tests): Add it.
* * elf/dl-support.c (_dl_hwcap): Add nocommon attribute.Roland McGrath2003-07-291-0/+8
|
* * elf/Makefile (tests) [$(build-shared) = yes]:Roland McGrath2003-07-291-1/+6
| | | | | Depend on $(test-modules). * dlfcn/Makefile: Likewise.
* 2003-07-14 Guido Guenther <agx@sigxcpu.org>Andreas Jaeger2003-07-282-4/+9
| | | | | | | | | * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Add IS_IN_librt, use L() for local labels. 2003-07-14 Guido Guenther <agx@sigxcpu.org> * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Add IS_IN_librt, use L() for local labels.
* Update.Ulrich Drepper2003-07-221-0/+19
| | | | | | | | | | | | | | | | | * include/stdio.h (__libc_fatal): Add libc_hidden_proto. * include/dlfcn.h (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose): Likewise. * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym, __libc_dlclose): Add libc_hidden_def. * sysdeps/generic/libc_fatal.c (__libc_fatal): Likewise. * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise. * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Likewise. * elf/Versions (libc): Export __libc_dlopen_mode@@GLIBC_PRIVATE, __libc_dlsym@@GLIBC_PRIVATE and __libc_dlclose@@GLIBC_PRIVATE. * libio/Versions (libc): Export __libc_fatal@@GLIBC_PRIVATE. * sysdeps/generic/unwind-dw2.c: Readd #ifs removed during last change. * sysdeps/generic/unwind.inc: Removed.
* Update.Ulrich Drepper2003-07-228-3/+116
| | | | | | | | | | | | | | | | 2003-07-22 Jakub Jelinek <jakub@redhat.com> * include/resolv.h (__resp): Declare. Define to __libc_resp if in libc.so. (_res): If USE___THREAD, define to (*__resp). * resolv/res_libc.c (_res): Normal .bss variable with compat_symbol even if USE___THREAD. (__resp): New __thread variable. (__libc_resp): New alias. * resolv/Versions (libc): Export _res@GLIBC_2.0 even if USE_TLS && HAVE___THREAD. Export __resp@@GLIBC_PRIVATE. * sysdeps/generic/res-state.c (__res_state): Return __resp if USE___THREAD.
* Update.Ulrich Drepper2003-07-202-0/+25
| | | | * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO): Fix typo.
* lseek and llseek are no cancellation points.Ulrich Drepper2003-07-201-2/+0
|
* Update.Ulrich Drepper2003-07-142-1/+6
| | | | | | | 2003-07-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Fix typo in test for compilation in libc.
* Update.Ulrich Drepper2003-07-082-1/+17
| | | | | | | | | | | | | 2003-07-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/s390/s390-32/elf/start.S: Emit position independent code if PIC. * sysdeps/s390/s390-64/elf/start.S: Likewise. 2003-07-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc64/elf/start.S: Put L(start_address) into .data.rel.ro.local section if PIC to avoid DT_TEXTREL.
* * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end. * ↵Richard Henderson2003-07-052-7/+8
| | | | | | | | sysdeps/alpha/elf/pt-initfini.c: Avoid .ent/.end. 2003-07-05 Richard Henderson <rth@redhat.com> * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end.
* * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Support cancellationRoland McGrath2003-06-252-3/+11
| | | | | | in librt. * sysdeps/unix/sysv/linux/alpha/Makefile (libpthread-routines):
* * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Support cancellationAndreas Schwab2003-06-201-0/+5
| | | | in librt.
* Support cancellation in librt.Andreas Schwab2003-06-201-3/+13
|
* * sysdeps/unix/sysv/linux/alpha/Makefile (libpthread-routines): ↵Richard Henderson2003-06-202-1/+6
| | | | | | | | | Remove ptw-osf_sigprocmask. 2003-06-20 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/Makefile (libpthread-routines): Remove ptw-osf_sigprocmask.
* Update.Ulrich Drepper2003-06-1716-31/+155
| | | | | | 2003-06-17 Jakub Jelinek <jakub@redhat.com> * posix/regcomp.c (build_word_op): Use alnum instead of alpha class.
* Update.Ulrich Drepper2003-06-121-1/+1
| | | | | | | | | 2003-06-12 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Replace @got notation with @toc. * sysdeps/powerpc/powerpc64/sysdep.h (CALL_MCOUNT): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Likewise.
* Update.Ulrich Drepper2003-06-122-1/+10
| | | | | | | | * sysdeps/posix/getaddrinfo.c (gaih_inet): Set no_inet6_date alse if only PF_INET address is needed. * nss/getXXbyYY_r.c: Make sure we always return a nonzero value in case of an error.
* Update.Ulrich Drepper2003-06-112-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-11 Ulrich Drepper <drepper@redhat.com> * time/tzfile.c: Add a couple of __builtin_expect. Remove warnings gcc 3.3 shows. * argp/argp-help.c (hol_entry_short_iterate): Don't inline. * elf/dl-load.c (fillin_rpath): Likewise. (add_path): Likewise. * elf/dl-version.c (find_needed): Always inline. * elf/do-lookup.c (FCT): Don't inline. * iconv/Makefile: Extend vpath to intl subdir. (iconvconfig-modules): Add hash-string. * iconv/gconv_charset.h (strip): Don't inline. (upstr): Always inline. Move __gconv_compare_alias prototype to... * iconv/gconv_int.h: ...here. * iconv/gconv_db.c: Don't include gconv_charset.h. * iconv/gconv_conf.c (add_alias): Don't inline. (insert_module): Likewise. * iconv/gconv_simple.c (internal_ucs4_loop): Always inline. (internal_ucs4_loop_unaligned): Likewise. (internal_ucs4_loop_single): Likewise. (ucs4_internal_loop): Likewise. (ucs4_internal_loop_unaligned): Likewise. (ucs4_internal_loop_single): Likewise. (internal_ucs4le_loop): Always inline. (internal_ucs4le_loop_unaligned): Likewise. (internal_ucs4le_loop_single): Likewise. (ucs4le_internal_loop): Likewise. (ucs4le_internal_loop_unaligned): Likewise. (ucs4le_internal_loop_single): Likewise. * iconv/loop.c: Always inline the defined functions. * iconvdata/cns11642.h: Likewise. * iconvdata/cns11642l1.h: Likewise. * iconvdata/euc-kr.c: Likewise. * iconvdata/gb2312.h: Likewise. * iconvdata/jis0201.h: Likewise. * iconvdata/jis0208.h: Likewise. * iconvdata/jis0212.h: Likewise. * iconvdata/jisx0213.h: Likewise. * iconvdata/ksc5601.h: Likewise. * iconvdata/utf-7.c (base64): Don't inline. * include/libc-symbols.h (symbol_set_first_element): Add cast (symbol_set_end_p): Likewise. * include/set-hooks (RUN_HOOK): Likewise. * inet/Makefile (aux): Add ifreq. * intl/Makefile (aux): Add some entries from routines. Add hash-string. * intl/hash-string.c: New file. * intl/hash-string.h: Remove hash_string definition. Declare __hash_string. * iconv/gconv_cache.c (find_module_idx): Adjust hash_string caller. * iconv/iconvconfig.c (new_name): Likewise. * intl/dcigettext.c (_nl_find_msg): Likewise. * intl/loadmsgcat.c (_nl_load_domain): Likewise. * io/ftw.c (open_dir_stream): Always inline. (process_entry): Don't inline. * locale/findlocale.c: Include gconv_int.h. * locale/setlocale.c (new_composite_name): Don't inline. * locale/weight.h (findidx): Always inline. * locale/weightwc.h (findidx): Likewise. * locale/programs/linereader.c (lr_ignore_rest): Define here. * locale/programs/linereader.h (lr_ignore_rest): Don't define here, just declare it. (lr_getc): Always inline. (lr_ungetc): Likewise. * nss/nss_files/files-parse.c (parse_list): Likewise. * stdio-common/Makefile (aux): Add printf-parsemb and printf-parsewc. * stdio-common/_itoa.h (_itoa_word): Always inline. (_fitoa_word, _fitoa): Don't define here, only declare. * stdio-common/_itoa.c (_iftoa_word): Add here. (_fitoa): Likewise. * stdio-common/_itowa.h (_itowa_word): Always inline. * stdio-common/printf-parse.h (read_int): Don't inline. (find_spec): Don't define. Declare __find_specmb and __find_specwc. (parse_one_spec): Don't define. Declare __parse_one_specmb and __parse_one_specwc. * stdio-common/printf-parsemb.c: New file. * stdio-common/printf-parsewc.c: New file. * stdio-common/vfprintf.c: Update calls to find_spec and parse_one_spec for new names. * stdio-common/printf-prs.c: Likewise. Define DONT_NEED_READ_INT. * stdlib/Makefile (aux): Add grouping and groupingwc. * stdlib/grouping.c: New file. * stdlib/groupingwc.c: New file. * stdlib/grouping.h (correctly_grouped_prefix): Don't define here. Just prototype. * stdlib/rpmatch.c (try): Don't inline. * stdlib/strtod.c (round_and_return): Don't line. (str_to_mpn): Likewise. (__mpn_lshift_1): Always inline. Optimize only for constant count. Adjust for name change of correctly_grouped_prefix. * sysdeps/generic/strtol.c: Adjust for name change of correctly_grouped_prefix. * string/strxfrm.c (utf8_encode): Don't inline. * sysdeps/generic/dl-cache.c: Define _dl_cache_libcmp. * sysdeps/generic/dl-cache.h: Just declare _dl_cache_libcmp. * sysdeps/generic/ifreq.c: New file. * sysdeps/unix/sysv/linux/ifreq.c: New file. * sysdeps/generic/ifreq.h (__ifreq): Only declare here. * sysdeps/unix/sysv/linux/ifreq.h: Likewise. * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Always inline. * sysdeps/generic/unwind-dw2-fde.c (start_fde_sort): Don't inline. (fde_split): Likewise. (fde_merge): Likewise. (end_fde_sort): Likewise. (init_object): Likewise. (binary_search_unencoded_fdes): Likewise. (binary_search_single_encoding_fdes): Likewise. (binary_search_mixed_encoding_fdes): Likewise. * sysdeps/generic/wordexp.c (w_addchar): Don't inline. * sysdeps/i386/dl-machine.c (elf_machine_runtime_setup): Always inline. * sysdeps/posix/sprofil.c (profil_count): Don't inline. * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add xstatconv. * sysdeps/unix/sysv/linux/xstatconv.h: New file. * sysdeps/unix/sysv/linux/xstatconv.c: Don't inline the function. Export them. Prepend __ to name. * sysdeps/unix/sysv/linux/Dist: Add xstatconv.h. * sysdeps/unix/sysv/linux/fxstat.c: Adjust for name change of conversion functions. * sysdeps/unix/sysv/linux/fxstat64.c: Likewise. * sysdeps/unix/sysv/linux/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/lxstat64.c: Likewise. * sysdeps/unix/sysv/linux/xstat.c: Likewise. * sysdeps/unix/sysv/linux/xstat64.c: Likewise. * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise. * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise. * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max, __statfs_filesize_max, __statfs_symlinks): Define here. __ prepended to name. Change callers. * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max, __statfs_filesize_max, __statfs_symlinks): Don't define here, just declare. * sysdeps/unix/sysv/linux/fpathconf.c: Change all callers. * time/tzfile.c (decode): Always inline. * wcsmbs/wcsnrtombs.c: Change type of inbuf to unsigned char*. Remove cast in tomb function call. * wcsmbs/wcsrtombs.c Likewise. * wcsmbs/wcstob.c: Introduce new temp variable to take pointer in tomb function call.
* Update.Ulrich Drepper2003-06-102-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-09 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SETRESGID_SYSCALL): Define. * sysdeps/unix/sysv/linux/setegid.c: Use __ASSUME_SETRESGID_SYSCALL instead of __ASSUME_SETRESUID_SYSCALL. (setegid): Only use setresgid32 inline syscall if __NR_setresgid32 is defined. * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Only use setresgid32 inline syscall if __NR_setresuid32 is defined. * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Use __ASSUME_SETRESGID_SYSCALL instead of __ASSUME_SETRESUID_SYSCALL. * sysdeps/unix/sysv/linux/i386/setregid.c: Backout last changes. * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Protect code handling non-existant setresgid32 syscall with #if __ASSUME_SETRESGID_SYSCALL == 0. 2003-06-09 Andreas Schwab <schwab@suse.de> * sunrpc/Makefile (generated): Remove rpc-proto.c, rpc-proto.d. ($(rpcsvc:%.x=$(objpfx)x%$o)): Don't depend on $(objpfx)rpc-proto.d. (rpcsvc-dt-files, rpcsvc-depfiles): Define. Include $(rpcsvc-depfiles) instead of $(objpfx)rpc-proto.d. ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c): Remove rules.
* Update.Ulrich Drepper2003-06-062-6/+14
| | | | | | * sysdeps/unix/sysv/linux/sleep.c (__sleep): Use nanosleep syscall directly to avoid cancellation in the regular nanosleep implementation.
* * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use ↵Richard Henderson2003-06-063-9/+33
| | | | | | | | | | and require CFI assembler directives. * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise. 2003-06-05 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use and require CFI assembler directives. * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
* (SAVESTK_0): Add CFI directives. Andreas Jaeger2003-05-302-6/+16
| | | | | | | | | | | | | | | | | (SAVESTK_3): Likewise. (SAVESTK_5): Likewise. (RESTSTK_0): Likewise. (RESTSTK_3): Likewise. (RESTSTK_5): Likewise. 2003-05-30 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (SAVESTK_0): Add CFI directives. (SAVESTK_3): Likewise. (SAVESTK_5): Likewise. (RESTSTK_0): Likewise. (RESTSTK_3): Likewise. (RESTSTK_5): Likewise.
* Update.Ulrich Drepper2003-05-061-0/+5
| | | | | | | | | | | * sysdeps/generic/enbl-secure.c (__libc_enable_secure_decided): New variable. (__libc_init_secure): Don't do anything if __libc_enable_secure_decided is nonzero. * include/unistd.h: Declare __libc_enable_secure_decided. * elf/dl-support.c (_dl_aux_init): Recognize AT_UID, AT_EUID, AT_GID, and AT_EGID. If all found, set __libc_enable_secure and __libc_enable_secure_decided.
* Update.Ulrich Drepper2003-05-061-3/+3
| | | | | | | 2003-05-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/libc-start.c [!SHARED]: Call __libc_check_standard_fds after __libc_init_first.
* * csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file.Roland McGrath2003-05-042-0/+5
| | | | Depend on $(before-compile).
* Update.Ulrich Drepper2003-04-261-0/+5
| | | | | | | 2003-04-26 Ulrich Drepper <drepper@redhat.com> * pthread.c (__pthread_initialize_manager): Remove one last p_multiple_threads call.
* (__pthread_initialize_manager): Remove one last p_multiple_threads call.Ulrich Drepper2003-04-261-1/+1
|
* Update.Ulrich Drepper2003-04-267-25/+13
| | | | | | | | | | | | | | | | | * nscd/cache.c (cache_search): Keep track of how many chain links we searched and update table statistics. (cache_add): Keep track of how many values are in the table. (prune_cache): Likewise. Keep track of locking success. Print messages about removed entries in separate pass. * nscd/connections.c (handle_request): Don't print debug message here. The caller will do it. Keep track of locking success. (nscd_run): Print debug message. Also print PID of the client process. * nscd/nscd.c (start_time): New variable. (main): Remember start time. * nscd/nscd.h: Declare start_time. (struct database): Add more members for new statistics. * nscd/nscd_stat.c: Add support for sending, receiving, and printing of new statistics.
* Update.Ulrich Drepper2003-04-255-34/+32
| | | | | | | | | * pthread.c (__pthread_initialize_manager): Subtract TLS_PRE_TCB_SIZE bytes from tcbp to get to descr. * manager.c (pthread_handle_create): Subtract or add TLS_PRE_TCB_SIZE instead of sizeof (pthread_descr). (pthread_free): Add TLS_PRE_TCB_SIZE instead of sizeof (pthread_descr). * sysdeps/powerpc/tls.h (TLS_INIT_TCB_SIZE, TLS_TCB_SIZE): Define to 0.
* Update.Ulrich Drepper2003-04-2512-62/+100
| | | | | | | | | | | | | | 2003-04-22 Jakub Jelinek <jakub@redhat.com> * include/link.h (NO_TLS_OFFSET): Define to 0 if not defined. * elf/dl-close.c (_dl_close): Use NO_TLS_OFFSET. * elf/dl-object.c (_dl_new_object): Initialize l_tls_offset to NO_TLS_OFFSET. * elf/rtld.c (_dl_start_final, _dl_start): Likewise. * elf/dl-reloc.c (CHECK_STATIC_TLS): Use NO_TLS_OFFSET. * sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Likewise. * sysdeps/powerpc/dl-tls.h (TLS_TPREL_VALUE): Don't subtract TLS_TCB_SIZE.
* * Makeconfig (shared-thread-library): Reverse link order to workRoland McGrath2003-04-232-2/+7
| | | | around linker bug.
* Update.Ulrich Drepper2003-04-202-2/+10
| | | | | | * sysdeps/i386/useldt.h (DO_SET_THREAD_AREA): Make sure the compiler knows we use the ldt_entry variable and that the syscall modifies the memory.
* Update.Ulrich Drepper2003-04-204-60/+97
| | | | | | | | | 2003-04-20 Ulrich Drepper <drepper@redhat.com> * internals.h: Split pthread_functions definition into... * sysdeps/pthread/pthread-functions.h: ...new file. * sysdeps/i386/useldt.h: Include <sysdep.h>.
* * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Rename macros toRoland McGrath2003-04-131-0/+5
| | | | match changes in NPTL sysdep-cancel.h.
* 2003-04-13 Jakub Jelinek <jakub@redhat.com>Roland McGrath2003-04-131-12/+41
| | | | | * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Rename macros to match changes in NPTL sysdep-cancel.h.
* * csu/tst-empty.c: New file.Roland McGrath2003-04-121-0/+19
| | | | * csu/Makefile (tests, tests-static): Add it.
* 2003-04-11 Roland McGrath <roland@redhat.com>Roland McGrath2003-04-122-20/+0
| | | | | | | | * Makefile ($(objpfx)multidir.mk): New target, generated makefile that sets variable `multidir'; include that. (generated): Add it. ($(objpfx)$(multidir)/crti.o): New target. [$(multidir) != .] (generated-dirs, extra-objs, omit-deps): Add it.
* 2003-04-11 Roland McGrath <roland@redhat.com>Roland McGrath2003-04-111-4/+32
| | | | | | | | | | | | | | | | | | * Makefile (multidir): Don't set the variable here with $(shell ...). ($(objpfx)multidir.mk): New target, generated makefile; include that. (generated): Append it. 2003-04-10 Jakub Jelinek <jakub@redhat.com> * Makefile (multidir, crti-objs, crtn-objs): New variables. (generated-dirs): Add pathname component of multidir. (omit-deps, extra-objs): Include $(multidir)/crt? as well. ($(objpfx)libpthread.so): Depend on $(multidir)/crt?.o as well. ($(objpfx)$(multidir), $(objpfx)$(multidir)/crti.o, $(objpfx)$(multidir)/crtn.o): New. * sysdeps/unix/sysv/linux/sparc/Makefile: Removed. * sysdeps/unix/sysv/linux/x86_64/Makefile (LDFLAGS-pthread.so, before-compile, generated): Don't generate and use specs. ($(objpfx)specs): Remove.
* * string/test-strcmp.c (do_random_tests): Test whether return valueRoland McGrath2003-04-111-0/+4
| | | | | | | | | has been promoted to wordsize if the ABI requires caller to do so. * string/test-strncmp.c (do_random_tests): Likewise. * string/test-memcmp.c (do_random_tests): Likewise. * sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Sign extend rRTN before returning.
* 2003-04-11 Martin Schwidefsky <schwidefsky@de.ibm.com>Roland McGrath2003-04-111-1/+1
| | | | * sysdeps/s390/pspinlock.c (__pthread_spin_unlock): Fix asm contraints.
* Update.Ulrich Drepper2003-04-032-1/+6
| | | | | | | 2003-04-03 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Reverse test for atomic_compare_and_exchange_bool_acq failure.
* Update.Ulrich Drepper2003-04-032-0/+9
| | | | | | | 2003-04-03 Jakub Jelinek <jakub@redhat.com> * pthread.c (pthread_initialize): Unblock __pthread_sig_cancel in case the parent blocked it.
* * Makefile (libpthread-routines): Add pthread_atfork.Roland McGrath2003-04-021-0/+5
| | | | (libpthread-static-only-routines): Add pthread_atfork.
* 2003-04-02 Jakub Jelinek <jakub@redhat.com>Roland McGrath2003-04-021-1/+2
| | | | | * Makefile (libpthread-routines): Add pthread_atfork. (libpthread-static-only-routines): Add pthread_atfork.
* * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use theRoland McGrath2003-04-0211-4/+253
| | | | IA-64 version.
* * alloca_cutoff.c: Include internals.h. * sysdeps/pthread/errno-loc.c: ↵Alexandre Oliva2003-04-015-4/+15
| | | | | | | | | | | Include linuxthreads/internals.h. * sysdeps/pthread/herrno-loc.c: Likewise. * sysdeps/pthread/res-state.c: Likewise. 2003-03-31 Alexandre Oliva <aoliva@redhat.com> * alloca_cutoff.c: Include internals.h. * sysdeps/pthread/errno-loc.c: Include linuxthreads/internals.h. * sysdeps/pthread/herrno-loc.c: Likewise. * sysdeps/pthread/res-state.c: Likewise.
* Update.Ulrich Drepper2003-03-253-0/+132
| | | | | | | * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__TIMER_T_TYPE): Likewise. * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__TIMER_T_TYPE): Likewise.