about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.Roland McGrath2004-06-1110-8/+51
| | | | | | | | | | | (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.
* * sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.Roland McGrath2004-06-114-3/+24
| | | | From Krzysztof Halasa <khc@pm.waw.pl>.
* * elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.Roland McGrath2004-06-112-4/+10
|
* [BZ #199]Roland McGrath2004-06-103-8/+19
| | | | | | | | | | 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.
* * sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name isRoland McGrath2004-06-093-1/+60
| | | | | | | 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.
* This is not really associated with [bug #209], but is a test.Roland McGrath2004-06-091-0/+4
| | | | | | 2004-06-07 Roland McGrath <roland@frob.com> * NEWS: Update bug reporting instructions. Fix some typos.
* [BZ #209]Roland McGrath2004-06-071-4/+4
| | | | | | 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.
* Update.Ulrich Drepper2004-06-071-0/+5
| | | | | | | 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.
* (lll_futex_requeue): Pass val argument as 6th system call argument in %r7.Ulrich Drepper2004-06-071-7/+2
|
* Add email address.Andreas Jaeger2004-06-071-1/+1
| | | | Washizawa <washi@jp.ibm.com>.
* Update.Ulrich Drepper2004-06-066-91/+109
| | | | | | | | | | | | | | 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.
* Don't expand _itoa inline for libc.Ulrich Drepper2004-06-061-5/+10
|
* Update.Andreas Jaeger2004-06-051-0/+6
| | | | | | | | 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.
* (__makecontext): Handle more than 6 args correctly. Based on a patch by ↵Andreas Jaeger2004-06-051-3/+3
| | | | Masahide Washizawa.
* Update.Ulrich Drepper2004-06-042-1/+7
| | | | | | | | 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.
* Update.Ulrich Drepper2004-06-0330-209/+327
| | | | | | 2004-06-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/i486/bits/atomic.h: Optimize a bit.
* Update.Ulrich Drepper2004-06-016-33/+72
| | | | | | | | | | | | | | | 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.
* (__argp_error, __argp_failure): Check result of __asprintf call and don't ↵Ulrich Drepper2004-06-011-2/+4
| | | | use string if it failed.
* * td_thr_validate.c: When we find no threads and the inferior appearsRoland McGrath2004-06-011-0/+5
| | | | uninitialized, validate the main thread as a special case.
* 2004-05-27 Roland McGrath <roland@redhat.com>Roland McGrath2004-06-011-6/+21
| | | | | * td_thr_validate.c: When we find no threads and the inferior appears uninitialized, validate the main thread as a special case.
* Update.Ulrich Drepper2004-06-0114-51/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* (__condvar_tw_cleanup): Fix access to saved broadcast_seq value.Ulrich Drepper2004-06-011-13/+19
|
* Update.Andreas Jaeger2004-05-311-0/+6
| | | | | | | | 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>.
* Andreas Jaeger2004-05-311-0/+4
| | | | | (CFLAGS-pt-initfini.s): Set to -fno-unit-at-a-time. Patch by Dan Kegel <dank@kegel.com>.
* * elf/Makefile (shared-only-routines): Add dl-caller.Roland McGrath2004-05-291-0/+4
|
* 2004-05-29 Roland McGrath <roland@redhat.com>Roland McGrath2004-05-291-1/+2
| | | | * elf/Makefile (shared-only-routines): Add dl-caller.
* Update.Ulrich Drepper2004-05-281-0/+4
| | | | | | 2004-05-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/powerpc/configure.in: New file.
* #Ulrich Drepper2004-05-281-1/+0
|
* Update.Ulrich Drepper2004-05-2813-1/+84
| | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2004-05-2819-40/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* (memcpy): Remove libc_hidden_builtin_def if MEMPCPY_P.Ulrich Drepper2004-05-281-0/+2
|
* * sysdeps/generic/bits/in.hRoland McGrath2004-05-261-0/+7
| | | | | | (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-26 Roland McGrath <roland@frob.com>Roland McGrath2004-05-263-15/+2
| | | | | | | * 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_*'
* Update.Ulrich Drepper2004-05-264-24/+135
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2004-05-267-124/+56
| | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2004-05-2614-274/+636
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* (add_dependency): Set DF_1_NODELETE bit in l_flags_1, not in l_flags.Ulrich Drepper2004-05-261-1/+1
|
* * sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in syncRoland McGrath2004-05-252-21/+27
| | | | with sysdeps/generic/bits/in.h.
* * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms fromRoland McGrath2004-05-251-0/+5
| | | | GCC GPL to standard glibc LGPL.
* 2004-05-25 Roland McGrath <roland@frob.com>Roland McGrath2004-05-251-20/+13
| | | | | * sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from GCC GPL to standard glibc LGPL.
* Update.Ulrich Drepper2004-05-242-3/+9
| | | | | | | | 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>.
* Update.Ulrich Drepper2004-05-241-0/+4
| | | | | | 2004-05-23 Ulrich Drepper <drepper@redhat.com> * malloc/obstack.c: Don't allow linking with _obstack.
* Don't allow linking with _obstack.Ulrich Drepper2004-05-241-1/+5
|
* * sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint insteadAndreas Schwab2004-05-231-0/+5
| | | | of separate "m" constraints.
* Use "+m" constraint instead of separate "m" constraints.Andreas Schwab2004-05-231-42/+35
|
* Update.Ulrich Drepper2004-05-213-3/+14
| | | | | | | 2004-05-21 Ulrich Drepper <drepper@redhat.com> * idna.c (idna_to_unicode_4z4z): Fix test for failed memory allocation. Patch by Simon Josefsson.
* (idna_to_unicode_4z4z): Fix test for failed memory allocation.Ulrich Drepper2004-05-211-2/+4
|
* * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE)Roland McGrath2004-05-201-0/+6
| | | | | (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32 and 64 ABIs, save and restore regs $10 and $11 (a6 and a7).
* 2004-05-15 Chris Demetriou <cgd@broadcom.com>Roland McGrath2004-05-201-3/+7
| | | | | | * sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE) (ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS): For the N32 and 64 ABIs, save and restore regs $10 and $11 (a6 and a7).
* Update.Ulrich Drepper2004-05-202-3/+10
| | | | | | | 2004-05-20 Paul Eggert <eggert@cs.ucla.edu> * malloc/obstack.c (_obstack) [!defined _LIBC]: Remove; not used. Add comment explaining why libc still defines it.