aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2004-03-07Update.Ulrich Drepper
2004-03-06 Ulrich Drepper <drepper@redhat.com> * elf/dl-lookup.c: We don't need for specialized lookup functions. Combining the functionality does not slow down relocation processing, it might even speed it up a little. * sysdeps/generic/ldsodefs.h: Adjust prototypes for lookup function. Add only one function pointer to rtlf_global_ro. * elf/do-lookup.h: Replace #ifs with ifs. * elf/dl-libc.c: Adjust _dl_lookup_* callers. * elf/dl-reloc.c: Likewise. * elf/dl-runtime.c: Likewise. * elf/dl-sym.c: Likewise. * elf/rtld.c: Likewise. Adjust _rtld_global_ro initialization. * sysdeps/generic/ldsodefs.h (__rtld_local_attribute__, __rtld_global_attribute__): Undef after use. (_rtld_local_ro): Define __rtld_local_attribute__ with just hidden if available. * sysdeps/alpha/Subdirs: New file. * sysdeps/alpha/soft-fp/Makefile: New file. * sysdeps/alpha/soft-fp/Versions: New file. * sysdeps/alpha/soft-fp/local-soft-fp.h: New file. * sysdeps/alpha/soft-fp/ots_add.c: New file. * sysdeps/alpha/soft-fp/ots_cmp.c: new file. * sysdeps/alpha/soft-fp/ots_cmpe.c: New file. * sysdeps/alpha/soft-fp/ots_cvtqux.c: New file. * sysdeps/alpha/soft-fp/ots_cvtqx.c: New file. * sysdeps/alpha/soft-fp/ots_cvttx.c: New file. * sysdeps/alpha/soft-fp/ots_cvtxq.c: New file. * sysdeps/alpha/soft-fp/ots_cvtxt.c: New file. * sysdeps/alpha/soft-fp/ots_div.c: New file. * sysdeps/alpha/soft-fp/ots_mul.c: New file. * sysdeps/alpha/soft-fp/ots_nintxq.c: New file. * sysdeps/alpha/soft-fp/ots_sub.c: New file.
2004-03-06 * soft-fp/quad.h (union _FP_UNION_Q): Add longs structure. * ↵Richard Henderson
sysdeps/alpha/Implies: Add alpha/soft-fp. * sysdeps/alpha/soft-fp/sfp-machine.h: Rewrite for GEM interface. * sysdeps/alpha/Subdirs, sysdeps/alpha/soft-fp/Makefile, sysdeps/alpha/soft-fp/Versions, sysdeps/alpha/soft-fp/local-soft-fp.h, sysdeps/alpha/soft-fp/ots_add.c, sysdeps/alpha/soft-fp/ots_cmp.c, sysdeps/alpha/soft-fp/ots_cmpe.c, sysdeps/alpha/soft-fp/ots_cvtqux.c, sysdeps/alpha/soft-fp/ots_cvtqx.c, sysdeps/alpha/soft-fp/ots_cvttx.c, sysdeps/alpha/soft-fp/ots_cvtxq.c, sysdeps/alpha/soft-fp/ots_cvtxt.c, sysdeps/alpha/soft-fp/ots_div.c, sysdeps/alpha/soft-fp/ots_mul.c, sysdeps/alpha/soft-fp/ots_nintxq.c, sysdeps/alpha/soft-fp/ots_sub.c: New files. 2004-03-06 Richard Henderson <rth@redhat.com> * soft-fp/quad.h (union _FP_UNION_Q): Add longs structure. * sysdeps/alpha/Implies: Add alpha/soft-fp. * sysdeps/alpha/soft-fp/sfp-machine.h: Rewrite for GEM interface. * sysdeps/alpha/Subdirs, sysdeps/alpha/soft-fp/Makefile, sysdeps/alpha/soft-fp/Versions, sysdeps/alpha/soft-fp/local-soft-fp.h, sysdeps/alpha/soft-fp/ots_add.c, sysdeps/alpha/soft-fp/ots_cmp.c, sysdeps/alpha/soft-fp/ots_cmpe.c, sysdeps/alpha/soft-fp/ots_cvtqux.c, sysdeps/alpha/soft-fp/ots_cvtqx.c, sysdeps/alpha/soft-fp/ots_cvttx.c, sysdeps/alpha/soft-fp/ots_cvtxq.c, sysdeps/alpha/soft-fp/ots_cvtxt.c, sysdeps/alpha/soft-fp/ots_div.c, sysdeps/alpha/soft-fp/ots_mul.c, sysdeps/alpha/soft-fp/ots_nintxq.c, sysdeps/alpha/soft-fp/ots_sub.c: New files.
2004-03-06Update.Ulrich Drepper
2004-03-06 Ulrich Drepper <drepper@redhat.com> * elf/dl-open.c: No need to pass any parameter to _dl_start_profile. They are the same in both places. * elf/dl-profile.c: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise. * elf/dl-support.c: Define _dl_profile_output variable. Initialize it.
2004-03-06Update.Ulrich Drepper
* elf/Versions: Remove functions which are not exported anymore. * dlfcn/dlerror.c: Call ld.so functions through GLSO. * dlfcn/dlinfo.c: Likewise. * elf/dl-close.c: Likewise. * elf/dl-libc.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-sym.c: Likewise. * sysdeps/generic/libc-start.c: Likewise. * elf/dl-debug.c: Remove *_internal definition. Don't use INTUSE for functions which are not exported anymore. * elf/dl-deps.c: Likewise. * elf/dl-dst.h: Likewise. * elf/dl-error.c: Likewise. * elf/dl-fini.c: Likewise. * elf/dl-init.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-misc.c: Likewise. * elf/dl-profile.c: Likewise. * elf/dl-profstub.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/dl-runtime.c: Likewise. * elf/dl-version.c: Likewise. * elf/do-lookup.h: Likewise. * include/dlfcn.h: Likewise. * sysdeps/generic/dl-cache.c: Likewise. * sysdeps/generic/dl-fptr.c: Likewise. * sysdeps/generic/dl-origin.c: Likewise. * sysdeps/generic/dl-sysdep.c: Likewise. * sysdeps/generic/dl-tls.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise. * sysdeps/i386/dl-tls.h: Likewise. * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. * elf/rtld.c: Likewise. Export function though _rtld_global_ro. * generic/dl-fptr.c: Likewise. * mach/hurd/dl-sysdep.c: Likewise. * unix/sysv/linux/ia64/dl-static.c: Likewise. * unix/sysv/linux/ia64/getpagesize.c: Likewise. * unix/sysv/linux/m68k/getpagesize.c: Likewise. * unix/sysv/linux/sparc/sparc32/getpagesize.c: Likewise.
2004-03-05Update.Ulrich Drepper
* sysdeps/generic/ldsodefs.h (struct rtld_global): Move dl_debug_fd to rtld_global_ro. * elf/rtld.c: Use GLRO instead of GL for dl_debug_fd. * elf/dl-misc.c: Likewise.
2004-03-05Update.Ulrich Drepper
* sysdeps/sparc/sparc64/dl-machine.h: Likewise. * sysdeps/sparc/sparc32/dl-machine.h: Likewise. * sysdeps/s390/s390-64/dl-machine.h: Likewise. * sysdeps/s390/s390-32/dl-machine.h: Likewise. * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise. * sysdeps/m68k/dl-machine.h: Likewise. * sysdeps/ia64/dl-machine.h: Likewise. * sysdeps/arm/dl-machine.h: Likewise. * sysdeps/alpha/dl-machine.h: Likewise.
2004-03-05Update.Ulrich Drepper
2004-03-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/ldsodefs.h: Define new structure rtld_global_ro. Declare _rtld_global_ro and _rtld_local_ro. Move members of rtld_global structure into the new one if they are modified only at startup time. Define GLRO to access _rtld_global_ro. * elf/Versions: Export _rtld_global_ro. * elf/dl-close.c: Use GLRO instead of GL where appropriate. * elf/dl-conflict.c: Likewise. * elf/dl-deps.c: Likewise. * elf/dl-dst.h: Likewise. * elf/dl-error.c: Likewise. * elf/dl-fini.c: Likewise. * elf/dl-init.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-minimal.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-profile.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/dl-runtime.c: Likewise. * elf/dl-support.c: Likewise. * elf/dl-version.c: Likewise. * elf/do-lookup.h: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/dl-cache.c: Likewise. * sysdeps/generic/dl-origin.c: Likewise. * sysdeps/generic/dl-sysdep.c: Likewise. * sysdeps/generic/libc-start.c: Likewise. * sysdeps/generic/dl-cache.c: Likewise. * sysdeps/i386/dl-machine.h: Likewise. * sysdeps/i386/setfpucw.c: Likewise. * sysdeps/i386/fpu/fclrexcpt.c: Likewise. * sysdeps/i386/fpu/fedisblexcpt.c: Likewise. * sysdeps/i386/fpu/feenablxcpt.c: Likewise. * sysdeps/i386/fpu/feholdexcpt.c: Likewise. * sysdeps/i386/fpu/fesetround.c: Likewise. * sysdeps/i386/fpu/fsetexcptflg.c: Likewise. * sysdeps/i386/fpu/ftestexcept.c: Likewise. * sysdeps/unix/sysv/linux/dl-execstat.c: Likewise. * sysdeps/unix/sysv/linux/dl-librecon.h: Likewise. * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. * sysdeps/unix/sysv/linux/getclktck.c: Likewise. * sysdeps/unix/sysv/linux/getpagesize.c: Likewise. * sysdeps/unix/sysv/linux/init-first.c: Likewise. * sysdeps/unix/sysv/linux/prof-freq.c: Likewise. * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. * sysdeps/x86_64/dl-machine.h: Likewise.
2004-03-05Update.Ulrich Drepper
* sysdeps/generic/ldsodefs.h: Don't define _dl_name_match_p as inline. * elf/dl-misc.c: Define _dl_name_match_p here. * elf/dl-open.c (check_libc_caller): Don't use _dl_name_match_p.
2004-03-04Update.Ulrich Drepper
2004-02-29 Paolo Bonzini <bonzini@gnu.org> * posix/regexec.c (transit_state): Don't handle state == NULL. Move state log and backreference management... (merge_state_with_log): ... to this function. (find_recover_state): New function. (check_matching): Use find_recover_state to get a non-NULL state when an invalid state is reached. Compute the amount of initial characters to be skipped less conservatively when multi-byte character sets are in use. Do not check dfa->nbackref if the state log is NULL. Initialize err. (acquire_init_state_context): Expect err to be initialized. Fix spacing. 2004-03-05 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc32/elf/start.S: Handle PIEs. * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2004-03-04Update.Ulrich Drepper
2004-03-04 Jakub Jelinek <jakub@redhat.com> * iconv/iconv_prog.c (process_block): Handle omit_invalid. If iconv returns EILSEQ with omit_invalid, continue converting and return 1 if no other errors are seen. (main): Set status to EXIT_FAILURE whenever process_* returns nonzero, but only stop processing further files if iy returns negative value.
2004-03-03Update.Ulrich Drepper
2004-03-03 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/x86_64/posix_fadvise.c: New file. * sysdeps/unix/sysv/linux/x86_64/posix_fadvise64.c: New file. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (posix_fadvise64): Remove. * sysdeps/unix/sysv/linux/alpha/posix_fadvise.c: New file. * sysdeps/unix/sysv/linux/alpha/posix_fadvise64.c: New file. * sysdeps/unix/sysv/linux/alpha/syscalls.list (posix_fadvise64): Remove. * sysdeps/unix/sysv/linux/ia64/posix_fadvise.c: New file. * sysdeps/unix/sysv/linux/ia64/posix_fadvise64.c: New file. * sysdeps/unix/sysv/linux/ia64/syscalls.list (posix_fadvise64): Remove. * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise64.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Removed. * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise.c: New file. * sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise64.c: New file. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (posix_fadvise64): Remove. * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise64.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (posix_fadvise64): Remove.
2004-03-02Update.Ulrich Drepper
2004-03-02 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/powerpc/powerpc32/xstat.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/fxstat.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc32/lxstat.c: New file.
2004-03-01Update.Ulrich Drepper
2004-03-01 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/kernel-features.h: Add support for __ASSUME_GETDENTS32_D_TYPE. * sysdeps/unix/sysv/linux/getdents.c: For 2.6.4+ kernels you getdents syscall again since it provides d_type information. * manual/install.texi (Tools for Compilation): Autoconf 2.53 is required.
2004-02-28Update.Ulrich Drepper
2004-02-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/i686/memcmp.S: Move table to .rodata. Patch by HJ Lu.
2004-02-28Update.Ulrich Drepper
* elf/rtld.c (dl_main): Adjust l->l_ld of the vDSO by l->l_addr. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Only set GL(dl_sysinfo) if non-zero.
2004-02-28Update.Ulrich Drepper
2004-02-27 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sysconf.c: Include stdlib.h.
2004-02-26Update.Ulrich Drepper
2004-02-26 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Set retval to -1 on error.
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-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-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-19 Carlos O'Donell <carlos@baldric.uwo.ca> * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Fix order of fp status register loads.
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
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Add ulps for the 2003-11-27 atan2 test.
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
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-16Update.Ulrich Drepper
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Undo unintended changes in last patch.
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
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.
2004-02-13Update.Ulrich Drepper
2004-02-12 Ulrich Drepper <drepper@redhat.com> * posix/getopt.h: Add some non-gcc support. Patch by Aharon Robbins. 2004-02-12 Mark Brown <bmark@us.ibm.com> * sysdeps/ia64/fpu/e_fmodf.S: Added text of Intel license. * sysdeps/powerpc/fpu/s_lrint.c: Move to... * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: ... here. * sysdeps/powerpc/fpu/s_llrint.c: Move to... * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: ... here. * sysdeps/powerpc/fpu/s_llrintf.c: Move to... * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: ... here. * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: New file. * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file. * sysdeps/powerpc/powerpc64/fpu/s_lrintf.S: New file. * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: New file.
2004-02-12Update.Ulrich Drepper
2004-02-12 Jakub Jelinek <jakub@redhat.com> * math/libm-test.inc (lrint_test): Add new test. (llrint_test, lround_test, llround_test): Likewise. * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Fix special case with result taking up 48 bits. * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise. * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Fix special case with result taking up 31 bits.
2004-02-11(__add_to_environ): Don't let the temporary copies of the variables ↵Ulrich Drepper
accumulate on the stack.
2004-02-11* sysdeps/mach/hurd/times.c (__times): Use union instead of cast.Roland McGrath
* sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Likewise.
2004-02-112004-02-10 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/mach/hurd/configure.in: Move `retcode' check to ... * sysdeps/mach/configure.in: ... here. * sysdeps/mach/hurd/configure: Regenerated. * sysdeps/mach/configure.in: Regenerated.
2004-02-10memcmp optimized for i686.Ulrich Drepper
2004-02-092003-12-05 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/i386/syscalls.list: Turn vm86 into vm86old for vm86@GLIBC_2.0 version. Add new vm86@GLIBC_2.3.4. * sysdeps/unix/sysv/linux/i386/Versions (libc: GLIBC_2.3.4): Add vm86. * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Update vm86 prototype.
2004-02-09Only load 4 bytes.Andreas Jaeger
2004-02-09PR 7 Andreas Jaeger
* sysdeps/x86_64/memcpy.S: Fix alignment. Patch by Jan Beulich <jbeulich@novell.com>.
2004-02-09[BZ #10]Ulrich Drepper
Update. 2004-02-09 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Don't touch bits other than the status bits [BZ #10].
2004-02-07Update.Ulrich Drepper
2004-02-06 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc32/dl-machine.c: Declare __cache_line_size as weak extern. (__elf_machine_runtime_setup): Invalidate the instruction cache over the whole range of the PLT.
2004-02-05Update.Ulrich Drepper
2004-02-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Define _HAVE_STAT_NSEC and _HAVE_STAT64_NSEC. Patch by Anton Blanchard.
2004-02-01Update.Ulrich Drepper
* math/libm-test.inc (lround_test): Add new test. (llround_test): Likewise. (lrint_test): Likewise. (llrint_test): Likewise. * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Fix special case with result taking up 20 bits. * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.. * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Fix special case with result taking up 31 bits. * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
2004-01-30Update.Ulrich Drepper
2004-01-30 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_BREAK, FPE_DECOVF, FPE_DECDIV, FPE_DECERR, FPE_INVASC, FPE_INVDEC, SEGV_PSTKOVF): Remove underscore prefix from definition.
2004-01-27Update.Ulrich Drepper
2004-01-26 David Mosberger <davidm@hpl.hp.com> * elf/link.h (struct dl_phdr_info): Fix typo in comment. * elf/rtld.c (dl_main): After incrementing dl_nloaded, also increment dl_load_adds. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Replace GL(dl_load_subs) with equivalent GL(dl_load_adds - GL(dl_nloaded). (dl_iterate_phdr): Likewise. * elf/dl-close.c (_dl_close): Delete increment of GL(dl_load_subs). * elf/dl-support.c: Remove global variable _dl_load_subs. * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove _dl_load_subs member. 2004-01-27 Jakub Jelinek <jakub@redhat.com> * elf/rtld.c (_dl_start_final): Don't set l_relro_* here. (_dl_start): And neither here. (dl_main): Set GL(dl_loaded)->l_relro_* and GL(dl_rtld_map)->l_relro_*.
2004-01-24Update.Ulrich Drepper
2004-01-23 David Mosberger <davidm@hpl.hp.com> * sysdeps/generic/ldsodefs.h (struct rtld_global): Add members _dl_load_adds and _dl_load_subs. * elf/dl-support.c (_dl_load_adds): New variable. (_dl_load_subs): Likewise. * elf/dl-object.c (_dl_new_object): Increment dl_load_adds. * elf/dl-close.c (_dl_close): Increment dl_load_subs. * elf/link.h (struct dl_phdr_info): Add members dlpi_adds and dlpi_subs. * include/link.h: Likewise. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Initialize dlpi_adds and dlpi_subs members. (dl_iterate_phdr): Likewise. * elf/tst-dlmodcount.c: New file. * elf/Makefile (distribute): Mention tst-dlmodcount.c. (tests): If build-shared, mention tst-dlmodcount. ($(objpfx)tst-dlmodcount): If build-shared, build and run tst-dlmodcount.
2004-01-24Update.Ulrich Drepper
2004-01-22 Jakub Jelinek <jakub@redhat.com> * elf/dl-reloc.c (_dl_relocate_object): Move PT_GNU_RELRO protection into... (_dl_protect_relro): New routine. * sysdeps/generic/ldsodefs.h (_dl_protect_relro): New prototype. * elf/rtld.c (_dl_start_final): Copy l_relro_addr and l_relro_size from bootstrap_map. (_dl_main): Don't set GL(_dl_loaded)->l_relro_{addr,size} here. Call _dl_protect_relro for libraries if prelinking.
2004-01-23 * Versions.def (libm): Replace GLIBC_2.3.3 with GLIBC_2.3.4. ↵Richard Henderson
* sysdeps/alpha/fpu/Versions (libm): Likewise. * sysdeps/alpha/fpu/cfloat-compat.h (cfloat_versions): Likewise. * sysdeps/alpha/fpu/s_clog10f.c (clog10f): Likewise. 2004-01-23 Richard Henderson <rth@redhat.com> * Versions.def (libm): Replace GLIBC_2.3.3 with GLIBC_2.3.4. * sysdeps/alpha/fpu/Versions (libm): Likewise. * sysdeps/alpha/fpu/cfloat-compat.h (cfloat_versions): Likewise. * sysdeps/alpha/fpu/s_clog10f.c (clog10f): Likewise.