aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2000-12-06Update.Ulrich Drepper
2000-12-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc] (sysdep_routines): Add restf and savef. * sysdeps/unix/sysv/aix/restf.c: New file. * sysdeps/unix/sysv/aix/savef.c: New file. Patches by Michael Keezer <mkeezer@redhat.com>. * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works if O_DIRECTORY is not defined. Patch by Michael Keezer <mkeezer@redhat.com>. * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define. Patch by Michael Keezer <mkeezer@redhat.com>. * locale/programs/linereader.c (get_toplvl_escape): Recognize more than 4 bytes in escape sequence. Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
2000-12-05Update.Andreas Jaeger
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't set mips2.
2000-12-05Update.Andreas Jaeger
* sysdeps/unix/sysv/linux/mips/sysdep.h: New file. * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed. * sysdeps/unix/mips/sysdep.h: Use SYS_ify. Patches by "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>.
2000-12-05Update.Andreas Jaeger
2000-12-05 Andreas Jaeger <aj@suse.de> * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as internal_function. * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise. * sysdeps/generic/dl-cache.c: Remove declaration of _dl_sysdep_read_whole_file. * elf/dl-load.c (_dl_map_object): Remove declaration of _dl_load_cache_lookup. * sysdeps/generic/ldsodefs.h: Add declarations of _dl_load_cache_lookup, _dl_unload_cache, _dl_sysdep_read_whole_file, _dl_sysdep_start and _dl_sysdep_start_cleanup. * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h now. * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes. * sysdeps/generic/dl-environ.c: Likewise. * stdio-common/printf_fp.c: Include <gmp.h> instead of <stdlib/gmp.h>. * math/atest-exp.c: Likewise. * math/atest-exp2.c: Likewise. * math/atest-sincos.c: Likewise. * stdio-common/_itoa.c: Likewise. * stdio-common/_itowa.c: Likewise. * include/gmp.h: New file with internal prototypes. * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from here to... * include/setjmp.h: ...here. * locale/Makefile (routines): Remove codeset_name since it's not needed anywhere. * locale/codeset_name.c: Removed.
2000-12-05Define MAXHOSTNAMELEN.Ulrich Drepper
2000-12-05Update.Andreas Jaeger
2000-12-05 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
2000-12-05Update.Andreas Jaeger
2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't available.
2000-12-05Update.Ulrich Drepper
* sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly. * sysdeps/i386/fpu/e_scalbf.S: Likewise. * sysdeps/i386/fpu/e_scalbl.S: Likewise. * math/w_scalb.c: Don't use matherr except in SVID mode. * math/w_scalbf.c: Likewise. * math/w_scalbl.c: Likewise. * math/test-misc.c: Add test for NaN and scalbl. Reported by Fred J. Tydeman <tydeman@tybor.com>. 2000-12-04 Ulrich Drepper <drepper@redhat.com>
2000-12-05Update.Ulrich Drepper
2000-12-04 Ulrich Drepper <drepper@redhat.com> * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX. * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME. * include/libc-symbols.h (strong_alias): Define special version for HAVE_ASM_GLOBAL_DOT_NAME. (weak_alias): Likewise. * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set. * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login] (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid, getutxline, pututxline, and utmpxname. * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir. * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias. * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias. * sysdeps/unix/sysv/aix/pread.c: Define pread alias. * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias. * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT. * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t. * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments. * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define. Patches by Michael Keezer <mkeezer@redhat.com>.
2000-12-04Update.Ulrich Drepper
2000-12-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and DECIMAL_DIG definitions. * sysdeps/arm/fpu/bits/mathdef.h: Likewise * sysdeps/generic/bits/mathdef.h: Likewise * sysdeps/i386/fpu/bits/mathdef.h: Likewise * sysdeps/ia64/fpu/bits/mathdef.h: Likewise * sysdeps/m68k/fpu/bits/mathdef.h: Likewise * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise * sysdeps/sparc/fpu/bits/mathdef.h: Likewise * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise * math/test-fenv.c (main): Use return instead of exit to avoid warning. * math/atest-exp.c: Mark local functions as static to avoid warnings. * math/atest-exp2.c: Likewise. * math/atest-sincos.c: Likewise.
2000-12-04Update.Ulrich Drepper
* sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value. Reported by Fred J. Tydeman <tydeman@tybor.com>.
2000-12-04Update.Ulrich Drepper
* sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix the handling of denormalized numbers. * math/test-misc.c (main): Test for fpclassify and pseudo denormal numbers on x86. * sysdeps/i386/fpu/fpclassifyl.c: New file.
2000-12-04Update.Ulrich Drepper
* sysdeps/i386/fpu/fpclassify.c: New file.
2000-12-04Update.Ulrich Drepper
* sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the pseudo denormal representation of LDBL_MIN. * configure.in: Correct test for pserver CVS access.
2000-12-03Update.Ulrich Drepper
* sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct test for subnormal. Reported by Fred J. Tydeman <tydeman@tybor.com>.
2000-12-03Update.Ulrich Drepper
2000-12-03 Ulrich Drepper <drepper@redhat.com> * math/test-misc.c (main): Add tests for frexp. Reported by Fred J. Tydeman <tydeman@tybor.com>. * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
2000-12-02Update.Ulrich Drepper
* sysdeps/i386/fpu/s_frexp.S: Add missing fwait. * sysdeps/i386/fpu/s_frexpf.S: Likewise. * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2000-12-02Update.Ulrich Drepper
2000-12-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/glob.c: Adjust types of several variables to avoid warnings.
2000-12-02Remove incorrect comment.Ulrich Drepper
2000-12-01Regenerated: autoconf configure.inUlrich Drepper
2000-11-302000-11-30 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit rather than _hurd_fd_subinit, so it happens after it's safe to use libc facilities like malloc.
2000-11-30Update.Andreas Jaeger
2000-11-28 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64 declaration, adjust declaration of __syscall_getdents to match kernel.
2000-11-30Update.Andreas Jaeger
2000-11-29 H.J. Lu <hjl@gnu.org> * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
2000-11-29Remove unused variable.Andreas Jaeger
2000-11-28Update.Ulrich Drepper
2000-11-22 Paul Eggert <eggert@twinsun.com> * time/strftime.c (my_strftime): Do not invoke mbrlen with a size of (size_t) -1; it's not portable.
2000-11-28Update.Ulrich Drepper
2000-11-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the crappy i486 FPU. Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
2000-11-28Update.Ulrich Drepper
2000-11-14 Jes Sorensen <jes@linuxcare.com> * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal. * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as _mcount is required by profiled binaries. * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to... * sysdeps/ia64/machine-gmon.h: ...here.
2000-11-28Synch with generic Linux version.Andreas Jaeger
2000-11-28Fix last patch.Ulrich Drepper
2000-11-28(struct cmsghdr): Use __flexarr.Andreas Jaeger
2000-11-28Update.Ulrich Drepper
* misc/getusershell.c: Make strings in okshells array const. * misc/regexp.c: Add const to cast to avoid warnings. * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek. * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for __setresuid. * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for setresgid. * misc/error.c: Add prototypes for __error and __error_at_line. * misc/mntent_r.c (__getmntent_r): Add break at end of switch statement to avoid warning.
2000-11-27Update.Ulrich Drepper
* sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid the problems introduced when the user selects -O3.
2000-11-27Update.Andreas Jaeger
2000-11-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl> * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and in a single asm as they may be used to access other stored registers. * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2000-11-26Update.Ulrich Drepper
* sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
2000-11-26Update.Ulrich Drepper
2000-11-26 Ulrich Drepper <drepper@redhat.com> * inet/getnameinfo.c: Adjust casts to avoid warnings. * inet/rcmd.c: Likewise. * inet/ruserpass.c: Likewise. * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL, IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL, IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL, IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL, IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast. * include/aliases.h: Add prototypes for internal __getalias* functions. * include/netdb.h: Add prototypes for __old_gethostent_r, __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r, __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r, __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r, __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r. * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r, __old_getrpcbynumber_r, __old_getrpcent_r. * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r, __getrpcent_r prototypes.
2000-11-26Update.Ulrich Drepper
* sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth parameter of asm must be in %ecx.
2000-11-23Ifdef out handling for relocs which never occur during bootstrap.Ulrich Drepper
2000-11-23Fix typo in last patch.Andreas Jaeger
2000-11-23Update.Ulrich Drepper
2000-11-18 Martin Buchholz <martin@xemacs.org> * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if (called++) return;' 2000-11-21 Alan Modra <alan@linuxcare.com.au> * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp. * csu/abi-note.S: Correct comment for operating system number. * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
2000-11-23Update.Ulrich Drepper
* Versions.def: Add GLIBC_2.2.1 for glibc. 2000-11-22 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root. * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1. 2000-11-22 Ulrich Drepper <drepper@redhat.com>
2000-11-23Update.Andreas Jaeger
2000-11-23 Andreas Jaeger <aj@suse.de> * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
2000-11-22Update.Andreas Jaeger
2000-11-22 Andreas Jaeger <aj@suse.de> * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
2000-11-21* sysdeps/alpha/setjmp.S: Remove __setjmp entry point. * ↵Andreas Schwab
sysdeps/arm/setjmp.S: Likewise. * sysdeps/arm/fpu/setjmp.S: Likewise. * sysdeps/i386/setjmp.S: Likewise. * sysdeps/i386/elf/setjmp.S: Likewise. * sysdeps/s390/setjmp.S: Likewise. * sysdeps/s390/elf/setjmp.S: Likewise. * sysdeps/sh/sh3/setjmp.S: Likewise. * sysdeps/sh/sh4/setjmp.S: Likewise. * sysdeps/sparc/sparc32/setjmp.S: Likewise. * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise. * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
2000-11-21Update.Andreas Jaeger
NORETURN, fix parameter list.
2000-11-21Update.Andreas Jaeger
* sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete NORETURN.
2000-11-20Update.Ulrich Drepper
2000-11-20 Jakub Jelinek <jakub@redhat.com> * iconvdata/bug-iconv2.c (main): Use %zd in format string. * io/test-lfs.c (do_test): Cast statbuf.st_size to long long. * malloc/tst-valloc.c (main): Cast valloc return value to long. * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string. * math/test-fpucw.c (main): Use %lx in format string, cast control words to long. * stdio-common/tst-fmemopen.c (main): Use %td in format strings. * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so large that it is unsigned warning. * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing it to long on sparc64. 2000-11-20 Andreas Jaeger <aj@suse.de> * nscd/nscd.h (termination_handler): Add noreturn attribute. (receiv_print_stats): Likewise. * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
2000-11-20Update.Ulrich Drepper
2000-11-20 Ulrich Drepper <drepper@redhat.com> * csu/gmon-start.c: Always have prototype for __gmon_start. * csu/version.c: Add prototypes for __libc_print_version and __libc_main. * iconv/gconv.c: Include gconv_int.h and gconv.h. * iconv/gconv.h (struct __gconv_step): Remove const from __from_name and __to_name. * iconv/gconv_builtin.h: Add ASCII module definitions. * iconv/gconv_conf.c (__gconv_path_elem): Remove const. (add_module): Add cast to avoid warning. Rework construction of strings for new module. * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const. (derivation_compare): Likewise. * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep. (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk. * iconv/gconv_int.h (__gconv_path_elem): Remove const. (struct gconv_alias): Remove const from fromname and toname. * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes for loop functions. (internal_ucs4_loop): Use correct const-ness. (ucs4_internal_loop): Likewise. (internal_ucs4le_loop): Likewise. (ucs4le_internal_loop_single): Likewise. * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl, to_idx, to_tbl, winbuf, winbufend const. Change casts in assignments appropriately. (struct known_trans): Remove const from fname. (trans_compare): Make s1 and s2 const. * iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to avoid warning. * iconv/skeleton.c: Remove cast in calls of loop functions. * iconvdata/gconv-modules: Remove US-ASCII definitions. * iconvdata/iso646.c: Remove US_ASCII support. * include/set-hooks.h (DEFINE_HOOK): Also generate prototype. * include/unistd.h: Add __libc_check_standard_fds prototype. * string/bits/string2.h (__mempcpy_args): Add const to casts. * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and _fini. * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main. * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts. * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid warning. * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for __libc_init_first and _dl_start. * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
2000-11-20Update.Andreas Jaeger
2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp> * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments. * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand time_t to 'long int' not, 'unsigned int'. Use 'long int' for __unused? members. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same value defined in /usr/include/asm-mips/fcntl.h.
2000-11-20Fix commentsAndreas Jaeger
2000-11-18Update.Ulrich Drepper
2000-11-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN if IPv4 and IPv6 requests timed out.