about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2002-09-158-31/+171
| | | | | | | | | | | | | | | 2002-09-14 Ulrich Drepper <drepper@redhat.com> * include/unistd.h: Declare __exit_thread. * sysdeps/generic/libc-start.c: Remove dummy_addr. Wrap call to main in setjmp if HAVE_CANCELBUF is defined. * sysdeps/unix/sysv/linux/exit-thread.S: New file. * sysdeps/unix/sysv/linux/_exit.c: New file. * sysdeps/unix/sysv/linux/i386/_exit.S: New file. * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (sysdep_routines): Add exit-thread. * configure.in: Add dl_iterate_phdr to test using -nostdlib.
* Define dl_iterate_phdr to test which uses -nostdlib.Ulrich Drepper2002-09-151-0/+1
|
* * sysdeps/i386/dl-machine.h (elf_machine_rel)Roland McGrath2002-09-143-5/+51
| | | | | | (case R_386_TLS_DTPMOD32): Don't use addend. [case R_386_TLS_TPOFF32]: Remove redundant SYM_MAP != NULL check. (elf_machine_rela): Add support for TLS relocs.
* * Makefile (manual/%): Add this pattern target to the iconvdata/% rule.Roland McGrath2002-09-142-1/+5
|
* * stdlib/longlong.h [_ARCH_PPC && W_TYPE_SIZE!=32]: Add powerpc64Roland McGrath2002-09-142-1/+103
| | | | specific asm macros for multiple percision integer math.
* * sysdeps/generic/ldconfig.h (FLAG_POWERPC_LIB64) New macro.Roland McGrath2002-09-146-8/+128
| | | | | | | | * elf/cache.c (print_entry): Add case for FLAG_POWERPC_LIB64. Remove per-machine conditionals for FLAG_* cases. * sysdeps/unix/sysv/linux/powerpc/ldconfig.h: New file. * sysdeps/unix/sysv/linux/powerpc/readelflib.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/dl-cache.h: New file.
* 2002-09-10 Alan Modra <amodra@bigpond.net.au>Roland McGrath2002-09-144-1/+180
| | | | | | | | * csu/gmon-start.c [!TEXT_START]: Define TEXT_START if not already defined in entry.h. (__gmon_start__) [!ENTRY_POINT_DECL]: Use TEXT_START macro to obtain lowest address for profiling in __monstartup call. * sysdeps/powerpc/powerpc64/elf/entry.h: New file.
* * sysdeps/unix/sysv/linux/pread.c: __NR_pread64 may be definedRoland McGrath2002-09-145-0/+37
| | | | | | | | instead of __NR_pread. * sysdeps/unix/sysv/linux/pread64.c: Likewise. * sysdeps/unix/sysv/linux/pwrite.c: __NR_pwrite64 may be defined instead of __NR_pwrite. * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* * manual/libc.texinfo: @ifinfo -> @ifnottex around copyright notice.Roland McGrath2002-09-131-0/+4
|
* 2002-09-13 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-131-2/+2
| | | | * manual/libc.texinfo: @ifinfo -> @ifnottex around copyright notice.
* Update.Andreas Jaeger2002-09-131-0/+5
| | | | | | | 2002-09-13 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/syscalls.list: Add readahead syscall. Patch by Guido Guenther <agx@sigxcpu.org>.
* Add readahead syscall.Andreas Jaeger2002-09-131-0/+1
|
* Update.Ulrich Drepper2002-09-121-0/+9
| | | | | | | | | | | 2002-09-12 Ulrich Drepper <drepper@redhat.com> * elf/elf.h: Correct DT_LOOS and DT_HIOS values. 2002-09-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/powerpc/fpu/s_isnan.c: #undef __isnanf and isnanf after reading the headers.
* Correct DT_LOOS and DT_HIOS values.Ulrich Drepper2002-09-121-2/+2
|
* * elf/rtld.c (_dl_start_final): Move _begin, _end decls outside the fn.Roland McGrath2002-09-122-4/+19
| | | | | (_dl_start) [DONT_USE_BOOTSTRAP_MAP]: Use &_begin instead of l_addr to find the ELF header.
* * elf/rtld.c (dl_main) [USE_TLS]: Adjust l_tls_initimage of mainRoland McGrath2002-09-122-0/+12
| | | | executable if needed, in case it's actually a shared object.
* * elf/dl-load.c (_dl_map_object_from_fd): Use l_addr instead ofRoland McGrath2002-09-123-3/+4
| | | | l_map_start to adjust l_tls_initimage.
* * nss/getnssent_r.c (__nss_getent_r): Use EAGAIN instead of errnoRoland McGrath2002-09-124-2/+35
| | | | | | | | | when using h_errno and it's not set to NETDB_INTERNAL. * nss/getXXbyYY_r.c [NEED_H_ERRNO]: Likewise. * Makefile ($(common-objpfx)testrun.sh): New target. (others): Depend on it. (postclean-generated): Append it.
* * nss/bug-erange.c: New file.Roland McGrath2002-09-123-1/+48
| | | | * nss/Makefile (tests): Add it.
* * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Return errnoRoland McGrath2002-09-122-1/+4
| | | | instead of always EAGAIN when status is NSS_STATUS_TRYAGAIN.
* * sysdeps/generic/dl-environ.c (unsetenv): Redo last fix withoutRoland McGrath2002-09-112-13/+23
| | | | strncmp, keeps the code smaller for a non-performance-critical case.
* * sysdeps/generic/dl-environ.c (unsetenv): Rewritten using strncmp,Roland McGrath2002-09-114-47/+82
| | | | | | | | | | | | | | no longer wrongly matches arbitrary prefixes of NAME. Reported by Jakub Jelinek <jakub@redhat.com>. 2002-09-11 Jakub Jelinek <jakub@redhat.com> * posix/bug-regex11.c (tests): New array. (main): Rewritten to run more different tests. * nscd/Makefile (CPPFLAGS-nscd, CPPFLAGS-nscd_conf, CPPFLAGS-dbg_log) (CPPFLAGS-connections, CPPFLAGS-hstcache): Variables removed. Instead, catch all of $(nscd-modules) via cppflags-iterator.mk.
* * sysdeps/powerpc/fpu/s_isnan.c: Do macro hackery on __GI___isnanf asRoland McGrath2002-09-102-0/+13
| | | | | well so we don't get it declared by include/math.h's hidden_proto. Then do hidden_proto for __isnanf locally so hidden_def works right.
* * posix/bug-regex5.c (main): Use `union locale_data_value' rather thanRoland McGrath2002-09-101-0/+5
| | | | a cast to turn nl_langinfo return value into an integer.
* 2002-09-10 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-101-1/+3
| | | | | * posix/bug-regex5.c (main): Use `union locale_data_value' rather than a cast to turn nl_langinfo return value into an integer.
* #undef __isnanf and isnanf after reading the headers.Ulrich Drepper2002-09-101-0/+3
|
* Update.Ulrich Drepper2002-09-106-47/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-10 Isamu Hasegawa <isamu@yamato.ibm.com> * posix/regexec.c (build_trtable): Fix the destination of newline to prevent wrong states from overwriting. Append break statements to optimization. 2002-09-10 Isamu Hasegawa <isamu@yamato.ibm.com> * posix/regcomp.c: Wrap #include wchar.h and wctype.h in #if. (build_range_exp): Add castings to strlen invocations. (build_collating_symbol): Restore the type of characters from "char" to "unsigned char", and supplement castings. (build_collating_symbol): Likewise. (build_equiv_class): Likewise. (build_charclass): Likewise. (seek_collating_symbol_entry): Likewise. (parse_bracket_exp): Likewise. (build_word_op): Supplement a casting. * posix/regex_internal.c: Wrap #include wchar.h and wctype.h in #if. (re_string_allocate): Fix castings. (re_string_construct): Likewise. (re_string_construct_common): Likewise. (re_string_realloc_buffers): Likewise. (build_wcs_buffer): Likewise. (build_wcs_upper_buffer): Likewise. (re_string_skip_chars): Likewise. (re_string_reconstruct): Likewise. * posix/regex_internal.h: Restore the type of characters in re_string_t and bracket_elem_t from "char" to "unsigned char". (re_string_elem_size_at): Fix castings. * posix/regexec.c: Wrap #include wchar.h and wctype.h in #if. (transit_state_bkref_loop): Restore the type of characters from "char" to "unsigned char", and append a cast to "char*" pointer in array subscript. (check_node_accept_bytes): Likewise. (find_collation_sequence_value): Likewise.
* Wrap #include wchar.h and wctype.h in #if. (build_range_exp): Add castings ↵Ulrich Drepper2002-09-101-43/+53
| | | | to strlen invocations. (build_collating_symbol): Restore the type of characters from "char" to "unsigned char", and supplement castings. (build_collating_symbol): Likewise. (build_equiv_class): Likewise. (build_charclass): Likewise. (seek_collating_symbol_entry): Likewise. (parse_bracket_exp): Likewise. (build_word_op): Supplement a casting.
* UpdateAndreas Jaeger2002-09-107-57/+33
| | | | | | | | | | | | | | | | | | | 2002-09-10 Hartvig Ekner <hartvige@mips.com> * sysdeps/mips/memcpy.S: New file. * sysdeps/mips/memset.S: New file. * sysdeps/mips/fpu/e_sqrt.c: New file. * sysdeps/mips/fpu/e_sqrtf.c: New file. * fpu/fclrexcpt.c: Cleaned up the FPU exception stuff - was not functional before. Also removed all SHLIB_COMPAT stuff. * fpu/fegetenv.c: Likewise. * fpu/fesetenv.c:: Likewise. * fpu/feupdateenv.c: Likewise. * fpu/fgetexcptflg.c: Likewise. * fpu/fraiseexcpt.c: Likewise. * sysdeps/mips/fpu/fsetexcptflg.c: New file.
* MIPS specific optimizations.Andreas Jaeger2002-09-105-0/+333
|
* Update.Ulrich Drepper2002-09-1075-146/+280
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-09-09 Jakub Jelinek <jakub@redhat.com> * include/math.h (__finite_internal, __finitef_internal, __finitel_internal, __isinf_internal, __isnan_internal): Remove. (isfinite): Remove. (__finite, __isinf, __isnan, __finitef, __isinff, __isnanf, __finitel, __isinfl, __isnanl): Add hidden_proto. (__fpclassify, __fpclassifyf, __fpclassifyl, __expm1l): Add libm_hidden_proto. * math/Makefile (libm-calls): Add s_isinf and s_isnan. * stdio-common/printf_fp.c (__printf_fp): Remove INTUSE from __is{inf,nan} calls. * stdio-common/printf_size.c (printf_size): Likewise. * sysdeps/generic/printf_fphex.c (__printf_fphex): Likewise. * sysdeps/generic/s_ldexp.c (__ldexp): Likewise. * sysdeps/generic/s_ldexpf.c (__ldexpf): Likewise. * sysdeps/generic/s_ldexpl.c (__ldexpl): Likewise. * sysdeps/generic/s_expm1l.c (__expm1l): Add libm_hidden_def. * sysdeps/i386/fpu/s_finite.S (__finite_internal): Remove alias. (__finite): Add hidden_def. * sysdeps/i386/fpu/s_finitef.S (__finitef_internal): Remove alias. (__finitef): Add hidden_def. * sysdeps/i386/fpu/s_finitel.S (__finitel_internal): Remove alias. (__finitel): Add hidden_def. * sysdeps/i386/fpu/s_isinfl.c (__isinfl): Remove INTDEF. Add hidden_def. * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise. * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Add libm_hidden_def. * sysdeps/i386/fpu/s_expm1l.S (__expm1l): Likewise. * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Remove INTDEF. Add hidden_def. * sysdeps/ieee754/dbl-64/s_isinf.c (__isinf): Likewise. (__isinfl): Remove INTDEF. * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Remove INTDEF. Add hidden_def. (__isnanl): Remove INTDEF. * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Add libm_hidden_def. * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Use __sin and __cos instead of sin and cos. * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Remove INTDEF. Add hidden_def. * sysdeps/ieee754/flt-32/s_isinff.c (__isinff): Likewise. * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise. * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Add libm_hidden_def. * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Remove INTDEF. Add hidden_def. * sysdeps/ieee754/ldbl-128/s_isinfl.c (__isinfl): Likewise. * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise. * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl): Add libm_hidden_def. * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add libm_hidden_def. * sysdeps/ieee754/ldbl-96/s_finitel.c (__finitel): Remove INTDEF. Add hidden_def. * sysdeps/ieee754/ldbl-96/s_isinfl.c (__isinfl): Likewise. * sysdeps/ieee754/ldbl-96/s_isnanl.c (__isnanl): Likewise. * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c (__fpclassifyl): Add libm_hidden_def. * sysdeps/ia64/fpu/s_finite.S (__finite_internal, __finitef_internal, __finitel_internal): Remove aliases. (__finite, __finitef, __finitel): Add hidden_def. * sysdeps/ia64/fpu/s_isnan.S (__isnan_internal, __isnanf_internal, __isnanl_internal): Remove aliases. (__isnan, __isnanf, __isnanl): Add hidden_def. * sysdeps/ia64/fpu/s_isinf.S (__isinf_internal, __isinff_internal, __isinfl_internal): Remove aliases. (__isinf, __isinff, __isinfl): Add hidden_def. * sysdeps/ia64/fpu/s_fpclassify.S (__fpclassify, __fpclassifyf, __fpclassifyl): Add libm_hidden_def. * sysdeps/ia64/fpu/s_expm1l.S (__expm1l): Likewise. * sysdeps/m68k/s_isinfl.c (__isinfl): Remove INTDEF. Add hidden_def. * sysdeps/m68k/fpu/s_isinf.c (INTDEFX): Remove. (hidden_defx): Define and use. * sysdeps/m68k/fpu/s_fpclassifyl.c (__fpclassifyl): Add libm_hidden_def. * sysdeps/m68k/fpu/s_expm1l.c (__expm1l): Likewise. * sysdeps/m68k/s_isnanl.c (__isnanl): Add hidden_def. * sysdeps/powerpc/fpu/s_isnan.c (__isnan, __isnanf, __isnanl): Remove INTDEF. (__isnan, __isnanf): Add hidden_def. * sysdeps/x86_64/fpu/s_finitel.S (__finitel_internal): Remove alias. (__finitel): Add libm_hidden_def. * sysdeps/x86_64/fpu/s_expm1l.S (__expm1l): Likewise. * include/fenv.h (feraiseexcept, fesetenv): Add libm_hidden_proto. * sysdeps/alpha/fpu/fesetenv.c (fesetenv): Add libm_hidden_ver. * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Likewise. * sysdeps/arm/fpu/fesetenv.c (fesetenv): Likewise. * sysdeps/arm/fpu/fraiseexcpt.c (feraiseexcept): Likewise. * sysdeps/generic/fesetenv.c (fesetenv): Likewise. * sysdeps/generic/fraiseexcpt.c (feraiseexcept): Likewise. * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise. * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Likewise. * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise. * sysdeps/m68k/fpu/fraiseexcpt.c (feraiseexcept): Likewise. * sysdeps/mips/fpu/fesetenv.c (fesetenv): Likewise. * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Likewise. * sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Likewise. * sysdeps/powerpc/fpu/fraiseexcpt.c (feraiseexcept): Likewise. * sysdeps/sparc/fpu/fesetenv.c (fesetenv): Likewise. * sysdeps/sparc/fpu/fraiseexcpt.c (feraiseexcept): Likewise. * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Add libm_hidden_def. * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise. * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Likewise. * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Likewise. * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise. * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise. * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise. * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Likewise. * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Likewise. * sysdeps/x86_64/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* Update.Ulrich Drepper2002-09-103-1/+86
| | | | | | | | | | | 2002-09-09 Steven Munroe <sjmunroe@us.ibm.com> * elf/elf.h: Add powerpc64 specific elf relocation and dynamic types. 2002-09-09 Jakub Jelinek <jakub@redhat.com> * elf/dl-error.c (_dl_signal_cerror): Don't print anything if only LD_DEBUG=statistics or LD_TRACE_PRELINKING.
* Update.Ulrich Drepper2002-09-101-0/+5
| | | | | | | 2002-09-09 Ulrich Drepper <drepper@redhat.com> * string/stratcliff.c: Some more strncpy tests. Patch by Daniel Jacobowitz <drow@mvista.com>.
* Some more strncpy checks.Ulrich Drepper2002-09-101-2/+30
|
* * resolv/resolv.h: Include <sys/types.h> for u_long even inRoland McGrath2002-09-086-41/+70
| | | | | the [__need_res_state] case. Reported by Bruno Haible <bruno@clisp.org>.
* * sysdeps/generic/bits/ustat.h: Comment fix.Roland McGrath2002-09-063-1/+17
| | | | | | | | * io/sys/sendfile.h: Comment fix. * sysdeps/posix/pread.c: Comment fix. * sysdeps/posix/pread64.c: Comment fix. * sysdeps/posix/pwrite.c: Comment fix. * sysdeps/posix/pwrite64.c: Comment fix.
* 2002-09-04 Bruno Haible <bruno@clisp.org>Roland McGrath2002-09-067-9/+20
| | | | | | | | | * sysdeps/generic/bits/ustat.h: Comment fix. * io/sys/sendfile.h: Comment fix. * sysdeps/posix/pread.c: Comment fix. * sysdeps/posix/pread64.c: Comment fix. * sysdeps/posix/pwrite.c: Comment fix. * sysdeps/posix/pwrite64.c: Comment fix.
* Update.Ulrich Drepper2002-09-061-0/+3
| | | | | * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Correct test for filesystem type name of mount points.
* (where_is_shmfs): Correct test for filesystem type name of mount points.Ulrich Drepper2002-09-061-3/+3
|
* * posix/sys/utsname.h (_UTSNAME_SYSNAME_LENGTH): New macro, definedRoland McGrath2002-09-061-0/+8
| | | | | | | to _UTSNAME_LENGTH if not already defined by <bits/utsname.h>. (_UTSNAME_RELEASE_LENGTH, _UTSNAME_VERSION_LENGTH): Likewise. (_UTSNAME_MACHINE_LENGTH): Likewise. (struct utsname): Use new macros instead of _UTSNAME_LENGTH.
* 2002-09-06 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-061-5/+18
| | | | | | | | * posix/sys/utsname.h (_UTSNAME_SYSNAME_LENGTH): New macro, defined to _UTSNAME_LENGTH if not already defined by <bits/utsname.h>. (_UTSNAME_RELEASE_LENGTH, _UTSNAME_VERSION_LENGTH): Likewise. (_UTSNAME_MACHINE_LENGTH): Likewise. (struct utsname): Use new macros instead of _UTSNAME_LENGTH.
* Update.Ulrich Drepper2002-09-062-1/+4
| | | | | * include/errno.h: Use errno definition with __thread for now only in libc and ld.so.
* Update.Ulrich Drepper2002-09-061-3/+8
| | | | | | | | | | | 2002-09-06 Ulrich Drepper <drepper@redhat.com> * test-skeleton.c (main): Improve error message for unexpected signal case. * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Unlock and return in case of failure. * elf/readlib.c (process_file): Conditionalize check for QMAGIC.
* (main): Improve error message for unexpected signal case.Ulrich Drepper2002-09-061-2/+11
|
* * ctype/ctype-info.c: Renamed __ctype_old_* symbols to __ctype_*.Roland McGrath2002-09-054-34/+41
| | | | * locale/lc-ctype.c (_nl_postload_ctype): Likewise.
* 2002-09-05 Jakub Jelinek <jakub@redhat.com>Roland McGrath2002-09-052-0/+7
| | | | | * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Unlock and return in case of failure.
* * sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): DeclutterRoland McGrath2002-09-053-4/+18
| | | | | | syntax. * elf/readlib.c (process_file): Conditionalize check for QMAGIC.
* 2002-09-04 Bruno Haible <bruno@clisp.org>Roland McGrath2002-09-059-51/+95
| | | | | | | | | | | | | | | | | | * elf/readlib.c (process_file): Conditionalize check for QMAGIC. * sysdeps/unix/sysv/linux/sigset-cvt-mask.h (sigset_set_old_mask, sigset_get_old_mask): Turn into inline functions. * sysdeps/unix/sysv/aix/sigset-cvt-mask.h (sigset_set_old_mask, sigset_get_old_mask): Likewise. * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h (sigset_set_old_mask, sigset_get_old_mask): Likewise. * sysdeps/generic/_strerror.c (_sys_errlist, _sys_nerr): Remove default definitions. (__strerror_r): Use _sys_errlist_internal instead of _sys_errlist, _sys_nerr_internal instead of _sys_nerr. * nscd/connections.c (handle_request): Declare CALLER inside #if.
* 2002-09-04 Bruno Haible <bruno@clisp.org>Roland McGrath2002-09-051-8/+3
| | | | | | | * sysdeps/generic/_strerror.c (_sys_errlist, _sys_nerr): Remove default definitions. (__strerror_r): Use _sys_errlist_internal instead of _sys_errlist, _sys_nerr_internal instead of _sys_nerr.
* Regenerated: autoconf sysdeps/unix/sysv/linux/configure.inUlrich Drepper2002-09-052-135/+145
|