aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
* malloc/malloc.c: Don't call exported interface in the implementation.
2004-03-05Update.Ulrich Drepper
* include/wctype.h: Add libc_hidden_proto for __towctrans. * wctype/towctrans.c: Add libc_hidden_def. * libio/memstream.c (open_memstream): Use _IO_init with INTUSE. * posix/regexec.c (transit_state): Remove unused variable next_state. * posix/regcomp.c (init_dfa): Use __btowc instead of btowc.
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-05Update.Ulrich Drepper
2004-03-04 Ulrich Drepper <drepper@redhat.com> * elf/dl-open.c (dl_open_worker): Check that _dl_open is called from the right place.
2004-03-04Update.Ulrich Drepper
2004-01-15 Paolo Bonzini <bonzini@gnu.org> * posix/regex.h (REG_STARTEND): Define. * posix/regexec.c (regexec): Check for REG_STARTEND.
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
* nscd/nscd_getgr_r.c (nscd_getgr_r): Add missing initialization of return value. * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
2004-03-01Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/getdents.c: For 2.6.4+ kernels use
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-03-01Update.Ulrich Drepper
2004-03-01 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S (__pthread_cond_timedwait): Optimize wakeup test. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S (__pthread_cond_wait): Likewise. * sysdeps/pthread/pthread_cond_wait.c (__pthread_cond_wait): Likewise. * sysdeps/pthread/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2004-03-01Update.Ulrich Drepper
2004-02-29 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S (__lll_mutex_lock_wait): Optimize a bit more. Just one copy of the atomic instruction needed. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S (__lll_mutex_lock_wait): Likewise.
2004-03-01(__lll_mutex_lock_wait): Optimize a bit more. Just one copy of the atomic ↵Ulrich Drepper
instruction needed.
2004-02-29Update.Andreas Jaeger
2004-02-29 Andreas Jaeger <aj@suse.de> * manual/install.texi (Tools for Compilation): Autoconf 2.53 is required. (Supported Configurations): Add x86_64-*-linux. * INSTALL: Regenerated.
2004-02-29(Tools for Compilation): Autoconf 2.53 is required. (Supported ↵Andreas Jaeger
Configurations): Add x86_64-*-linux.
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-27Update.Ulrich Drepper
2004-02-27 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/createthread.c (create_thread): Remove use of CLONE_STOPPED. We cannot use SIGCONT which means CLONE_STOPPED needs to be implemented differently to be useful.
2004-02-27Update.Ulrich Drepper
* pthread_attr_setschedparam.c: Don't test priority against limits here. Set ATTR_FLAG_SCHED_SET flag. * pthread_attr_setschedpolicy.c: Set ATTR_FLAG_POLICY_SET flag. * pthread_create.c (__pthread_create_2_1): Copy scheduling attributes from parent thread to child. If attribute is used and scheduling parameters are not inherited, copy parameters from attribute or compute them. Check priority value. * pthread_getschedparam.c: If the parameters aren't known yet get them from the kernel. * pthread_setschedparam.c: Set ATTR_FLAG_SCHED_SET and ATTR_FLAG_POLICY_SET flag for thread. * sysdeps/unix/sysv/linux/internaltypes.h: Define ATTR_FLAG_SCHED_SET and ATTR_FLAG_POLICY_SET. * sysdeps/pthread/createthread.c: Use tgkill if possible.
2004-02-27Update.Ulrich Drepper
2004-02-26 Ulrich Drepper <drepper@redhat.com> * nss/getXXbyYY_r.c: Pass result also to the nscd_* function. Don't set *result here. * nscd/nscd_proto.h: Add new argument for pointer to result pointer to all nscd_* functions. * nscd/nscd_getgr_r.c (nscd_getgr_r): Add new parameter. Store result pointer in the address provided by the new parameter if successful. Otherwise store NULL. Return zero if no entry found. (__nscd_getgrnam_r, __nscd_getgrgid_r): Add new parameter and pass it on. * nscd/nscd_gethst_r.c (nscd_gethst_r): Add new parameter. Store result pointer in the address provided by the new parameter if successful. Otherwise store NULL. Return zero if no entry found. (__nscd_gethostbyname_r, __nscd_gethostbyname2_r, __nscd_gethostbyaddr_r): Add new parameter and pass it on. * nscd/nscd_getpw_r.c (nscd_getpw_r): Add new parameter. Store result pointer in the address provided by the new parameter if successful. Otherwise store NULL. Return zero if no entry found. (__nscd_getpwnam_r, __nscd_getpwuid_r): Add new parameter and pass it on.
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
* stdlib/canonicalize.c (__realpath): Simplify.
2004-02-26Update.Ulrich Drepper
2004-02-26 Ulrich Drepper <drepper@redhat.com> * posix/regcomp.c (parse_expression): Avoid duplication in calls to build_charclass_op. * posix/regcomp.c (parse_expression): Add cast to (const unsigned char *) in calls to `build_charclass_op'.
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.