about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* [BZ #198, BZ #218]Ulrich Drepper2004-06-181-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update. 2004-06-17 Thorsten Kukuk <kukuk@suse.de> * sysdeps/unix/sysv/linux/sched_setaffinity.c (__sched_setaffinity_new): Set errno to EINVAL and return -1 if cpuset is wrongly set. 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling for POWER4 machines. 2004-06-14 Jakub Jelinek <jakub@redhat.com> [BZ #218] * sunrpc/pmap_prot2.c (xdr_pmaplist): When freeing, remember pml_next in a local variable, point rp to that local variable afterwards. 2004-06-11 Jakub Jelinek <jakub@redhat.com> * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Handle special cases properly. 2004-06-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct error value for unknown interface. [BZ #198]
* Remove cruft, finally [BZ #209] is done.Roland McGrath2004-06-181-3/+0
|
* [BZ #209]Roland McGrath2004-06-181-0/+3
| | | | | | | | 2004-06-18 Roland McGrath <roland@frob.com> [BZ #209] * ChangeLog: Another attempt to test the loginfo script. [BZ #209] * ChangeLog: Another attempt to test the loginfo script.
* Remove cruft, still testing [BZ #209].Roland McGrath2004-06-181-3/+0
|
* [BZ #209]Roland McGrath2004-06-181-0/+7
| | | | | | | | | | | | 2004-06-18 Roland McGrath <roland@frob.com> [BZ #209] * ChangeLog: Another attempt to test the loginfo script. 2004-06-18 Roland McGrath <roland@frob.com> [BZ #209] * ChangeLog: Another attempt to test the loginfo script. * NEWS: Fix a typo. Update bug-reporting instructions.
* [BZ #209]Roland McGrath2004-06-181-1/+1
| | | | | | 2004-06-18 Roland McGrath <roland@frob.com> * NEWS: Fix a typo. Update bug-reporting instructions. Include in this log entry gratuitous reference to [BZ #209].
* Update.Ulrich Drepper2004-06-188-11/+112
| | | | | | | | | | | | | 2004-06-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread_cond_timedwait.c (__pthread_cond_timedwait): Also check for negativ nanoseconds. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S (__pthread_cond_timedwait): Check for invalid nanosecond in timeout value. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise. * tst-cond19.c: New file. * Makefile: Add rules to build and run tst-cond19.
* Update.Ulrich Drepper2004-06-183-11/+59
| | | | | | | | | | 2004-06-15 Steven Munroe <sjmunroe@us.ibm.com> * tst-context1.c (GUARD_PATTERN): Defined. (tst_context_t): Define struct containing ucontext_t & guard words. (ctx): Declare as an array of tst_context_t. (fct): Verify uc_link & guard words are still valid. (tf): Initialize guard words in ctx. Adjust ctx refs for new struct.
* Update.Ulrich Drepper2004-06-177-23/+86
| | | | | | | | | | | | | | | | | | | | | | | 2004-06-13 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h (pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock. * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S (__pthread_cond_signal): Increment __futex at the same time as __wakeup_seq or __total_seq. Pass address of __futex instead of address of low 32-bits of __wakeup_seq to futex syscall. * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S (__pthread_cond_wait): Likewise. Pass __futex value from before releasing internal lock to FUTEX_WAIT. * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S (__pthread_cond_timedwait): Likewise. * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S (FUTEX_CMP_REQUEUE): Define. (__pthread_cond_broadcast): Set __futex to 2 * __total_seq. Use FUTEX_CMP_REQUEUE operation instead of FUTEX_REQUEUE. Pass __futex value from before the unlock and __futex address instead of address of low 32-bits of __wakeup_seq to futex syscall. Fallback to FUTEX_WAKE all on any errors.
* (if_indextoname): Correct error value for unknown interface.Ulrich Drepper2004-06-171-4/+15
|
* * sysdeps/i386/bits/string.h (memcpy): Add () around arguments.Roland McGrath2004-06-152-19/+45
| | | | | | | | (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.
* [BZ #217, BZ #219]Roland McGrath2004-06-153-3/+16
| | | | | | | | | | | | 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.
* * stdio-common/psignal.c (psignal): Don't use BUF when asprintfRoland McGrath2004-06-152-5/+12
| | | | failed.
* * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pastoRoland McGrath2004-06-157-48/+48
| | | | | | | | | | | | | | | | 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.
* [BZ #150]Roland McGrath2004-06-151-0/+1
|
* * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."Roland McGrath2004-06-151-0/+6
| | | | | instead of ".gnu.linkonce.ro." as the prefix for linkonce read-only section name.
* 2004-05-04 H.J. Lu <hongjiu.lu@intel.com>Roland McGrath2004-06-151-1/+1
| | | | | | * sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r." instead of ".gnu.linkonce.ro." as the prefix for linkonce read-only section name.
* * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp". ↵Richard Henderson2004-06-142-10/+15
| | | | | | | | | (_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.
* * 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_*'