platform/upstream/linaro-glibc.git
20 years ago[BZ #217, BZ #219]
Roland McGrath [Tue, 15 Jun 2004 20:10:24 +0000 (20:10 +0000)]
[BZ #217, BZ #219]

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.

20 years ago* stdio-common/psignal.c (psignal): Don't use BUF when asprintf
Roland McGrath [Tue, 15 Jun 2004 20:04:37 +0000 (20:04 +0000)]
* stdio-common/psignal.c (psignal): Don't use BUF when asprintf

failed.

20 years ago* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
Roland McGrath [Tue, 15 Jun 2004 20:02:33 +0000 (20:02 +0000)]
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto

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.

20 years ago[BZ #150]
Roland McGrath [Tue, 15 Jun 2004 19:55:30 +0000 (19:55 +0000)]
[BZ #150]

20 years ago* sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
Roland McGrath [Tue, 15 Jun 2004 19:55:07 +0000 (19:55 +0000)]
* sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."

instead of ".gnu.linkonce.ro." as the prefix for linkonce
read-only section name.

20 years ago2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
Roland McGrath [Tue, 15 Jun 2004 19:54:57 +0000 (19:54 +0000)]
2004-05-04  H.J. Lu  <hongjiu.lu@intel.com>

* sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
instead of ".gnu.linkonce.ro." as the prefix for linkonce
read-only section name.

20 years ago * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp". (_ITOFT...
Richard Henderson [Mon, 14 Jun 2004 18:04:25 +0000 (18:04 +0000)]
    * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".         (_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.

20 years ago* sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
Roland McGrath [Fri, 11 Jun 2004 20:12:55 +0000 (20:12 +0000)]
* sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.

(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.

20 years ago* sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
Roland McGrath [Fri, 11 Jun 2004 10:15:39 +0000 (10:15 +0000)]
* sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.

From Krzysztof Halasa <khc@pm.waw.pl>.

20 years ago* elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.
Roland McGrath [Fri, 11 Jun 2004 09:56:02 +0000 (09:56 +0000)]
* elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.

20 years ago[BZ #199]
Roland McGrath [Thu, 10 Jun 2004 02:16:08 +0000 (02:16 +0000)]
[BZ #199]

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.

20 years ago* sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
Roland McGrath [Wed, 9 Jun 2004 18:33:36 +0000 (18:33 +0000)]
* sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is

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.

20 years agoThis is not really associated with [bug #209], but is a test.
Roland McGrath [Wed, 9 Jun 2004 00:36:30 +0000 (00:36 +0000)]
This is not really associated with [bug #209], but is a test.

2004-06-07  Roland McGrath  <roland@frob.com>

* NEWS: Update bug reporting instructions.  Fix some typos.

20 years ago[BZ #209]
Roland McGrath [Mon, 7 Jun 2004 21:53:43 +0000 (21:53 +0000)]
[BZ #209]

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.

20 years agoUpdate.
Ulrich Drepper [Mon, 7 Jun 2004 17:58:44 +0000 (17:58 +0000)]
Update.

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.

20 years ago(lll_futex_requeue): Pass val argument as 6th system call argument in %r7.
Ulrich Drepper [Mon, 7 Jun 2004 17:58:24 +0000 (17:58 +0000)]
(lll_futex_requeue): Pass val argument as 6th system call argument in %r7.

20 years agoAdd email address.
Andreas Jaeger [Mon, 7 Jun 2004 06:50:06 +0000 (06:50 +0000)]
Add email address.

Washizawa <washi@jp.ibm.com>.

20 years agoUpdate.
Ulrich Drepper [Sun, 6 Jun 2004 06:06:02 +0000 (06:06 +0000)]
Update.

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.

20 years agoDon't expand _itoa inline for libc.
Ulrich Drepper [Sun, 6 Jun 2004 06:01:50 +0000 (06:01 +0000)]
Don't expand _itoa inline for libc.

20 years agoUpdate.
Andreas Jaeger [Sat, 5 Jun 2004 07:54:49 +0000 (07:54 +0000)]
Update.

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.

20 years ago(__makecontext): Handle more than 6 args correctly. Based on a patch by Masahide...
Andreas Jaeger [Sat, 5 Jun 2004 07:54:40 +0000 (07:54 +0000)]
(__makecontext): Handle more than 6 args correctly.  Based on a patch by Masahide Washizawa.

20 years agoUpdate.
Ulrich Drepper [Fri, 4 Jun 2004 18:29:42 +0000 (18:29 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Thu, 3 Jun 2004 16:04:11 +0000 (16:04 +0000)]
Update.

2004-06-03  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/i486/bits/atomic.h: Optimize a bit.

20 years agoUpdate.
Ulrich Drepper [Tue, 1 Jun 2004 22:18:24 +0000 (22:18 +0000)]
Update.

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.

20 years ago(__argp_error, __argp_failure): Check result of __asprintf call and don't use string...
Ulrich Drepper [Tue, 1 Jun 2004 22:15:24 +0000 (22:15 +0000)]
(__argp_error, __argp_failure): Check result of __asprintf call and don't use string if it failed.

20 years ago* td_thr_validate.c: When we find no threads and the inferior appears
Roland McGrath [Tue, 1 Jun 2004 21:42:07 +0000 (21:42 +0000)]
* td_thr_validate.c: When we find no threads and the inferior appears

uninitialized, validate the main thread as a special case.

20 years ago2004-05-27 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 1 Jun 2004 21:42:02 +0000 (21:42 +0000)]
2004-05-27  Roland McGrath  <roland@redhat.com>

* td_thr_validate.c: When we find no threads and the inferior appears
uninitialized, validate the main thread as a special case.

20 years agoUpdate.
Ulrich Drepper [Tue, 1 Jun 2004 18:53:04 +0000 (18:53 +0000)]
Update.

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.

20 years ago(__condvar_tw_cleanup): Fix access to saved broadcast_seq value.
Ulrich Drepper [Tue, 1 Jun 2004 18:14:07 +0000 (18:14 +0000)]
(__condvar_tw_cleanup): Fix access to saved broadcast_seq value.

20 years agoUpdate.
Andreas Jaeger [Mon, 31 May 2004 06:18:48 +0000 (06:18 +0000)]
Update.

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>.

20 years ago(CFLAGS-pt-initfini.s): Set to -fno-unit-at-a-time.
Andreas Jaeger [Mon, 31 May 2004 06:13:34 +0000 (06:13 +0000)]
(CFLAGS-pt-initfini.s): Set to -fno-unit-at-a-time.
Patch by Dan Kegel <dank@kegel.com>.

20 years ago* elf/Makefile (shared-only-routines): Add dl-caller.
Roland McGrath [Sat, 29 May 2004 22:29:40 +0000 (22:29 +0000)]
* elf/Makefile (shared-only-routines): Add dl-caller.

20 years ago2004-05-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 29 May 2004 22:29:35 +0000 (22:29 +0000)]
2004-05-29  Roland McGrath  <roland@redhat.com>

* elf/Makefile (shared-only-routines): Add dl-caller.

20 years agoUpdate.
Ulrich Drepper [Fri, 28 May 2004 21:22:26 +0000 (21:22 +0000)]
Update.

2004-05-28  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/powerpc/configure.in: New file.

20 years ago#
Ulrich Drepper [Fri, 28 May 2004 21:21:55 +0000 (21:21 +0000)]
#

20 years agoUpdate.
Ulrich Drepper [Fri, 28 May 2004 21:19:35 +0000 (21:19 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Fri, 28 May 2004 06:56:51 +0000 (06:56 +0000)]
Update.

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.

20 years ago(memcpy): Remove libc_hidden_builtin_def if MEMPCPY_P.
Ulrich Drepper [Fri, 28 May 2004 06:38:44 +0000 (06:38 +0000)]
(memcpy): Remove libc_hidden_builtin_def if MEMPCPY_P.

20 years ago* sysdeps/generic/bits/in.h
Roland McGrath [Wed, 26 May 2004 19:21:53 +0000 (19:21 +0000)]
* 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_*'

20 years ago2004-05-26 Roland McGrath <roland@frob.com>
Roland McGrath [Wed, 26 May 2004 19:21:39 +0000 (19:21 +0000)]
2004-05-26  Roland McGrath  <roland@frob.com>

* 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_*'

20 years agoUpdate.
Ulrich Drepper [Wed, 26 May 2004 17:27:20 +0000 (17:27 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Wed, 26 May 2004 06:42:16 +0000 (06:42 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Wed, 26 May 2004 04:47:00 +0000 (04:47 +0000)]
Update.

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.

20 years ago(add_dependency): Set DF_1_NODELETE bit in l_flags_1, not in l_flags.
Ulrich Drepper [Wed, 26 May 2004 04:18:34 +0000 (04:18 +0000)]
(add_dependency): Set DF_1_NODELETE bit in l_flags_1, not in l_flags.

20 years ago* sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync
Roland McGrath [Tue, 25 May 2004 18:56:20 +0000 (18:56 +0000)]
* sysdeps/unix/sysv/linux/bits/in.h: Cosmetic fixes to get in sync

with sysdeps/generic/bits/in.h.

20 years ago* sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from
Roland McGrath [Tue, 25 May 2004 18:48:36 +0000 (18:48 +0000)]
* sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from

GCC GPL to standard glibc LGPL.

20 years ago2004-05-25 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 25 May 2004 18:48:24 +0000 (18:48 +0000)]
2004-05-25  Roland McGrath  <roland@frob.com>

* sysdeps/generic/unwind-dw2-fde-glibc.c: Change copyright terms from
GCC GPL to standard glibc LGPL.

20 years agoUpdate.
Ulrich Drepper [Mon, 24 May 2004 18:12:23 +0000 (18:12 +0000)]
Update.

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>.

20 years agoUpdate.
Ulrich Drepper [Mon, 24 May 2004 05:21:31 +0000 (05:21 +0000)]
Update.

2004-05-23  Ulrich Drepper  <drepper@redhat.com>

* malloc/obstack.c: Don't allow linking with _obstack.

20 years agoDon't allow linking with _obstack.
Ulrich Drepper [Mon, 24 May 2004 05:20:48 +0000 (05:20 +0000)]
Don't allow linking with _obstack.

20 years ago* sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead
Andreas Schwab [Sun, 23 May 2004 10:23:07 +0000 (10:23 +0000)]
* sysdeps/m68k/m68020/bits/atomic.h: Use "+m" constraint instead

of separate "m" constraints.

20 years agoUse "+m" constraint instead of separate "m" constraints.
Andreas Schwab [Sun, 23 May 2004 10:22:47 +0000 (10:22 +0000)]
Use "+m" constraint instead of separate "m" constraints.

20 years agoUpdate.
Ulrich Drepper [Fri, 21 May 2004 16:19:16 +0000 (16:19 +0000)]
Update.

2004-05-21  Ulrich Drepper  <drepper@redhat.com>

* idna.c (idna_to_unicode_4z4z): Fix test for failed memory allocation.
Patch by Simon Josefsson.

20 years ago(idna_to_unicode_4z4z): Fix test for failed memory allocation.
Ulrich Drepper [Fri, 21 May 2004 15:42:30 +0000 (15:42 +0000)]
(idna_to_unicode_4z4z): Fix test for failed memory allocation.

20 years ago* sysdeps/mips/dl-machine.h (ELF_DL_FRAME_SIZE)
Roland McGrath [Thu, 20 May 2004 22:07:41 +0000 (22:07 +0000)]
* 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).

20 years ago2004-05-15 Chris Demetriou <cgd@broadcom.com>
Roland McGrath [Thu, 20 May 2004 22:07:15 +0000 (22:07 +0000)]
2004-05-15  Chris Demetriou  <cgd@broadcom.com>

* 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).

20 years agoUpdate.
Ulrich Drepper [Thu, 20 May 2004 21:55:10 +0000 (21:55 +0000)]
Update.

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.

20 years agoUpdate.
Ulrich Drepper [Thu, 20 May 2004 06:32:24 +0000 (06:32 +0000)]
Update.

2004-05-19  Paul Eggert  <eggert@cs.ucla.edu>

* malloc/obstack.h (_obstack_free, obstack_1grow, obstack_1grow_fast,
obstack_alignment_mask, obstack_alloc, obstack_base,
obstack_blank, obstack_blank_fast, obstack_chunk_size,
obstack_copy, obstack_copy0, obstack_finish, obstack_grow,
obstack_grow0, obstack_init, obstack_int_grow,
obstack_int_grow_fast, obstack_make_room, obstack_memory_used,
obstack_next_free, obstack_object_size, obstack_ptr_grow,
obstack_ptr_grow_fast, obstack_room): Remove declarations of
nonexistent functions.

2004-05-18  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc64/sysdep.h [__ASSEMBLER__]: Include
<sysdeps/powerpc/sysdep.h> independent of __ASSEMBLER__.
[PIC]: Redundent for powerpc64, removed.
(ENTRY): Generate size and alignment for opd entry.
(EALIGN): Generate size and alignment for opd entry.
(END): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.
(END_GEN_TB): Use DOT_LABEL in ASM_SIZE_DIRECTIVE.

20 years agoUpdate.
Ulrich Drepper [Wed, 19 May 2004 16:52:55 +0000 (16:52 +0000)]
Update.

* misc/regexp.h: Say the functions have been withdrawn.

20 years agoUpdate.
Ulrich Drepper [Wed, 19 May 2004 16:46:56 +0000 (16:46 +0000)]
Update.

2004-05-19  Ulrich Drepper  <drepper@redhat.com>

* wcsmbs/tst-wcpncpy.c: Add more tests.

20 years agoAdd more tests.
Ulrich Drepper [Wed, 19 May 2004 16:44:22 +0000 (16:44 +0000)]
Add more tests.

20 years ago* sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to
Roland McGrath [Tue, 18 May 2004 21:18:59 +0000 (21:18 +0000)]
* sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to

standard glibc LGPL.
* sysdeps/generic/unwind-dw2.c: Likewise.
* sysdeps/generic/unwind-dw2-fde.c: Likewise.
* sysdeps/generic/unwind-dw2-fde.h: Likewise.
* sysdeps/generic/unwind-pe.h: Likewise.

20 years ago2004-05-18 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 18 May 2004 21:18:52 +0000 (21:18 +0000)]
2004-05-18  Roland McGrath  <roland@frob.com>

* sysdeps/generic/unwind.h: Change copyright terms from GCC GPL to
standard glibc LGPL.
* sysdeps/generic/unwind-dw2.c: Likewise.
* sysdeps/generic/unwind-dw2-fde.c: Likewise.
* sysdeps/generic/unwind-dw2-fde.h: Likewise.
* sysdeps/generic/unwind-pe.h: Likewise.

20 years ago[BZ #163]
Ulrich Drepper [Tue, 18 May 2004 20:18:14 +0000 (20:18 +0000)]
[BZ #163]

Update.
2004-05-18  Petter Reinholdtsen  <pere@hungry.com>

* locales/sl_SI [LC_TIME]: Correct d_fmt date format from
'22.06.2003' to '22. 06. 2003'.  Change requested from Aleks
Reinhardt, and approved by the locale author Borka
Jerman-Blazic. [BZ #163]

20 years ago[BZ #40]
Ulrich Drepper [Mon, 17 May 2004 18:59:35 +0000 (18:59 +0000)]
[BZ #40]

Update.
2004-05-15  Petter Reinholdtsen  <pere@hungry.com>

* locale/iso-3166.def: Remove YUGOSLAVIA and insert "SERBIA AND
MONTENEGRO" which have taken over the code 819.  Patch from
Danilo Segan. [BZ #40]

2004-05-15  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
(SYSCALL_ERROR_HANDLER): Rename __sparc.get_pic.l7 to
__sparc_get_pic_l7.

2004-05-15  Joseph S. Myers  <jsm@polyomino.org.uk>

* catgets/gencat.c: Update bug reporting instructions.
* csu/version.c: Likewise.
* debug/catchsegv.sh: Likewise.
* debug/pcprofiledump.c: Likewise.
* debug/xtrace.sh: Likewise.
* elf/ldd.bash.in: Likewise.
* iconv/iconv_prog.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* login/programs/pt_chown.c: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/memusagestat.c: Likewise.
* malloc/mtrace.pl: Likewise.
* manual/crypt.texi: Likewise.
* manual/install.texi: Likewise.
* nss/makedb.c: Likewise.

2004-05-14  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Only
CHECK_STATIC_TLS if sym != NULL.
* sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rela): Likewise.

2004-05-12  Andreas Schwab  <schwab@suse.de>

* posix/regex_internal.c (build_wcs_buffer): Also set pstr->mbs
when translating.

2004-05-13  H.J. Lu  <hongjiu.lu@intel.com>

* Rules (xtests): Depend on tests.

20 years ago[BZ #111]
Ulrich Drepper [Mon, 17 May 2004 18:05:37 +0000 (18:05 +0000)]
[BZ #111]

Update.
2004-05-15  Petter Reinholdtsen  <pere@hungry.com>

* locales/it_IT: Change currency formatting from none to two
fraction dicits, as Italy now uses the Euro.  Patch from Marko
Djukic. [BZ #111]

20 years agoUpdate.
Ulrich Drepper [Mon, 17 May 2004 05:17:12 +0000 (05:17 +0000)]
Update.

2004-05-16  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Correct some
unwind info.

* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:
Parametrize frame size.  Correct some unwind info.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.

20 years agoUpdate.
Ulrich Drepper [Thu, 13 May 2004 17:39:36 +0000 (17:39 +0000)]
Update.

2004-05-13  Jakub Jelinek  <jakub@redhat.com>

* libio/genops.c (_IO_default_xsputn): Avoid one overflow per char if
count is negative, yet write_ptr < write_end.
(_IO_default_xsgetn): Avoid one underflow per char if count is
negative, yet read_ptr < read_end.

20 years agoUpdate.
Ulrich Drepper [Thu, 13 May 2004 02:17:12 +0000 (02:17 +0000)]
Update.

2004-05-12  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XTABS): Define XTABS
equal to TAB3.

20 years agoUpdate.
Ulrich Drepper [Wed, 12 May 2004 17:25:11 +0000 (17:25 +0000)]
Update.

2004-05-12  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-lookup.c (_dl_lookup_symbol_x): Correct _dl_signal_cerror
call.

20 years ago(_dl_lookup_symbol_x): Correct _dl_signal_cerror call.
Ulrich Drepper [Wed, 12 May 2004 17:24:49 +0000 (17:24 +0000)]
(_dl_lookup_symbol_x): Correct _dl_signal_cerror call.

20 years ago* hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "".
Roland McGrath [Mon, 10 May 2004 20:11:35 +0000 (20:11 +0000)]
* hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "".

(__hurd_directory_name_split): Likewise.

20 years ago2004-04-30 Roland McGrath <roland@frob.com>
Roland McGrath [Mon, 10 May 2004 20:11:11 +0000 (20:11 +0000)]
2004-04-30  Roland McGrath  <roland@frob.com>

* hurd/hurdlookup.c (__hurd_file_name_split): Return ENOENT for "".
(__hurd_directory_name_split): Likewise.

20 years agoUpdate.
Ulrich Drepper [Mon, 10 May 2004 20:10:36 +0000 (20:10 +0000)]
Update.

2004-05-10  Ulrich Drepper  <drepper@redhat.com>

* po/fr.po: Update from translation team.

20 years agoUpdate from translation team.
Ulrich Drepper [Mon, 10 May 2004 20:07:45 +0000 (20:07 +0000)]
Update from translation team.

20 years agoUpdate.
Andreas Jaeger [Mon, 10 May 2004 14:42:35 +0000 (14:42 +0000)]
Update.

2004-05-10  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
Correctly compute alignment.
Patch by Michael Matz <matz@suse.de>.

20 years ago (__makecontext): Correctly compute alignment.
Andreas Jaeger [Mon, 10 May 2004 14:42:28 +0000 (14:42 +0000)]
 (__makecontext): Correctly compute alignment.

20 years agoUpdate.
Ulrich Drepper [Mon, 10 May 2004 04:49:53 +0000 (04:49 +0000)]
Update.

2004-05-09  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/sigpause.c: Prevent sigpause prototype.
* sysdeps/posix/sigpause.c: Likewise.
* signal/signal.h: Don't define sigpause macro unless needed.

20 years agoUpdate.
Ulrich Drepper [Sun, 9 May 2004 17:30:53 +0000 (17:30 +0000)]
Update.

2004-05-08  Jakub Jelinek  <jakub@redhat.com>

* configure.in (libc_cv_libgcc_s_suffix): New check.
(libc_cv_as_needed): Use -lgcc_s$libc_cv_libgcc_s_suffix.
* config.make.in (libgcc_s_suffix): Set.
* Makeconfig (libgcc_eh): Use -lgcc_s$(libgcc_s_suffix).

20 years agoUpdate.
Ulrich Drepper [Sat, 8 May 2004 16:43:13 +0000 (16:43 +0000)]
Update.

2004-05-08  Ulrich Drepper  <drepper@redhat.com>

* signal/signal.h: Use BSD sigpause only if BSD behavior is preferred.

20 years agoUpdate.
Ulrich Drepper [Fri, 7 May 2004 23:06:55 +0000 (23:06 +0000)]
Update.

2004-04-29  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_1,
LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
Load argument values into temporary variables.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_1,
LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6):
Likewise.

20 years agoUpdate.
Ulrich Drepper [Fri, 7 May 2004 20:46:26 +0000 (20:46 +0000)]
Update.

2004-05-07  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/Makefile: mq_send.c and mq_receive.c
need to be compiled with exceptions.

20 years agoUpdate.
Ulrich Drepper [Fri, 7 May 2004 03:57:57 +0000 (03:57 +0000)]
Update.

* sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Fix memory handling.
* sysdeps/generic/ifreq.c (__ifreq): Fix memory handling.

* resolv/res_hconf.c (_res_hconf_reorder_addrs): Make clear that
realloc cannot fail.

* nss/nss_files/files-netgrp.c (EXPAND): Free buffer which cannot
be expanded.

* nis/nis_table.c: Clean up memory handling.
* nis/nis_subr.c (nis_getnames): Clean up memory handling.
* nis/nis_removemember.c (nis_removemember): Add comment
explaining use of realloc.

20 years agoUpdate.
Ulrich Drepper [Fri, 7 May 2004 02:14:18 +0000 (02:14 +0000)]
Update.

2004-05-06  Ulrich Drepper  <drepper@redhat.com>

* math/tgmath.h (fabs): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL.
(carg): Likewise.
Patch by Lev S Bishop <lev.bishop@yale.edu>.

* math/bug-tgmath1.c (main): Test fabs and carg as well.

2004-05-06  Richard Henderson  <rth@redhat.com>

* elf/elf.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,
AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
* sysdeps/unix/sysv/linux/alpha/Versions: Export
__libc_alpha_cache_shape as a private symbol.
* sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: New file.
* sysdeps/unix/sysv/linux/alpha/sysconf.c: New file.

* sysdeps/alpha/divl.S: Use them.
* sysdeps/alpha/divq.S: Likewise.
* sysdeps/alpha/divqu.S: Likewise.
* sysdeps/alpha/reml.S: Likewise.
* sysdeps/alpha/remq.S: Likewise.
* sysdeps/alpha/remqu.S: Likewise.

20 years ago(AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE, AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.
Ulrich Drepper [Fri, 7 May 2004 01:56:25 +0000 (01:56 +0000)]
(AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE, AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New.

20 years ago * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New. ...
Richard Henderson [Thu, 6 May 2004 22:01:01 +0000 (22:01 +0000)]
    * sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.         * sysdeps/alpha/divl.S, sysdeps/alpha/divq.S, sysdeps/alpha/divqu.S,         sysdeps/alpha/reml.S, sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S:         Use them.

2004-05-06  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/div_libc.h (_ITOFS, _ITOFT, _FTOIT, _ITOFT2): New.
* sysdeps/alpha/divl.S, sysdeps/alpha/divq.S, sysdeps/alpha/divqu.S,
sysdeps/alpha/reml.S, sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S:
Use them.

20 years agoUpdate.
Ulrich Drepper [Thu, 6 May 2004 18:58:29 +0000 (18:58 +0000)]
Update.

2004-05-06  Ulrich Drepper  <drepper@redhat.com>

* math/tgmath.h (__TGMATH_UNARY_REAL_IMAG_RET_REAL):Define.
(cimag): Use it.
(creal): Likewise.
* math/Makefile (tests): Add bug-tgmath1.
* math/bug-tgmath1.c: New file.

20 years agoUpdate.
Ulrich Drepper [Wed, 5 May 2004 18:43:04 +0000 (18:43 +0000)]
Update.

2004-05-05  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/alpha/atomicity.h: Remove.
* sysdeps/generic/atomicity.h: Remove.

2004-05-05  H.J. Lu  <hongjiu.lu@intel.com>

* sysdeps/i386/i486/bits/string.h (strpbrk): Cast return to
char *.

20 years agoUpdate.
Ulrich Drepper [Tue, 4 May 2004 19:25:38 +0000 (19:25 +0000)]
Update.

* sysdeps/unix/sysv/linux/ia64/Makefile (librt-routines): Mention
  rt-sysdep.
* sysdeps/unix/sysv/linux/ia64/rt-sysdep.S: New file.

20 years agoUpdate.
Ulrich Drepper [Tue, 4 May 2004 18:26:59 +0000 (18:26 +0000)]
Update.

2004-04-22  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/ia64/strcat.c: New file.
* sysdeps/ia64/strcat.S: Delete.

20 years agoUpdate.
Ulrich Drepper [Tue, 4 May 2004 16:47:14 +0000 (16:47 +0000)]
Update.

2004-05-04  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove
defined.

20 years agoUpdate.
Ulrich Drepper [Mon, 3 May 2004 22:40:52 +0000 (22:40 +0000)]
Update.

2004-04-23  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Add
libc_hidden_proto.  Define to __GI___libm_error_support for
assembly going into libc.so.
* sysdeps/ia64/fpu/libc_libm_error.c (__libm_error_support): Add
libc_hidden_def.

* include/libc-symbols.h (HIDDEN_BUILTIN_JUMPTARGET): Define.
* sysdeps/ia64/bcopy.S (bcopy): Use it for jump to memmove.

* sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Access
gprel errno if RTLD_PRIVATE_ERRNO or __thread __libc_errno/errno
if USE___THREAD.

20 years agoUpdate.
Ulrich Drepper [Mon, 3 May 2004 21:40:30 +0000 (21:40 +0000)]
Update.

* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):

20 years agoUpdate.
Ulrich Drepper [Mon, 3 May 2004 21:40:12 +0000 (21:40 +0000)]
Update.

2004-05-03  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/bsd/bits/fcntl.h (F_SETOWN, F_GETOWN): Define if
__USE_BSD or __USE_UNIX98.
* sysdeps/unix/bsd/ultrix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
* sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
* sysdeps/unix/bsd/sun/sunos4/bits/fcntl.h (F_SETOWN, F_GETOWN):
Likewise.
* sysdeps/unix/common/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
* sysdeps/unix/sysv/aix/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
* sysdeps/unix/sysv/irix4/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (F_SETOWN, F_GETOWN):
Likewise.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_SETOWN, F_GETOWN):
Likewise.
* sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_SETOWN, F_GETOWN):
Likewise.
*sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (F_SETOWN, F_GETOWN):
Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_SETOWN, F_GETOWN):
Likewise.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN, F_GETOWN):
Likewise.
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h (F_SETOWN, F_GETOWN):
Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h (F_SETOWN, F_GETOWN):
Likewise.
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN, F_GETOWN):
Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (F_SETOWN, F_GETOWN):
Likewise.
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h (F_SETOWN, F_GETOWN):
Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_SETOWN, F_GETOWN):
Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (F_SETOWN, F_GETOWN):
Likewise.
* sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
* sysdeps/mach/hurd/bits/fcntl.h (F_SETOWN, F_GETOWN): Likewise.
* io/sys/stat.h (S_ISSOCK, S_IFSOCK): Likewise.

2004-05-01  Jakub Jelinek  <jakub@redhat.com>

* posix/Versions (libc): Remove __libc_wait, __libc_waitpid,
__libc_pause, __libc_nanosleep, __libc_pread, __libc_pread64,
__libc_pwrite64, __waitid and __pselect @@GLIBC_PRIVATE.
* stdlib/Versions (libc): Remove __on_exit@@GLIBC_PRIVATE.
* sysdeps/unix/sysv/linux/Versions (libc): Remove
__libc_sigaction@@GLIBC_PRIVATE.
* sysdeps/unix/sysv/linux/x86_64/Versions (libc): Remove
__modify_ldt@@GLIBC_PRIVATE.
* socket/Versions (libc): Remove __libc_accept, __libc_send,
__libc_recvfrom, __libc_recvmsg, __libc_sendmsg, __libc_recv,
__libc_sendto and __libc_connect @@GLIBC_PRIVATE.
* stdio-common/Versions (libc): Remove
_itoa_upper_digits@@GLIBC_PRIVATE.
* resolv/Versions (libresolv): Remove __ns_samename@@GLIBC_PRIVATE.
* misc/Versions (libc): Remove __libc_fsync, __libc_msync,
__libc_readv and __libc_writev @@GLIBC_PRIVATE.
* termios/Versions (libc): Remove __libc_tcdrain@@GLIBC_PRIVATE.
* io/Versions (libc): Remove __libc_open, __libc_close, __libc_read,
__libc_write, __libc_lseek, __libc_fcntl, __libc_open64 and
__libc_lseek64 @@GLIBC_PRIVATE.

2004-04-30  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-load.c (open_verify): Move e_phentsize check after e_type
check.

2004-04-29  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc64/fpu/s_ceil.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_floor.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_floorf.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_llrint.c: Removed.
* sysdeps/powerpc/powerpc64/fpu/s_llrint.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Removed.
* sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_llround.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_lround.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_rint.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_rintf.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_round.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_roundf.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_trunc.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_truncf.S: New file.

* math/test-misc.c [LDBL_MANT_DIG == 106](main): Correct LDBL_MAX
mantissa for AIX long double format.
* misc/qefgcvt.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Define for AIX
long double format.
* misc/qefgcvt_r.c [LDBL_MANT_DIG == 106] (NDIGIT_MAX): Likewise.
* stdlib/fpioconst.c [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
(_fpioconst_pow10): AIX long double format has same exponent range as
double.
* stdlib/fpioconst.h [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__>1024]
(LDBL_MAX_10_EXP_LOG): AIX long double format has same exponent range
as double.

2004-04-23  Art Haas  <ahaas@airmail.net>

* sysdeps/unix/sysv/linux/kernel-features.h: Add 'defined'.

20 years agoAdd 'defined'.
Ulrich Drepper [Mon, 3 May 2004 20:47:12 +0000 (20:47 +0000)]
Add 'defined'.

20 years ago[BZ #130, BZ #131]
Roland McGrath [Thu, 29 Apr 2004 21:55:45 +0000 (21:55 +0000)]
[BZ #130, BZ #131]

2004-04-28  Carlos O'Donell  <carlos@baldric.uwo.ca>
* sysdeps/unix/sysv/linux/mq_getattr.c: Include <stddef.h>.
* sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
* sysdeps/unix/sysv/linux/mq_open.c: Likewise.
* sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
* sysdeps/unix/sysv/linux/mq_send.c: Likewise.

* manual/resource.texi (sched_setaffinity, sched_getaffinity): Fix
prototypes and description [BZ #131].

* string/bits/string2.h (strpbrk): Cast NULL to char * [BZ #130].
Patch by Ed Catmur <ed@catmur.co.uk>.
* string/tst-inlcall.c (main): Add test for strpbrk.

20 years ago[BZ #140]
Roland McGrath [Thu, 29 Apr 2004 20:09:32 +0000 (20:09 +0000)]
[BZ #140]

2004-04-29  Philip Blundell  <pb@nexus.co.uk>
* sysdeps/arm/dl-machine.h (RTLD_START): Avoid unnecessary GOT
entries.

[BZ #140]
* sysdeps/unix/sysv/linux/sys/sysctl.h: Remove linux/compiler.h
include.
(_LINUX_KERNEL_H, _LINUX_TYPES_H, _LINUX_LIST_H): Only define if not
yet defined, #undef back after including linux/sysctl.h if defined
here.
(__LINUX_COMPILER_H, __user): Define if not yet defined, #undef
back after including linux/sysctl.h if defined here.

20 years ago[BZ #139]
Roland McGrath [Thu, 29 Apr 2004 20:02:44 +0000 (20:02 +0000)]
[BZ #139]

2004-04-29  Jakub Jelinek  <jakub@redhat.com>
* sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31
for single precision register, add it to __asm clobbers [BZ #139].
* sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31
for single precision register, add it to __asm clobbers.
* sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox
instead of fqtoi in QP_HANDLE_EXCEPTIONS.
* sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise.
Reported by M. H. VanLeeuwen <vanl@megsinet.net>.

20 years ago[BZ #139]
Roland McGrath [Thu, 29 Apr 2004 20:02:34 +0000 (20:02 +0000)]
[BZ #139]

2004-04-29  Jakub Jelinek  <jakub@redhat.com>
* sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c (_Qp_qtoi): Use %f31
for single precision register, add it to __asm clobbers [BZ #139].
* sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c (_Qp_qtoui): Use %f31
for single precision register, add it to __asm clobbers.
* sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c (_Qp_qtoux): Use fqtox
instead of fqtoi in QP_HANDLE_EXCEPTIONS.
* sysdeps/sparc/sparc64/soft-fp/qp_qtox.c (_Qp_qtox): Likewise.
Reported by M. H. VanLeeuwen <vanl@megsinet.net>.

20 years ago* sysdeps/unix/sysv/linux/m68k/register-dump.h: Use
Andreas Schwab [Fri, 23 Apr 2004 20:41:51 +0000 (20:41 +0000)]
* sysdeps/unix/sysv/linux/m68k/register-dump.h: Use

__attribute_used__.