summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-04-284-74/+60
| | | | | | | | 2003-04-28 Ulrich Drepper <drepper@redhat.com> * nscd/nscd_getgr_r.c: Compact code a bit. Add some __builtin_expect. * nscd/nscd_getpw_r.c: Likewise. * nscd/nscd_gethst_r.c: Likewise.
* Update.Ulrich Drepper2003-04-284-0/+9
| | | | | | | | 2003-04-27 Ulrich Drepper <drepper@redhat.com> * nscd/pwdcache.c: Initialize .version element in result. * nscd/grpcache.c: Likewise. * nscd/pwdcache.c: Likewise.
* Update.Ulrich Drepper2003-04-283-0/+15
| | | | | | | | | * nscd/connections.c (client_queued): New variable. (nscd_run): Revamp the loop. Don't call poll except for cleanup threads. Keep track of the number of delays caused because of busy worker threads. * nscd/nscd.h: Declare client_queued. * nscd/nscd_stat.c: Transmit and print client_queued information.
* (client_queued): New variable. (nscd_run): Revamp the loop. Don't call poll ↵Ulrich Drepper2003-04-281-100/+122
| | | | except for cleanup threads. Keep track of the number of delays caused because of busy worker threads.
* * Makeconfig ($(common-objpfx)sysd-sorted): Fix for running inRoland McGrath2003-04-271-0/+5
| | | | | | subdirectory. 2003-04-27 Andreas Schwab <schwab@suse.de>
* 2003-04-27 Andreas Schwab <schwab@suse.de>Roland McGrath2003-04-271-2/+2
| | | | | * Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in subdirectory.
* * sysdeps/unix/sysv/linux/m68k/semtimedop.S: New file.Andreas Schwab2003-04-271-0/+4
|
* semtimedop implementation for Linux/m68k.Andreas Schwab2003-04-271-0/+60
|
* Update.Ulrich Drepper2003-04-277-6/+193
| | | | * locale/programs/locale.c (show_info): Use '\177' instead of CHAR_MAX.
* Update.Ulrich Drepper2003-04-272-2/+7
| | | | | | | 2003-04-27 Ulrich Drepper <drepper@redhat.com> * Makerules ($(common-objpfx)shlib.lds): Don't use PROVIDE to define __start_libc_freeres_ptrs and __stop___libc_freeres_ptrs.
* Update.Ulrich Drepper2003-04-277-9/+104
| | | | | | | | | | | | | | | 2003-04-26 Ulrich Drepper <drepper@redhat.com> * elf/dl-close.c [USE_TLS && TLS_TCB_AT_TP] (_dl_close): Reimplement tracking of freed memory in static TLS block. * elf/Makefile: Add rules to build and run tst-tls13. * elf/tst-tls13.c: New file. * elf/tst-tlsmod13.c: New file. * elf/tst-tlsmod13a.c: New file. * elf/tst-tls8.c: Adjust types of variables to avoid warnings. * elf/dl-reloc.c: Pretty printing.
* Test for unloading of modules with TLS in static block.Ulrich Drepper2003-04-271-0/+29
|
* (LDSEDCMD-c.so): Variable removed.Roland McGrath2003-04-262-1/+1
|
* * Makerules ($(common-objpfx)shlib.lds): New target.Roland McGrath2003-04-264-23/+35
| | | | | | | | | | | (common-generated): Add it. (build-shlib, build-module): Use that instead of generating every time. ($(common-objpfx)libc.so): Depend on it. (lib%.so rule): Likewise. (build-module-helper-objlist): Remove %.lds. * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on $(common-objpfx)shlib.lds. * dlfcn/Makefile ($(test-modules)): Likewise.
* * sysdeps/mach/hurd/tmpfile.c: Remove USE_IN_LIBIO conditionals.Roland McGrath2003-04-261-0/+4
|
* 2003-04-26 Roland McGrath <roland@frob.com>Roland McGrath2003-04-261-15/+7
| | | | * sysdeps/mach/hurd/tmpfile.c: Remove USE_IN_LIBIO conditionals.
* Update.Ulrich Drepper2003-04-262-1/+5
| | | | | | 2003-04-26 Andreas Schwab <schwab@suse.de> * elf/dl-close.c (remove_slotinfo): Fix missing parens.
* 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
|
* Fix.Jakub Jelinek2003-04-261-2/+0
|
* Update.Ulrich Drepper2003-04-2613-59/+180
| | | | | | | | | | | | | | | | | * 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-2517-85/+62
| | | | | | | | | * 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-252-0/+5
| | | | | | 2003-04-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c: Include <stdbool.h>.
* Update.Ulrich Drepper2003-04-2533-113/+225
| | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-04-252-1/+72
| | | | | | | * nss/getent.c: Implement alternative host database lookup via getaddrinfo. unbinding it.
* Update.Ulrich Drepper2003-04-248-105/+582
| | | | | | | | | | | | | 2003-04-24 Ulrich Drepper <drepper@redhat.com> * include/ifaddrs.h: New file. * include/netdb.h: Move definitions of AI_V4MAPPED, AI_ALL, and AI_ADDRCONFIG... * resolv/netdb.h: ...here. * sysdeps/gnu/ifaddrs.c. Use libc_hidden_def where appropriate. * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. * sysdeps/posix/getaddrinfo.c: Implement AI_V4MAPPED, AI_ALL, and AI_ADDRCONFIG.
* Internal shadow header for <ifaddrs.h>.Ulrich Drepper2003-04-241-0/+7
|
* * elf/dl-reloc.c (_dl_allocate_static_tls): Add internal_function.Roland McGrath2003-04-242-2/+7
| | | | * nis/ypclnt.c (__yp_bind): Expect YPDB parameter to always be !=
* * elf/dl-reloc.c (allocate_static_tls): Rename to...Roland McGrath2003-04-245-8/+46
| | | | | | | | | | | | | | | | | | | | | | (_dl_allocate_static_tls): ... this function. No longer static. (CHECK_STATIC_TLS): Adjust. * sysdeps/generic/ldsodefs.h (_dl_allocate_static_tls): New prototype. * sysdeps/powerpc/powerpc32/dl-machine.h (__process_machine_rela): Add SYM_MAP argument. (elf_machine_rela): Adjust caller. Declare SYM_MAP unconditionally. Check if SYM_MAP != NULL for R_PPC_DTPREL32. Only handle 32-bit TLS relocs here. #ifdef out relocs which never appear in .gnu.conflict section from dl-conflict.c processing. * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Add SYM_MAP argument. Handle 16-bit TLS relocs here. * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): #ifdef out relocs which never appear in .gnu.conflict section from dl-conflict.c processing. * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. * sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise. Use r_type in RESOLVE macro.
* 2003-04-24 Jakub Jelinek <jakub@redhat.com>Roland McGrath2003-04-244-64/+80
| | | | | | | | | | | | | | | * elf/dl-reloc.c (allocate_static_tls): Rename to... (_dl_allocate_static_tls): ... this function. No longer static. (CHECK_STATIC_TLS): Adjust. * sysdeps/generic/ldsodefs.h (_dl_allocate_static_tls): New prototype. * sysdeps/powerpc/powerpc32/dl-machine.h (__process_machine_rela): Add SYM_MAP argument. (elf_machine_rela): Adjust caller. Declare SYM_MAP unconditionally. Check if SYM_MAP != NULL for R_PPC_DTPREL32. Only handle 32-bit TLS relocs here. #ifdef out relocs which never appear in .gnu.conflict section from dl-conflict.c processing. * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela): Add SYM_MAP argument. Handle 16-bit TLS relocs here.
* Update.Ulrich Drepper2003-04-232-26/+14
| | | | | | * nis/ypclnt.c (__yp_bind): Expect ypdb parameter to always we != NULL. Remove code made redundant by this assumption. (__yp_unbind): Add call to free. Adjust all callers.
* Update.Ulrich Drepper2003-04-232-4/+14
| | | | | * nis/ypclnt.c (yp_all): Free the dom_binding object after unwinding it.
* Update.Ulrich Drepper2003-04-233-10/+18
| | | | | | | | | | 2003-04-23 Ulrich Drepper <drepper@redhat.com> * grp/initgroups.c (getgrouplist): Don't copy too much into the user buffer if more groups are found than fit into it. * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Use extend_alloca.
* Update.Ulrich Drepper2003-04-231-0/+3
| | | | | * sysdeps/posix/getaddrinfo.c (gaih_inet): Check for rc == ERANGE, not rc == errno. Use extend_alloca.
* (gaih_inet): Check for rc == ERANGE, not rc == errno. Use extend_alloca.Ulrich Drepper2003-04-231-5/+3
|
* * Makeconfig (shared-thread-library): Reverse link order to workRoland McGrath2003-04-234-4/+14
| | | | around linker bug.
* * elf/tst-tls12.c (main): Fix declaration.Roland McGrath2003-04-237-5/+29
| | | | | | | | | | | | | | | | | * elf/tst-tls10.c (dummy): Make hidden instead of static. * elf/tst-tlsmod7.c (dummy): Likewise. * elf/tst-tlsmod8.c (dummy): Likewise. * elf/tst-tlsmod9.c (dummy): Likewise. 2003-04-22 Roland McGrath <roland@redhat.com> * sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args. (open_not_cancel): Make last argument non-optional. * sysdeps/generic/check_fds.c (check_one_fd): Update caller. * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. * iconv/gconv_cache.c (__gconv_load_cache): Likewise. * include/tls.h: Protect against multiple inclusion.
* 2003-04-22 Roland McGrath <roland@redhat.com>Roland McGrath2003-04-234-11/+10
| | | | | | | | * sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args. (open_not_cancel): Make last argument non-optional. * sysdeps/generic/check_fds.c (check_one_fd): Update caller. * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
* Update.Ulrich Drepper2003-04-227-62/+25
| | | | | | | | | | | | | | | | 2003-04-22 Ulrich Drepper <drepper@redhat.com> * nscd/nscd-client.h: Add declaration for __nscd_open_socket. * nscd/nscd_gethst_r.c (__nscd_open_socket): Renamed from open_socket. Not static anymore. (nscd_gethst_r): Use __nscd_open_socket. * nscd/nscd_getgr_r.c (open_socket): Removed. (nscd_getgr_r): Use __nscd_open_socket. * nscd/nscd_getpw_r.c (open_socket): Removed. (nscd_getpw_r): Use __nscd_open_socket. * nscd/nscd.c (main): Change type of fdn to long int and use strtol. * nscd/connections.c (handle_request): Add cast to avoid warning.
* Update.Ulrich Drepper2003-04-222-1/+5
| | | | | | 2003-04-22 Ulrich Drepper <drepper@redhat.com> * semaphore.h: Fix typo in comment.
* Update.Ulrich Drepper2003-04-222-3/+8
| | | | | | | | | 2003-04-21 Ulrich Drepper <drepper@redhat.com> * locales/ar_BH: Fix spelling of Bahrain. * locales/uk_UA: Fix sorting. Patch by Leonid Kanter <leon@geon.donetsk.ua>.
* Update.Ulrich Drepper2003-04-214-1/+33
| | | | | | * signal/sigfillset.c: Moved to... * sysdeps/generic/sigfillset.c: ...here. If SIGCANCEL is defined do not set the corresponding bit.
* Update.Ulrich Drepper2003-04-2115-57/+102
| | | | | | | | | | | | | | 2003-04-21 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sigprocmask.c: Prevent changing mask for SIGCANCEL. * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_TKILL. * sysdeps/unix/sysv/linux/bits/siginfo.h: Define SI_TKILL. * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Define SI_TKILL. * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Define SI_TKILL. * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Define SI_TKILL. first syscall parameter to const char*.
* Update.Ulrich Drepper2003-04-203-4/+4
| | | | | * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Cast first syscall parameter to cnst char*.
* Update.Ulrich Drepper2003-04-202-1/+6
| | | | | | | 2003-04-20 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/check_fds.c (check_one_fd): Cast first parameter of open_not_cancel explicitly to const char*.
* 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>.
* Update.Ulrich Drepper2003-04-202-2/+4
| | | | * intl/Makefile ($(objpfx)msgs.h): Use C locale for sed run.
* Update.Ulrich Drepper2003-04-195-0/+38
| | | | | * configure.in: Add AC_PROG_CXX. * config.make.in (CXX): Define.
* Update.Ulrich Drepper2003-04-193-2/+15
| | | | | | | 2003-04-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/i686/hp-timing.h (HP_TIMING_PRINT): Change type of __len to size_t to avoid warnings.