aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-06-15* sysdeps/i386/bits/string.h (memcpy): Add () around arguments.Roland McGrath
(memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c, __strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory the asm uses as its input, either of size __n where __n is known or 0xfffffff. (strstr): Add "memory" clobber.
2004-06-15[BZ #217, BZ #219]Roland McGrath
2004-06-14 Jakub Jelinek <jakub@redhat.com> [BZ #219] * nss/nsswitch.c (free_mem): Don't try to close a library handle if the handle is invalid. Patch by David Kimdon <kimdon@esrf.fr>. 2004-06-11 Dmitry V. Levin <ldv@altlinux.org> [BZ #217] * debug/xtrace.sh: Fix typo in error diagnostics.
2004-06-15* stdio-common/psignal.c (psignal): Don't use BUF when asprintfRoland McGrath
failed.
2004-06-15* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pastoRoland McGrath
that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto that clobbers r19. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve. * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Fix setting of sigcontext.v_regs. Fix pasto that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Fix pasto that clobbers r19. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting of sigcontext.v_regs. Fix pasto that clobbers r19. Fix pasto that overflowed sigcontext.v_reserve.
2004-06-15[BZ #150]Roland McGrath
2004-06-15* sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."Roland McGrath
instead of ".gnu.linkonce.ro." as the prefix for linkonce read-only section name.
2004-06-152004-05-04 H.J. Lu <hongjiu.lu@intel.com>Roland McGrath
* sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r." instead of ".gnu.linkonce.ro." as the prefix for linkonce read-only section name.
2004-06-14 * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp". ↵Richard Henderson
(_ITOFT, _FTOIT, _ITOFT2): Likewise. 2004-06-14 Richard Henderson <rth@redhat.com> * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp". (_ITOFT, _FTOIT, _ITOFT2): Likewise.
2004-06-11* sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.Roland McGrath
(unwind_backtrace, unwind_getip): Define #ifndef SHARED. (__backtrace): Don't call init #ifndef SHARED. * sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED. (unwind_backtrace, unwind_getip): Define #ifndef SHARED. (__backtrace): Don't call init #ifndef SHARED. * sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED. (unwind_backtrace, unwind_getip): Define #ifndef SHARED. (__backtrace): Don't call init #ifndef SHARED.
2004-06-11* sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.Roland McGrath
From Krzysztof Halasa <khc@pm.waw.pl>.
2004-06-11* elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.Roland McGrath
2004-06-10[BZ #199]Roland McGrath
2004-06-08 Jakub Jelinek <jakub@redhat.com> [BZ #199] * crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc succeeds. Reported by Miles Ohlrich <miles@cray.com>. * elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc fails. Avoid memory leak if realloc fails.
2004-06-09* sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name isRoland McGrath
NULL, "" or contains '=' character in it. Reported by Michael T Kerrisk <mtk-lists@gmx.net>. * stdlib/tst-environ.c: Include errno.h. (main): Add tests for these arguments to setenv/unsetenv.
2004-06-09This is not really associated with [bug #209], but is a test.Roland McGrath
2004-06-07 Roland McGrath <roland@frob.com> * NEWS: Update bug reporting instructions. Fix some typos.
2004-06-07[BZ #209]Roland McGrath
2004-06-07 Roland McGrath <roland@frob.com> * NEWS: Update bug reporting instructions. Fix some typos. This is not really associated with [BZ #209], but is a test.
2004-06-07Update.Ulrich Drepper
2004-06-07 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/lowlevellock.h (lll_futex_requeue): Pass val argument as 6th system call argument in %r7.
2004-06-07(lll_futex_requeue): Pass val argument as 6th system call argument in %r7.Ulrich Drepper
2004-06-07Add email address.Andreas Jaeger
Washizawa <washi@jp.ibm.com>.
2004-06-06Update.Ulrich Drepper
2004-06-05 Ulrich Drepper <drepper@redhat.com> * stdio-common/_itoa.h: Don't expand _itoa inline for libc. * stdio-common/_itoa.c: Add _itoa implementation. * nscd/nscd_gethst_r.c (__nscd_open_socket): Change implementation to also send request. Add parameter to allow this. Change callers. * nscd/nscd_getgr_r.c: Change __nscd_open_socket caller. * nscd/nscd_getpw_r.c: Likewise. * nscd/nscd-client.h: Change __nscd_open_socket prototype.
2004-06-06Don't expand _itoa inline for libc.Ulrich Drepper
2004-06-05Update.Andreas Jaeger
2004-06-05 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): Handle more than 6 args correctly. Based on a patch by Masahide Washizawa.
2004-06-05(__makecontext): Handle more than 6 args correctly. Based on a patch by ↵Andreas Jaeger
Masahide Washizawa.
2004-06-04Update.Ulrich Drepper
2004-06-04 Ulrich Drepper <drepper@redhat.com> * nscd/nscd_gethst_r.c (nscd_gethst_r): Use __nss_not_use_nscd_hosts in all places, not __nss_not_use_nscd_group. Reported by Philippe Gregoire.
2004-06-03Update.Ulrich Drepper
2004-06-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
2004-06-01Update.Ulrich Drepper
2004-05-07 Dmitry V. Levin <ldv@altlinux.org> * argp/argp-help.c (__argp_error, __argp_failure): Check result of __asprintf call and don't use string if it failed. * stdio-common/psignal.c (psignal): Likewise. * locale/programs/localedef.c (more_help): Likewise. * resolv/res_hconf.c (arg_service_list, arg_trimdomain_list, arg_bool, parse_line): Check result of __asprintf calls and don't use string if they failed. * sunrpc/svc_simple.c (registerrpc, universal): Likewise. * elf/ldconfig.c (parse_conf_include): Check result of __asprintf call and exit if it failed.
2004-06-01(__argp_error, __argp_failure): Check result of __asprintf call and don't ↵Ulrich Drepper
use string if it failed.
2004-06-01* td_thr_validate.c: When we find no threads and the inferior appearsRoland McGrath
uninitialized, validate the main thread as a special case.
2004-06-012004-05-27 Roland McGrath <roland@redhat.com>Roland McGrath
* td_thr_validate.c: When we find no threads and the inferior appears uninitialized, validate the main thread as a special case.
2004-06-01Update.Ulrich Drepper
2004-05-10 Jakub Jelinek <jakub@redhat.com> * sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS, _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR, _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING, _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT, _SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1. * sysdeps/unix/sysv/linux/sysconf.c (__sysconf) <case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1. 2004-05-07 Jeroen Dekkers <jeroen@dekkers.cx> * sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add -momit-leaf-frame-pointer. * inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with #ifdef AF_PACKET. * sysdeps/mach/hurd/getcwd.c (_hurd_canonicalize_directory_name_intern): Only realloc when size is <= 0. * sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset isn't page aligned. * sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to new size. * sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read, __libc_write and __libc_lseek64.
2004-06-01(__condvar_tw_cleanup): Fix access to saved broadcast_seq value.Ulrich Drepper
2004-05-31Update.Andreas Jaeger
2004-05-31 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/Makefile (CFLAGS-pt-initfini.s): Set to -fno-unit-at-a-time. Patch by Dan Kegel <dank@kegel.com>.
2004-05-31 Andreas Jaeger
(CFLAGS-pt-initfini.s): Set to -fno-unit-at-a-time. Patch by Dan Kegel <dank@kegel.com>.
2004-05-29* elf/Makefile (shared-only-routines): Add dl-caller.Roland McGrath
2004-05-292004-05-29 Roland McGrath <roland@redhat.com>Roland McGrath
* elf/Makefile (shared-only-routines): Add dl-caller.
2004-05-28Update.Ulrich Drepper
2004-05-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/powerpc/configure.in: New file.
2004-05-28#Ulrich Drepper
2004-05-28Update.Ulrich Drepper
2004-05-28 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add .machine "altivec" to enable VMX instructions. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise. * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.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/setcontext.S: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2004-05-28Update.Ulrich Drepper
2004-05-27 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Define using __builtin_expm1l for GCC 3.5+. (__expl): Define using __builtin_expl for GCC 3.4+. (exp, expf, expl): Don't define for GCC 3.4+. (tan, tanf, tanl): Don't define for GCC 3.5+. (__atan2l): Define using __builtin_atan2l for GCC 3.4+. (atan2, atan2f, atan2l): Don't define for GCC 3.4+ or !__FAST_MATH__. (fmod, fmodf, fmodl): Don't define for GCC 3.5+ or !__FAST_MATH__. (fabsf, fabsl): Only provide if __USE_MISC or __USE_ISOC99. (sin, sinf, sinl, cos, cosf, cosl, log, logf, logl): Don't define for GCC 3.4+. (log10, log10f, log10l, asin, asinf, asinl, acos, acosf, acosl): Don't define for GCC 3.5+. (atan, atanf, atanl): Don't define for GCC 3.4+ or !__FAST_MATH__. (log1p, log1pf, log1pl, logb, logbf, logbl, log2, log2f, log2l): Don't define for GCC 3.5+. (drem, dremf, dreml): Don't define for GCC 3.5+ or !__FAST_MATH__. * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, sqrtf, sqrtl): Don't define for GCC 3.2+. 2004-05-27 Jakub Jelinek <jakub@redhat.com> * string/bits/string2.h (__bzero): Define even for GCC 3.0+. * sysdeps/alpha/stpcpy.S (stpcpy): Add libc_hidden_builtin_def. * sysdeps/alpha/alphaev67/stpcpy.S (stpcpy): Likewise. * sysdeps/powerpc/powerpc32/stpcpy.S (stpcpy): Likewise. * sysdeps/powerpc/powerpc64/stpcpy.S (stpcpy): Likewise. * sysdeps/sparc/sparc32/stpcpy.S (stpcpy): Likewise. * sysdeps/sparc/sparc64/stpcpy.S (stpcpy): Likewise. * sysdeps/i386/stpcpy.S (stpcpy): Likewise. * sysdeps/i386/i586/stpcpy.S (stpcpy): Likewise. * sysdeps/generic/stpcpy.c (stpcpy): Likewise. * sysdeps/x86_64/stpcpy.S (stpcpy): Likewise. * sysdeps/i386/i586/memcpy.S (memcpy): Remove libc_hidden_builtin_def if MEMPCPY_P. * sysdeps/x86_64/memcpy.S (memcpy): Likewise. * sysdeps/i386/i686/mempcpy.S (mempcpy): Add libc_hidden_builtin_def. * sysdeps/i386/i586/mempcpy.S (mempcpy): Likewise. * sysdeps/generic/mempcpy.c (mempcpy): Likewise. * sysdeps/x86_64/mempcpy.S (mempcpy): Likewise.
2004-05-28(memcpy): Remove libc_hidden_builtin_def if MEMPCPY_P.Ulrich Drepper
2004-05-26* sysdeps/generic/bits/in.hRoland McGrath
(IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed. These are long obsolete in BSD systems where they originated. * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*'
2004-05-262004-05-26 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/generic/bits/in.h (IMPLINK_IP, IMPLINK_LOWEXPER, IMPLINK_HIGHEXPER): Macros removed. These are long obsolete in BSD systems where they originated. * conform/data/netinet/in.h-data: Remove `allow IMPLINK_*'
2004-05-26Update.Ulrich Drepper
2004-05-26 Jakub Jelinek <jakub@redhat.com> * include/string.h (mempcpy, stpcpy): Add libc_hidden_builtin_proto. * string/bits/string2.h (memset): Disable macro for GCC 3.0+. (__mempcpy): Use __builtin_mempcpy for GCC 3.4+. (strchr): For GCC 3.2+, only use __rawmemchr if second argument is constant '\0' and first argument is not constant. (__stpcpy): Use __builtin_stpcpy for GCC 3.4+. (strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant. For GCC 3.2+ use __builtin_strncpy. (strncat): For GCC 3.2+ use __builtin_strncat. (strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are constant. (strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function if both arguments are constant. 2004-05-26 Ulrich Drepper <drepper@redhat.com> * nss/nss_files/files-hosts.c: Fix condition for looking up IPv4 mapped addresses in gethostbyaddr.
2004-05-26Update.Ulrich Drepper
2004-05-25 Ulrich Drepper <drepper@redhat.com> * nss/digits_dots.c (__nss_hostname_digits_dots): Remove typep and flags parameter, convert afp to simple int parameter. Adjust code. typep was never != NULL and flags therefore also unused. *afp is never modified. * nss/nsswitch.h: Adjust __nss_hostname_digits_dots prototype. * nss/getXXbyYY.c: Remove HAVE_TYPE handling. Adjust af parameter handling for __nss_hostname_digits_dots calls. * nss/getXXbyYY_r.c: Likewise. * elf/dl-load.c (_dl_map_object_from_fd): Map DSOs with MAP_DENYWRITE.
2004-05-26Update.Ulrich Drepper
2004-05-25 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/fpu/Makefile: Make ld.so a dependency of libm.so. * sysdeps/powerpc/fpu/bits/mathinline.h [__LIBC_INERNAL_MATH_INLINES] (__ieee754_sqrt): Define as __MATH_INLINE using fsqrt instruction. (__ieee754_sqrtf): Define as __MATH_INLINE using fsqrts instruction. * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Moved implementation from w_sqrt.c. * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Moved implementation from w_sqrtf.c. * sysdeps/powerpc/fpu/w_sqrt.c (__sqrt): Wrapper implementation using inline __ieee754_sqrt(). * sysdeps/powerpc/fpu/w_sqrtf.c (__sqrtf): Wrapper implementation using inline __ieee754_sqrtf(). * sysdeps/powerpc/powerpc32/sysdep.h [__ASSEMBLER__]: Include <sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__. * sysdeps/powerpc/sysdep.h [__ASSEMBLER__] (PPC_FEATURE_*): Define PPC_FEATURE_* independent of __ASSEMBLER__. 2004-05-25 Jakub Jelinek <jakub@redhat.com> * sysdeps/pthread/aio_notify.c: Use <> instead of "" for aio_misc.h include. (aio_start_notify_thread): Define if not defined. (notify_func_wrapper): Use it. * sysdeps/pthread/aio_misc.c: Use <> instead of "" for aio_misc.h include. (aio_create_helper_thread): Define if not defined. (__aio_create_helper_thread): New function. (__aio_enqueue_request): Use aio_create_helper_thread. * nis/ypclnt.c (ypall_data, ypall_foreach): Remove. (struct ypresp_all_data): New type. (__xdr_ypresp_all): Change second argument to struct ypresp_all_data *. Replace ypall_foreach and ypall_data with objp->foreach and objp->data. (yp_all): Remove status variable, add data. Replace all uses of status with data.status. Initialize data.foreach and data.data instead of ypall_foreach and ypall_data. 2004-05-24 Jakub Jelinek <jakub@redhat.com> * elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit in l_flags_1, not in l_flags.
2004-05-26(add_dependency): Set DF_1_NODELETE bit in l_flags_1, not in l_flags.Ulrich Drepper
2004-05-25* sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in syncRoland McGrath
with sysdeps/generic/bits/in.h.
2004-05-25* sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms fromRoland McGrath
GCC GPL to standard glibc LGPL.
2004-05-252004-05-25 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from GCC GPL to standard glibc LGPL.
2004-05-24Update.Ulrich Drepper
2004-05-24 Ulrich Drepper <drepper@redhat.com> * manual/string.texi (Copying and Concatenation): Fixed second concat example. Reported by Fabian Pietsch <fabian@zzznowman.dyndns.org>.
2004-05-24Update.Ulrich Drepper
2004-05-23 Ulrich Drepper <drepper@redhat.com> * malloc/obstack.c: Don't allow linking with _obstack.