aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2001-01-11Update.Ulrich Drepper
2001-01-10 H.J. Lu <hjl@gnu.org> * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries. * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add dl-static. * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init. * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined. * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file. * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file. * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
2001-01-10Update.Ulrich Drepper
* sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve r9, r10 and r11 for language specific registers. 2001-01-10 Jakub Jelinek <jakub@redhat.com> * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the UDP socket. (clntudp_call): Handle MSG_ERRQUEUE. * sysdeps/generic/errqueue.h: New file. * sysdeps/unix/sysv/linux/errqueue.h: New file. 2001-01-10 H.J. Lu <hjl@gnu.org>
2001-01-10Update.Ulrich Drepper
2001-01-10 H.J. Lu <hjl@gnu.org> * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
2001-01-10Update.Ulrich Drepper
* sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols): Minimal cleanups. Add assert to ensure memory handling is correct.
2001-01-09Update.Ulrich Drepper
* include/stdlib.h: Add __posix_openpt declaration. * stdlib/stdlib.h: Add posix_openpt declaration. * login/Versions: Add posix_openpt for GLIBC_2.2.1. * sysdeps/generic/getpt.c: Define posix_openpt. * sysdeps/unix/bsd/getpt.c: Likewise. * sysdeps/unix/sysv/linux/getpt.c: Likewise.
2001-01-08Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize): Remove getpagesize syscall. We assume that the pagesize is always determined from the auxiliary vector.
2001-01-08Update.Ulrich Drepper
* sysdeps/generic/segfault.c (install_handler): Check output file name with access().
2001-01-08Update.Ulrich Drepper
* resolv/res_query.c: Use simply getenv() for HOSTALIASES. * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
2001-01-08Update.Ulrich Drepper
* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
2001-01-07Update.Ulrich Drepper
* sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last patch. We must use unsigned int for l member of union.
2001-01-07Update.Ulrich Drepper
* sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call _dl_aux_init for shared libraries.
2001-01-07Update.Ulrich Drepper
2001-01-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/glob64.c: Moved to ... * sysdeps/gnu/glob64.c: ...here. New file.
2001-01-07Update.Ulrich Drepper
* sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S. * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S. * dlfcn/Makefile (distribute): Add errmsg1mod.c. * Makefile (distribute): Add include/libc-internal.h. * libio/Makefile (distribute): Avoid overwriting.
2001-01-07Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
2001-01-07Update.Ulrich Drepper
2001-01-05 H.J. Lu <hjl@gnu.org> * elf/dl-support.c (non_dynamic_init): Move the auxiliary vector checking to ... (_dl_aux_init): Here. New function. Defined only if HAVE_AUX_VECTOR is defined. * sysdeps/generic/libc-start.c (__libc_start_main): Call _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined. * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call _dl_aux_init. * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed. (HAVE_AUX_VECTOR): Defined. (_dl_aux_init): Declared.
2001-01-07* sysdeps/mach/hurd/readdir64.c: New file. * ↵Mark Kettenis
sysdeps/mach/hurd/readdir64_r.c: New file. 2001-01-06 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/readdir64.c: New file. * sysdeps/mach/hurd/readdir64_r.c: New file.
2001-01-07* sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about `struct statfs' ↵Mark Kettenis
and `struct statvfs' being identical. * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise. 2001-01-07 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about `struct statfs' and `struct statvfs' being identical. * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
2001-01-07* sysdeps/mach/hurd/fstatfs64.c: New file. * sysdeps/mach/hurd/fstatvfs64.c: ↵Mark Kettenis
New file. * sysdeps/mach/hurd/statfs64.c: New file. * sysdeps/mach/hurd/statvfs64.c: New file. * sysdeps/mach/hurd/statfsconv.c: New file. * sysdeps/mach/hurd/Dist: Add statfsconv.c. 2001-01-06 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/fstatfs64.c: New file. * sysdeps/mach/hurd/fstatvfs64.c: New file. * sysdeps/mach/hurd/statfs64.c: New file. * sysdeps/mach/hurd/statvfs64.c: New file. * sysdeps/mach/hurd/statfsconv.c: New file. * sysdeps/mach/hurd/Dist: Add statfsconv.c.
2001-01-06(Finding Tokens in a String): Document XPG basename() and dirname(), aswell ↵Ulrich Drepper
as GNU basename().
2001-01-06* sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number instead ↵Mark Kettenis
of -1 on failure. Don't forget to copy file name into *ENTRY if successful. Set *RESULT to NULL upon reaching the end of the directory. * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number instead of -1 on failure. Don't forget to copy file name into *ENTRY if successful. Set *RESULT to NULL upon reaching the end of the directory. 2001-01-06 Mark Kettenis <kettenis@gnu.org>
2001-01-06* sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to copy ↵Mark Kettenis
st_atime member. 2001-01-06 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to copy st_atime member.
2001-01-05Update.Ulrich Drepper
* elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV if it is not available. Instead use it only if it is available. * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
2001-01-05Update.Ulrich Drepper
2001-01-04 Ulrich Drepper <drepper@redhat.com> * Versions.def (ld): Add GLIBC_2.2. * catgets/gencat.c: Copyright 2001. * csu/version.c: Likewise. * debug/catchsegv.sh: Likewise. * debug/xtrace.sh: Likewise. * elf/ldconfig.c: Likewise. * elf/sprof.c: Likewise. * iconv/iconv_prog.c: Likewise. * locale/locale.c: Likewise. * locale/localedef.c: Likewise. * malloc/memusage.sh: Likewise. * malloc/mtrace.pl: Likewise. * nscd/nscd.c: Likewise. * posix/getconf.c: Likewise. 2001-01-04 Mark Kettenis <kettenis@gnu.org> * include/stdio.h: Only provide __getwc_unlocked prototype if USE_IN_LIBIO is defined. 2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code handling. 2001-01-03 Andreas Schwab <schwab@suse.de> * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias. * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias. * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias. * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix strtoull alias. * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias. * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix wcstoull alias. * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this directory. * sysdeps/generic/strtol_l.c: Likewise. * sysdeps/generic/strtoul_l.c: Likewise. * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c. * sysdeps/wordsize-64/strtol_l.c: Fix alias. * sysdeps/wordsize-64/strtoul_l.c: Likewise. * sysdeps/wordsize-64/wcstol_l.c: Fix alias. * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
2001-01-04(__socket): Fix error code handling.Ulrich Drepper
2001-01-03Update.Andreas Jaeger
* sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
2001-01-03* resolv/Versions: Fix bracing. Andreas Jaeger
* sysdeps/powerpc/soft-fp/Versions: Likewise.
2001-01-03Update.Ulrich Drepper
2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
2001-01-03Update.Ulrich Drepper
* manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf. Suggested by Minko Markov <mmarkov@home.com>. 2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/powerpc/elf/start.S (__data_start): Make it global. * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of the failing symbol. (__process_machine_rela): Pass symbol to dl_reloc_overflow(). 2001-01-02 Ben Collins <bcollins@debian.org> * time/tzset.c (tzset_internal): Make sure we fall back to UTC if TZ is not set and TZDEFAULT is not present. 2001-01-01 Ben Collins <bcollins@debian.org> * string/strings.h: Make sure we declare our functions even if string.h is already included, based on whether or not __USE_BSD is defined. 2001-01-02 Ulrich Drepper <drepper@redhat.com> * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any other dlopen() and dlsym(). Based on a patch by Ben Collins <bcollins@debian.org>. 2001-01-02 Andreas Jaeger <aj@suse.de> * dlfcn/errmsg1.c (main): Call dlerror initially. Reported by Ben Collins <bcollins@debian.org>. 2001-01-02 Ulrich Drepper <drepper@redhat.com>
2001-01-02Update.Andreas Jaeger
* libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro. (_IO_switch_to_wget_mode): Likewise. (_IO_sputbackwc): Likewise. (_IO_sungetwc): Use wint_t for result. * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done. * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct signedness. * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked to (int) to avoid warnings. * stdio-common/printf_fp.c (putc): Likewise. * stdio-common/printf_size.c (putc): Likewise.
2001-01-02Update.Andreas Jaeger
2001-01-02 Andreas Jaeger <aj@suse.de> * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make constant unsigned.
2000-12-31Update.Andreas Jaeger
* include/libc-internal.h: Add prototype for __libc_freeres. * malloc/mtrace.c: Likewise. * malloc/set-freeres.c: Likewise.
2000-12-282000-12-28 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after __mempcpy does it for us.
2000-12-28Update.Andreas Jaeger
* sysdeps/generic/dl-environ.c: Add prototype for unsetenv. * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for __new_setrlimit. * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for __old_getrlimit64. * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for __new_getrlimit. * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for __chown_is_lchown and __real_chown.
2000-12-28Update.Andreas Jaeger
* sysdeps/generic/ldsodefs.h: Add noreturn attribute to _dl_reloc_bad_type.
2000-12-27Update.Ulrich Drepper
2000-12-27 Ulrich Drepper <drepper@redhat.com> * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop if we would go through it only once. Patch by Rick Gorton <rick.gorton@api-networks.com>. * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter. Patch by Richard Henderson <rth@redhat.com>. 2000-12-27 Jakub Jelinek <jakub@redhat.com> * malloc/malloc.c (memmove): Add prototypes. (MALLOC_MEMMOVE): Define. (chunk_realloc): Use it instead of MALLOC_COPY if source and destination might overlap.
2000-12-27(__bswap_64): Handle constant argument case separately.Ulrich Drepper
2000-12-27(__protocol_available): Uncomment, it's not needed at the moment.Andreas Jaeger
2000-12-27Update.Andreas Jaeger
2000-12-26 Andreas Jaeger <aj@suse.de> * libio/getc_u.c: Include stdio.h via system path to get internal prototypes. * libio/getwc_u.c: Likewise. * stdlib/strfmon.c: Fix prototype of __printf_fp. * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and __printf_fp prototypes to ... * include/printf.h: ...here. * include/stdio.h: Add some internal prototypes to shut up GCC. * include/stdlib.h: Likewise. * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype declaration. * include/signal.h: Add prototypes for internal sigpause interfaces.
2000-12-27Update.Ulrich Drepper
2000-12-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for 64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
2000-12-21Update.Ulrich Drepper
2000-12-21 H.J. Lu <hjl@gnu.org> * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type): Make sign_exponent element signed. * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type): Fix a typo. * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
2000-12-21Fix a typo.Ulrich Drepper
2000-12-21Add test for nextafter and 0.0.Ulrich Drepper
2000-12-21Update.Ulrich Drepper
2000-12-20 Ulrich Drepper <drepper@redhat.com> * math/test-misc.c: Add more tests for nextafter functions. * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to normal correctly. Correct test for sign. Based on a patch by HJ Lu.
2000-12-19Update.Ulrich Drepper
* math/test-misc.c: Add more tests for nextafter. * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly. * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type): Make sign_exponent element signed.
2000-12-17Update.Andreas Jaeger
* sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions parameter. * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add unused attribute to shut up gcc warnings. * sysdeps/generic/k_sinl.c: Include math_private for prototypes. * sysdeps/generic/k_tanl.c: Likewise. * sysdeps/generic/k_cosl.c: Likewise. * sysdeps/generic/e_j0l.c: Likewise. * sysdeps/generic/e_j1l.c: Likewise. * sysdeps/generic/e_jnl.c: Likewise. * sysdeps/generic/e_lgammal_r.c: Likewise.
2000-12-16Update.Ulrich Drepper
2000-12-16 Jakub Jelinek <jakub@redhat.com> * catgets/gencat.c (read_input_file): Avoid calling obstack_free with a pointer not returned by obstack_ functions. * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX version. (struct stat64): Likewise. Reported by Michael Keezer <mkeezer@redhat.com>.
2000-12-16Update.Ulrich Drepper
2000-12-09 H.J. Lu <hjl@gnu.org> * sysdeps/ia64/fpu/s_fabs.S: New file. * sysdeps/ia64/fpu/s_fabsf.S: New file. * sysdeps/ia64/fpu/s_fabsl.S: New file. 2000-12-10 Richard Henderson <rth@redhat.com>
2000-12-16fabs implementation for IA-64.Ulrich Drepper
2000-12-15Update.Andreas Jaeger
2000-12-14 H.J. Lu <hjl@gnu.org> * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent field in a float is 8 bits, not 11 bits.
2000-12-13Update.Andreas Jaeger
2000-12-13 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo. Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.