about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Update.Ulrich Drepper2003-04-193-4/+10
| | | | | | | | 2003-04-18 Jes Sorensen <jes@wildopensource.com> * libc/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Sync with Linux 2.5.67. * libc/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
* Update.Ulrich Drepper2003-04-195-20/+57
| | | | | * stdlib/cxa_finalize.c (__cxa_finalize): Don't call UNREGISTER_ATFORK if d == NULL.
* Update.Ulrich Drepper2003-04-1945-615/+1560
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-19 Ulrich Drepper <drepper@redhat.com> * catgets/nl_types.h: Remove __THROW marker from cancellation points. * dirent/dirent.h: Likewise. * dlfcn/dlfcn.h: Likewise. * grp/grp.h: Likewise. * iconv/iconv.h: Likewise. * io/fcntl.h: Likewise. * io/ftw.h: Likewise. * libio/stdio.h: Likewise. * misc/sys/mman.h: Likewise. * misc/sys/select.h: Likewise. * misc/sys/syslog.h: Likewise. * misc/sys/uio.h: Likewise. * posix/spawn.h: Likewise. * posix/unistd.h: Likewise. * posix/sys/wait.h: Likewise. * pwd/pwd.h: Likewise. * resolv/netdb.h: Likewise. * rt/aio.h: Likewise. * shadow/shadow.h: Likewise. * signal/signal.h: Likewise. * socket/sys/socket.h: Likewise. * stdlib/stdlib.h: Likewise. * streams/stropts.h: Likewise. * string/string.h: Likewise. * sysdeps/gnu/utmpx.h: Likewise. * sysvipc/sys/msg.h: Likewise. * termios/termios.h: Likewise. * time/time.h: Likewise. * wcsmbs/wchar.h: Likewise. * iconv/gconv_cache.c: Include <not-cancel.h> and use non-cancelable functions. * misc/daemon.c: Likewise. * sysdeps/generic/backtracesymsfd.c: Likewise. * sysdeps/generic/check_fds.c: Likewise. * sysdeps/unix/sysv/linux/gethostid.c: Likewise. * sysdeps/unix/sysv/linux/not-cancel.h: New file. * sysdeps/generic/not-cancel.h: New file. * csu/Makefile (distribute): Add not-cancel.h. * sysdeps/unix/sysv/linux/fatal-prepare.h: New file. * sysdeps/unix/sysv/linux/Makefile: Define FATAL_PREPARE_INCLUDE for assert.c and assert-perr.c to include <fatal-prepare.h>. * sysdeps/unix/sysv/linux/Dist: Add fatal-prepare.h. * sysdeps/posix/remove.c (remove): Rewrite. No need to restore errno and unlink first. * io/ftw.c (ftw_dir): In all places assume fchdir is available. 2003-04-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Use INTERNAL_SYSCALL instead of INLINE_SYSCALL.
* Update.Ulrich Drepper2003-04-182-4/+5
| | | | | * sysdeps/pthread/pthread.h: Don't mark pthread_testcancel, pthread_cancel, pthread_setcancelstate, and pthread_setcanceltype with
* Update.Ulrich Drepper2003-04-182-2/+11
| | | | | | | 2003-04-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread.h: Don't mark pthread_testcancel with __THROW.
* Update.Ulrich Drepper2003-04-183-5/+8
| | | | | | | | * sysdeps/unix/sysv/linux/Makefile: Remove db2 directory handling. * malloc/Makefile (CFLAGS-malloc.c): Define DEFAULT_TOP_PAD to 128k. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-malloc.c): Add to, not replace.
* Update.Ulrich Drepper2003-04-173-1/+63
| | | | | | | 2003-04-17 Ulrich Drepper <drepper@redhat.com> * signal/Makefile (tests): Add tst-sigsimple. * signal/tst-sigsimple.c: New file.
* Update.Ulrich Drepper2003-04-1716-159/+696
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-16 Jakub Jelinek <jakub@redhat.com> * elf/Makefile (distribute): Add tst-tlsmod{[7-9],1[0-2]}.c and tst-tls10.h. (tests): Add tst-tls1[0-2]. (modules-names): Add tst-tlsmod{[7-8],1[0-2]}. ($(objpfx)tst-tlsmod8.so): Depend on tst-tlsmod7.so. ($(objpfx)tst-tlsmod10.so): Depend on tst-tlsmod9.so. ($(objpfx)tst-tlsmod12.so): Depend on tst-tlsmod11.so. ($(objpfx)tst-tls10): Depend on tst-tlsmod8.so. ($(objpfx)tst-tls11): Depend on tst-tlsmod10.so. ($(objpfx)tst-tls12): Depend on tst-tlsmod12.so. * elf/tst-tls10.c: New test. * elf/tst-tls11.c: New test. * elf/tst-tls12.c: New test. * elf/tst-tls10.h: New file. * elf/tst-tlsmod7.c: New file. * elf/tst-tlsmod8.c: New file. * elf/tst-tlsmod9.c: New file. * elf/tst-tlsmod10.c: New file. * elf/tst-tlsmod11.c: New file. * elf/tst-tlsmod12.c: New file. 2003-04-15 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/bits/atomic.h: Moved ppc32/64 specific code to ... * sysdeps/powerpc/powerpc32/bits/atomic.h: New file. * sysdeps/powerpc/powerpc64/bits/atomic.h: New file. * posix/regex.h: Include <sys/types.h>.
* Update.Ulrich Drepper2003-04-172-2/+4
| | | | | * signal/sigrelse.c (sigrelse): Use sigdelset and not __sigdelset. The signal number must be checked.
* Update.Ulrich Drepper2003-04-172-2/+5
| | | | | * signal/sighold.c (sighold): Use sigaddset and not __sigaddset. The signal number must be checked [PR libc/5004].
* Update.Ulrich Drepper2003-04-1715-31/+73
| | | | | | | | | | | | | | | | | * string/test-memchr.c: Likewise. * string/test-memcmp.c: Likewise. * string/test-memcpy.c: Likewise. * string/test-memmove.c: Likewise. * string/test-memset.c: Likewise. * string/test-strcat.c: Likewise. * string/test-strchr.c: Likewise. * string/test-strcmp.c: Likewise. * string/test-strcpy.c: Likewise. * string/test-strlen.c: Likewise. * string/test-strncmp.c: Likewise. * string/test-strpbrk.c: Likewise. * string/test-strrchr.c: Likewise. * string/test-strspn.c: Likewise.
* Update.Ulrich Drepper2003-04-174-4/+16
| | | | | | | | * sysdeps/unix/sysv/linux/system.c: If compiled without threads don't do anything fancy. * sysdeps/generic/bits/libc-lock.h: Define __rtld_lock_define_initialized_recursive.
* Update.Ulrich Drepper2003-04-177-16/+60
| | | | | | | | | | | 2003-04-17 Ulrich Drepper <drepper@redhat.com> * nss/getXXbyYY_r.c [USE_NSCD] (REENTRANT_NAME): Only retry contacting nscd if NOT_USENSCD_NAME > 0. * nss/nsswitch.c (__nss_disable_nscd): New function. * nss/nsswitch.h: Declare it. * nss/Versions [GLIBC_PRIVATE]: Export __nss_disable_nscd. * nscd/nscd.c (main): Call __nss_disable_nscd.
* Update.Ulrich Drepper2003-04-171-0/+4
| | | | | | 2003-04-16 Ulrich Drepper <drepper@redhat.com> * uk_UA: Fix sorting. Patch by Leonid Kanter <leon@geon.donetsk.ua>.
* Update.Ulrich Drepper2003-04-172-7/+4
| | | | | * stdio-common/perror.c (perror): We don't need to set the offset to _IO_pos_bad, this is how streams are initialized.
* Update.Ulrich Drepper2003-04-172-4/+11
| | | | | | * locale/programs/ld-time.c (TESTARR_ELEM): Make i unsigned. (time_output): If necessary, allocate new buffer for .name string if padding is required.
* Update.Ulrich Drepper2003-04-172-64/+118
| | | | | | | | | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Check lengths before copying. This might leave holes in the list. Adjust pointers if necessary. (netlink_receive): Allocate only one block. (free_netlink_handle): Adjust appropriately. (getifaddrs): Lots of cleanups.
* (netlink_receive): Allocate only one block. (free_netlink_handle): Adjust ↵Ulrich Drepper2003-04-161-48/+34
| | | | appropriately. (getifaddrs): Lots of cleanups.
* * tst-cancel4.c (do_test): Use %zd instead of %d when printing cnt.Jakub Jelinek2003-04-161-0/+4
|
* (do_test): Use %zd instead of %d when printing cnt.Jakub Jelinek2003-04-161-5/+5
|
* Update.Ulrich Drepper2003-04-161-1/+1
| | | | * string/test-strncpy.c (do_one_test): Mark start and stop as
* Update.Ulrich Drepper2003-04-161-0/+5
| | | | | | | 2003-04-16 Ulrich Drepper <drepper@redhat.com> * string/test-strncpy.c (do_one_test): Makr start and stop as possibly unused.
* (do_one_test): Makr start and stop as possibly unused.Ulrich Drepper2003-04-161-2/+4
|