aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-02-26Update.Ulrich Drepper
2004-02-26 Jakub Jelinek <jakub@redhat.com> * elf/rtld.c (dl_main): Correctly set up l_map_end and l_addr in vDSO's link_map, don't assume l_addr == 0. Set GL(dl_sysinfo) from e_entry only if AT_SYSINFO not present and adjust by l_addr. Take vDSO into account when inserting rtld into _dl_loaded chain.
2004-02-26Update.Ulrich Drepper
* sunrpc/svcauth_des.c (authdes_getucred): Removed fixed limit on number of groups in the cache. Relax the disconnect between the interface of authdes_getucred and netname2user a bit. * sunrpc/auth_unix.c (authunix_create_default): Don't allocate huge arrays on the stack.
2004-02-26Update.Ulrich Drepper
2004-02-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Use the official not cancelable interfaces.
2004-02-26Update.Ulrich Drepper
2004-02-24 Arnold D. Robbins <arnold@skeeve.com> * posix/regex_internal.c (build_wcs_upper_buffer): Enclose `offsets_needed' label in `#ifdef _LIBC' to silence `unused label' compiler warning. 2004-02-24 Nelson H.F. Beebe <beebe@math.utah.edu> * posix/regex_internal.c (build_wcs_buffer): Add cast to char* in call to `wcrtomb'. * posix/regex_internal.h (bitset_not, bitset_merge, bitset_not_merge, bitset_mask, re_string_char_size_a, re_string_wchar_at, re_string_elem_size_at): Change to use prototypes. (re_string_char_size_at, re_string_wchar_at, re_string_elem_size_at): Declare as `internal_function'.
2004-02-25Update.Ulrich Drepper
2004-02-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Handle _SC_NGROUPS_MAX.
2004-02-25Update.Ulrich Drepper
* Makefile (tests-nolibpthread): Add tst-unload. Don't link with libpthread for the files in this list. (CFLAGS-tst-unload): Removed. * tst-unload.c (do_test): Don't use complete path for LIBPHREAD_SO.
2004-02-25Update.Ulrich Drepper
2004-02-25 Ulrich Drepper <drepper@redhat.com> * Makefile: Define sonames for tst-tls5mod, tst-_res1mod1, and tst-_res1mod2.
2004-02-23Update.Ulrich Drepper
* wcsmbs/mbrtowc.c (__mbrtowc): Cap s + n at the end of address space. * stdlib/Makefile (tests): Add testmb2. (testmb2-ENV): New. * stdlib/testmb2.c: New test. 2004-02-23 Jakub Jelinek <jakub@redhat.com>
2004-02-23Update.Ulrich Drepper
2004-02-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): If _res has not been inited yet, try to init it before saving old _res.options. * posix/Makefile (xtests): Add bug-ga2. (generated): Add bug-ga2.mtrace and bug-ga2-mem. (xtests): Depend on bug-ga2-mem. ($(objpfx)bug-ga2-mem, bug-ga2-ENV): New. * posix/bug-ga2.c: New test.
2004-02-22Update.Ulrich Drepper
2004-02-22 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Pop register content also in case of an overflow in the parameter. Reported by Momchil Velikov <velco@fadata.bg>.
2004-02-21Update.Ulrich Drepper
2004-02-21 Ulrich Drepper <drepper@redhat.com> * elf/dynamic-link.h (elf_get_dynamic_info): Recognize DF_1_NOW. In ld.so, neither DT_FLAGS nor DT_FLAGS_1 must be used.
2004-02-21(elf_get_dynamic_info): Recognize DF_1_NOW. In ld.so, neither DT_FLAGS nor ↵Ulrich Drepper
DT_FLAGS_1 must be used.
2004-02-21* posix/bug-ga1.c: Include <string.h> for memset prototype.Andreas Jaeger
2004-02-21* elf/dl-load.c (_dl_map_object_from_fd): Fix casts used as lvalue.Andreas Jaeger
* iconv/gconv_simple.c (internal_ucs4le_loop): Remove cast used as lvalue.
2004-02-21(internal_ucs4le_loop): Remove cast used as lvalue.Andreas Jaeger
2004-02-21Update.Ulrich Drepper
2004-02-19 Carlos O'Donell <carlos@baldric.uwo.ca> * sysdeps/generic/framestate.c [__USING_SJLJ_EXCEPTIONS__] (__frame_state_for): Set frame_State_for to abort if the compiler is using sjlj. * sysdeps/generic/unwind-dw2.c: Allow sjlj enabled compilers to build the code by removing __USING_SJLJ_EXCEPTIONS__ wrapper.
2004-02-21Update.Ulrich Drepper
2004-02-20 Alexandre Oliva <aoliva@redhat.com> * resolv/Versions: Remove semicolon from the end of libresolv's GLIBC_2.3.2 version block. * Versions.def (libresolv): Add GLIBC_2.3.2.
2004-02-21Update.Ulrich Drepper
2004-02-20 Ulrich Drepper <drepper@redhat.com> * tst-cancel9.c (cleanup): Don't print to stderr.
2004-02-21Update.Ulrich Drepper
2004-02-19 Carlos O'Donell <carlos@baldric.uwo.ca> * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Fix order of fp status register loads.
2004-02-21Update.Ulrich Drepper
2004-02-20 Thorsten Kukuk <kukuk@suse.de> * nscd/nscd.c (termination_handler): Use _exit instead of exit * nscd/nscd.c (main): Report fork errors.
2004-02-21Update.Ulrich Drepper
2004-02-20 Ulrich Drepper <drepper@redhat.com> * dlfcn/dlsym.c: Get ld.so loading lock before the call into ld.so. * dlfcn/dlvsym.c: Likewise. * elf/dl-addr.c: Get loading lock while using _dl_loaded data. * elf/dl-fini.c: Likewise. Patch by Shunichi Sagawa <s-sagawa@jp.fujitsu.com>.
2004-02-20Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/powerpc/ptlongjmp.c [SHARED]: Code only valid for SHARED case. Correct spelling of __vmx_longjmp.
2004-02-20Update.Ulrich Drepper
2004-02-20 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/pspinlock.c: Move from here. * sysdeps/powerpc/powerpc32/pspinlock.c: To here. * sysdeps/powerpc/powerpc64/pspinlock.c: New file. * sysdeps/powerpc/powerpc64/pt-machine.h: Define __compare_and_swap32 and __compare_and_swap32_with_release_semantics.
2004-02-20Update.Ulrich Drepper
2004-02-19 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc32/bits/atomic.h: Add __make_section_unallocated for .gnu.linkonce.b.__sparc32_atomic_locks section. (__sparc32_atomic_locks): Add __sec_comment at the end of section name.
2004-02-20Update.Ulrich Drepper
2004-02-20 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ulps for the 2003-11-27 atan2 test. * sysdeps/powerpc/fpu/bits/mathinline.h (lrint, lrintf): Protect with #ifndef __powerpc64__. * sysdeps/generic/ldsodefs.h (_dl_argv, _dl_argv_internal): If DL_ARGV_NOT_RELRO defined, don't use attribute_relro. * sysdeps/alpha/dl-machine.h (DL_ARGV_NOT_RELRO): Remove. * sysdeps/ia64/dl-machine.h (DL_ARGV_NOT_RELRO): Remove. * sysdeps/sparc/sparc32/dl-machine.h (DL_ARGV_NOT_RELRO): Remove. * sysdeps/sparc/sparc64/dl-machine.h (DL_ARGV_NOT_RELRO): Remove. * sysdeps/alpha/dl-sysdep.h: New file. * sysdeps/ia64/dl-sysdep.h: New file. * sysdeps/sparc/dl-sysdep.h: New file.
2004-02-20Update.Ulrich Drepper
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ulps for the 2003-11-27 atan2 test.
2004-02-20Update.Ulrich Drepper
2004-02-20 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h (DL_ARGV_NOT_RELRO): Define.
2004-02-20Update.Ulrich Drepper
2004-02-19 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/generic/libc-start.c [LIBC_START_DISABLE_INLINE] (STATIC): Define as static. * sysdeps/powerpc/elf/libc-start.c: Define LIBC_START_DISABLE_INLINE because gcc does not allow inline of functions that call setjmp. 2004-02-19 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc64/Makefile: Use -finline-limit. 2004-02-19 Jakub Jelinek <jakub@redhat.com> * elf/rtld.c (_dl_argv): If DL_ARGV_NOT_RELRO defined, don't use attribute_relro for _dl_argv. * sysdeps/alpha/dl-machine.h (DL_ARGV_NOT_RELRO): Define. * sysdeps/ia64/dl-machine.h (DL_ARGV_NOT_RELRO): Define. * sysdeps/sparc/sparc32/dl-machine.h (DL_ARGV_NOT_RELRO): Define. * sysdeps/sparc/sparc64/dl-machine.h (DL_ARGV_NOT_RELRO): Define. vfork instead of fork.
2004-02-19Update.Ulrich Drepper
* libio/iopopen.c (_IO_new_proc_open): It's not kosher to use cfork instead of fork. * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
2004-02-19Update.Ulrich Drepper
2004-02-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/clock_settime.c (clock_settime): Fix typo which prevented system-dependent handling from being used.
2004-02-19Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S (pthread_barrier_wait): After wakeup, release lock only when the last thread stopped using the barrier object. * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S (pthread_barrier_wait): Likewise. * sysdeps/pthread/pthread_barrier_wait.c (pthread_barrier_wait): Likewise. * Makefile (tests): Add tst-barrier4. * tst-barrier4.c: New file.
2004-02-19Update.Ulrich Drepper
2004-02-18 Carlos O'Donell <carlos@baldric.uwo.ca> * test-skeleton.c (main): If set, use environment variable TIMEOUTFACTOR to scale test TIMEOUT.
2004-02-18Update.Ulrich Drepper
2004-02-18 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S (__pthread_rwlock_unlock): Access WRITER as 32-bit value. * Makefile (tests): Add tst-rwlock13. * tst-rwlock13.c: New test.
2004-02-18Update.Ulrich Drepper
2004-02-18 Ulrich Drepper <drepper@redhat.com> * nscd/nscd_conf.c: Include <stdio_ext.h>.
2004-02-17Update.Ulrich Drepper
* stdlib/test-canon.c (do_test): Test realpath(,NULL) in the loop as well.
2004-02-17Update.Ulrich Drepper
* stdlib/canonicalize.c (__realpath): Remove unnecessary copy operations.
2004-02-17[BZ #18]Ulrich Drepper
Update. * nscd/nscd_conf.c (nscd_parse_file): Little optimization. 2004-02-14 Thorsten Kukuk <kukuk@suse.de> * nscd/dbg_log.c (set_logfile): Only save name of logfile, don't open it. (init_logfile): New function, open logfile if requested. * nscd/dbg_log.h: Adjust protoype for set_logfile, add init_logfile. * nscd/nscd.c (main): Call init_logfile after forking in background. * nscd/nscd_conf.c (nscd_parse_file): Adjust for new set_logfile. 2004-02-16 Ulrich Drepper <drepper@redhat.com> ld.so.preload is not present [BZ #18].
2004-02-17Update.Ulrich Drepper
* elf/rtld.c (dl_main): Don't fail execution if file named in ld.so.preload is not present.
2004-02-16Update.Ulrich Drepper
2004-02-16 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Replace libc with libpthread as "lib" parameter to SHLIB_COMPAT. (__novmx_siglongjmp): Fix typo in function name. (__novmx_longjmp): Fix typo in function name.
2004-02-16Update.Ulrich Drepper
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Undo unintended changes in last patch.
2004-02-16[BZ #6]Ulrich Drepper
Update. * posix/regexec.c (transit_state): Fix typo in commented-out code [BZ #6].
2004-02-16Update.Ulrich Drepper
* posix/Makefile (tests): Add bug-ga1. * posix/bug-ga1.c: New file.
2004-02-16[BZ #24]Ulrich Drepper
Update. partial bytes [BZ #24].
2004-02-16Update.Ulrich Drepper
2004-02-16 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (match_prefix): Correctly match partial bytes.
2004-02-14Update.Ulrich Drepper
* sysdeps/pthread/pthread_cond_wait.c (__pthread_cond_wait): Add a __builtin_expect.
2004-02-14Update.Ulrich Drepper
2004-02-13 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/pt-longjmp.c: Moved to... * sysdeps/pthread/pt-longjmp.c: ...here. New file.
2004-02-14Update.Ulrich Drepper
2004-01-29 Steven Munroe <sjmunroe@us.ibm.com> * Makefile (libpthread-routines): Add pt-cleanup. * pt-longjmp.c: Removed. * pt-cleanup.c: Copied __pthread_cleanup_upto to here. New file. * sysdeps/generic/pt-longjmp.c: Copied longjmp to here. New file. * sysdeps/unix/sysv/linux/powerpc/Versions: New file. Version longjmp, siglongjmp for GLIBC_2.3.4. * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: New File.
2004-02-14Pretty printing.Ulrich Drepper
* attr.c: Include ldsodefs.h. (pthread_getattr_np): Don't declare __libc_stack_end.
2004-02-14Update.Ulrich Drepper
2004-02-13 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc64/__longjmp-common.S: New file. * sysdeps/powerpc/powerpc64/__longjmp.S [NOT_IN_libc](__longjmp): Non-versioned __longjmp for rtld-__longjmp. [!NOT_IN_libc](__vmx__longjmp): Add VMX reg support and define as default version of __longjmp. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novmx__longjmp): Original version of __longjmp. * sysdeps/powerpc/powerpc64/bsd-_setjmp.S [NOT_IN_libc](_setjmp): Non-versioned _setjmp for rtld-_setjmp. [!NOT_IN_libc](__vmx_setjmp): Branch to __vmx__sigsetjmp and define as default version of _setjmp. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novmx_setjmp): Original version of _setjmp. * sysdeps/powerpc/powerpc64/bsd-setjmp.S (__vmxsetjmp): Branch to __vmx__sigsetjmp and define as default version of setjmp. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novmxsetjmp): Original version of setjmp. * sysdeps/powerpc/powerpc64/setjmp-common.S: New file. * sysdeps/powerpc/powerpc64/setjmp.S [NOT_IN_libc](__setjmp): Non-versioned __sigsetjmp for rtld-setjmp. [!NOT_IN_libc](__vmx__sigsetjmp): Add VMX reg support and define as default version of __sigsetjmp. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_3, GLIBC_2_3_4)] (__novmx__sigsetjmp): Original version of __sigsetjmp. * sysdeps/powerpc/powerpc32/__longjmp-common.S: New File * sysdeps/powerpc/powerpc32/__longjmp.S [NOT_IN_libc](__longjmp): Non-versioned __longjmp for rtld-__longjmp. [!NOT_IN_libc](__vmx__longjmp): Add VMX reg support and define as default version of __longjmp. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] (__novmx__longjmp): Original version of __longjmp. * sysdeps/powerpc/powerpc32/bsd-_setjmp.S [NOT_IN_libc](_setjmp): Non-versioned _setjmp for rtld-_setjmp. [!NOT_IN_libc](__vmx_setjmp): Branch to __vmx__sigsetjmp and define as default version of _setjmp. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] (__novmx_setjmp): Original version of _setjmp. * sysdeps/powerpc/powerpc32/bsd-setjmp.S (__vmxsetjmp): Branch to __vmx__sigsetjmp and define as default version of setjmp. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] (__novmxsetjmp): Original version of setjmp. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: New file. * sysdeps/powerpc/powerpc32/fpu/__longjmp.S [NOT_IN_libc](__longjmp): Non-versioned __longjmp for rtld-__longjmp. [!NOT_IN_libc](__vmx__longjmp): Add VMX reg support and define as default version of __longjmp. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] (__novmx__longjmp): Original version of __longjmp. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: New file. * sysdeps/powerpc/powerpc32/fpu/setjmp.S [NOT_IN_libc](__setjmp): Non-versioned __sigsetjmp for rtld-setjmp. [!NOT_IN_libc](__vmx__sigsetjmp): Add VMX reg support and define as default version of __sigsetjmp. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] (__novmx__sigsetjmp): Original version of __sigsetjmp. * sysdeps/powerpc/powerpc32/setjmp-common.S: New file. * sysdeps/powerpc/powerpc32/setjmp.S [NOT_IN_libc](__setjmp): Non-versioned __sigsetjmp for rtld-setjmp. [!NOT_IN_libc](__vmx__sigsetjmp): Add VMX reg support and define as default version of __sigsetjmp. [SHARED && SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3_4)] (__novmx__sigsetjmp): Original version of __sigsetjmp. * sysdeps/powerpc/Dist: New File. * sysdeps/powerpc/Makefile (sysdep_routines): Add novmx-longjmp.c and novmx-sigjmp.c * sysdeps/powerpc/Versions (libc): To GLIBC_2.3_4 add _longjmp, __sigsetjmp, _setjmp, longjmp, and setjmp. To GLIBC_PRIVATE add __novmx__libc_longjmp, __novmx__libc_siglongjmp, __vmx__libc_longjmp, and __vmx__libc_siglongjmp. * sysdeps/powerpc/bits/setjmp.h: Define JB_VRSAVE, JB_VRS, and adjust JB_SIZE to add VMX regs to __jmp_buf. * sysdeps/powerpc/longjmp.c: New file. * sysdeps/powerpc/novmxsetjmp.h: New file. * sysdeps/powerpc/novmx-longjmp.c: New file. * sysdeps/powerpc/novmx-sigjmp.c: New file. * sysdeps/powerpc/sigjmp.c: New file.
2004-02-13Update.Ulrich Drepper
2004-02-13 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c (__lrintf, lrintf): Define. (__lrintl, lrintl): Remove. * sysdeps/powerpc/powerpc64/fpu/s_llrint.c (__lrint): Fix a typo in strong_alias spelling. * sysdeps/powerpc/powerpc64/fpu/s_lrintf.S: Remove. * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: New file.