kopensolaris-gnu/glibc.git
16 years agoUpdate.
drepper [Thu, 25 Mar 2004 23:04:58 +0000 (23:04 +0000)]
Update.

16 years ago(__strtol_ul_max_tab, __strtol_ull_max_tab, __strtol_ull_rem_tab,
drepper [Thu, 25 Mar 2004 22:58:59 +0000 (22:58 +0000)]
(__strtol_ul_max_tab, __strtol_ull_max_tab, __strtol_ull_rem_tab,
__strtol_ul_rem_tab, cutoff_tab, cutlim_tab, jmax_tab): New.
(__strtol_l): Use them to avoid runtime division.

16 years ago.
roland [Thu, 25 Mar 2004 03:54:03 +0000 (03:54 +0000)]
.

16 years ago2004-03-24 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Mar 2004 03:53:49 +0000 (03:53 +0000)]
2004-03-24  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/pthread_spin_lock.c (pthread_spin_lock): Use "m"
constraint instead of "0".

16 years ago2004-03-24 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Mar 2004 03:53:30 +0000 (03:53 +0000)]
2004-03-24  Roland McGrath  <roland@redhat.com>

* fetch-value.c (_td_locate_field): Cast DB_DESC_OFFSET to int32_t.
* thread_dbP.h (DB_DESC_OFFSET): Remove cast from definition.

16 years ago.
roland [Thu, 25 Mar 2004 03:52:54 +0000 (03:52 +0000)]
.

16 years ago2004-03-24 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Mar 2004 03:51:58 +0000 (03:51 +0000)]
2004-03-24  Roland McGrath  <roland@redhat.com>

* Makerules ($(common-objpfx)shlib.lds): Don't use \n in rhs of sed
substitutions; the semicolon terminators are enough for ld anyway.

16 years ago2004-03-24 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Mar 2004 03:51:55 +0000 (03:51 +0000)]
2004-03-24  Roland McGrath  <roland@redhat.com>

* iconv/gconv_int.h (norm_add_slashes): Don't handle null SUFFIX.
strlen ("") gets optimized away just as well.
* intl/loadmsgcat.c (_nl_init_domain_conv): Update caller.
* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.

16 years ago2004-03-24 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Mar 2004 03:51:53 +0000 (03:51 +0000)]
2004-03-24  Roland McGrath  <roland@redhat.com>

* elf/dl-deps.c (_dl_map_object_deps): Use alloca instead of
dynamically sized auto array in function already using alloca.
* locale/programs/ld-ctype.c (ctype_output): Likewise.
* locale/programs/ld-time.c (time_output): Likewise.
* elf/dl-misc.c (_dl_debug_vdprintf): Use macro instead of const for
IOV array size.
* locale/programs/charmap.c (charmap_read): Avoid alloca (or strdupa)
when also using dynamically-sized auto array.
* locale/programs/locfile.c (locfile_read): Likewise.
* locale/programs/repertoire.c (repertoire_read): Likewise.
* nis/nis_print_group_entry.c (nis_print_group_entry): Likewise.
* locale/programs/locarchive.c (enlarge_archive): Likewise.
* posix/annexc.c (check_header): Likewise.

16 years ago.
roland [Thu, 25 Mar 2004 02:01:48 +0000 (02:01 +0000)]
.

16 years ago2004-03-24 Roland McGrath <roland@redhat.com>
roland [Thu, 25 Mar 2004 02:01:27 +0000 (02:01 +0000)]
2004-03-24  Roland McGrath  <roland@redhat.com>

* Makefile ($(objpfx)c++-types-check.out): Reduce duplication in
defining this target.  Also elide -Wstrict-prototypes from CFLAGS.

16 years agoUpdate.
drepper [Wed, 24 Mar 2004 23:53:39 +0000 (23:53 +0000)]
Update.

16 years ago[!COMPILE_WSCANF] (TOLOWER): Cast first parameter to unsigned char.
drepper [Wed, 24 Mar 2004 23:52:26 +0000 (23:52 +0000)]
[!COMPILE_WSCANF] (TOLOWER): Cast first parameter to unsigned char.

16 years ago[_LIBC] (TOLOWER): Cast first parameter to unsigned char.
drepper [Wed, 24 Mar 2004 23:47:46 +0000 (23:47 +0000)]
[_LIBC] (TOLOWER): Cast first parameter to unsigned char.

16 years agoUpdate.
drepper [Wed, 24 Mar 2004 23:26:10 +0000 (23:26 +0000)]
Update.

16 years ago(lll_mutex_cond_trylock): Define as wrapper around __lll_cond_trylock.
drepper [Wed, 24 Mar 2004 23:25:37 +0000 (23:25 +0000)]
(lll_mutex_cond_trylock): Define as wrapper around __lll_cond_trylock.

16 years agoUpdate.
drepper [Wed, 24 Mar 2004 22:05:34 +0000 (22:05 +0000)]
Update.

16 years agoRemove __powerpc64__ conditional.
drepper [Wed, 24 Mar 2004 22:04:37 +0000 (22:04 +0000)]
Remove __powerpc64__ conditional.

16 years agoUpdate.
drepper [Wed, 24 Mar 2004 22:03:54 +0000 (22:03 +0000)]
Update.

16 years agoAdjust description, since test-* append
drepper [Wed, 24 Mar 2004 22:02:22 +0000 (22:02 +0000)]
Adjust description, since test-* append
to ULPs instead of overwriting it.

16 years ago(INTERNAL (__STRTOF)): Clear the rest of retval,
drepper [Wed, 24 Mar 2004 21:59:37 +0000 (21:59 +0000)]
(INTERNAL (__STRTOF)): Clear the rest of retval,
not just one limb if RETURN_LIMB_SIZE > 2.  Fix shifting up if
RETURN_LIMB_SIZE > 2.

16 years ago(__printf_fp): For IEEE quad long double on 32-bit architectures reserve
drepper [Wed, 24 Mar 2004 21:51:47 +0000 (21:51 +0000)]
(__printf_fp): For IEEE quad long double on 32-bit architectures reserve
8 limbs instead of 4.

16 years ago(really_getpid): Typo.
drepper [Wed, 24 Mar 2004 20:53:47 +0000 (20:53 +0000)]
(really_getpid): Typo.

16 years agoUpdate.
drepper [Wed, 24 Mar 2004 20:52:17 +0000 (20:52 +0000)]
Update.

16 years ago(really_getpid): Reorganize code to avoid warning.
drepper [Wed, 24 Mar 2004 20:50:12 +0000 (20:50 +0000)]
(really_getpid): Reorganize code to avoid warning.

16 years ago (__pthread_attr_setaffinity_old): Remove const.
aj [Wed, 24 Mar 2004 13:53:13 +0000 (13:53 +0000)]
(__pthread_attr_setaffinity_old): Remove const.

16 years ago(__pthread_attr_setaffinity_old): Remove const.
aj [Wed, 24 Mar 2004 13:52:34 +0000 (13:52 +0000)]
(__pthread_attr_setaffinity_old): Remove const.

16 years agoUpdate.
drepper [Wed, 24 Mar 2004 06:36:06 +0000 (06:36 +0000)]
Update.

16 years agoBump to 0.61.
drepper [Wed, 24 Mar 2004 06:35:38 +0000 (06:35 +0000)]
Bump to 0.61.

16 years agoDefine lll_mutex_cond_trylock.
drepper [Wed, 24 Mar 2004 06:35:18 +0000 (06:35 +0000)]
Define lll_mutex_cond_trylock.
Define BUSY_WAIT_NOP.

16 years agoDefine lll_mutex_cond_trylock.
drepper [Wed, 24 Mar 2004 06:34:58 +0000 (06:34 +0000)]
Define lll_mutex_cond_trylock.

16 years ago(pthread_mutex_t): Add __spins field.
drepper [Wed, 24 Mar 2004 06:29:56 +0000 (06:29 +0000)]
(pthread_mutex_t): Add __spins field.

16 years agoAdd comment regarding __spins field.
drepper [Wed, 24 Mar 2004 06:28:07 +0000 (06:28 +0000)]
Add comment regarding __spins field.

16 years agoAdd comment regarding __spins field.
drepper [Wed, 24 Mar 2004 06:27:30 +0000 (06:27 +0000)]
Add comment regarding __spins field.

16 years agoAdd comment regarding __spins field.
drepper [Wed, 24 Mar 2004 06:26:49 +0000 (06:26 +0000)]
Add comment regarding __spins field.

16 years agoDeclare __is_smp.
drepper [Wed, 24 Mar 2004 06:26:21 +0000 (06:26 +0000)]
Declare __is_smp.
Define MAX_ADAPTIVE_COUNT is necessary.

16 years agoDefine __is_smp.
drepper [Wed, 24 Mar 2004 06:25:35 +0000 (06:25 +0000)]
Define __is_smp.
(__pthread_initialize_minimal_internal): Call is_smp_system to
initialize __is_smp.

16 years agoDummy definition for is_smp_system function.
drepper [Wed, 24 Mar 2004 06:24:30 +0000 (06:24 +0000)]
Dummy definition for is_smp_system function.

16 years agoDetermine whether system is SMP.
drepper [Wed, 24 Mar 2004 06:24:08 +0000 (06:24 +0000)]
Determine whether system is SMP.

16 years ago(tests): Add tst-mutex5a and tst-mutex7a.
drepper [Wed, 24 Mar 2004 06:23:11 +0000 (06:23 +0000)]
(tests): Add tst-mutex5a and tst-mutex7a.

16 years agoTest for adaptive mutexes.
drepper [Wed, 24 Mar 2004 06:22:38 +0000 (06:22 +0000)]
Test for adaptive mutexes.

16 years agoAdd support for testing adaptive mutexes.
drepper [Wed, 24 Mar 2004 06:22:12 +0000 (06:22 +0000)]
Add support for testing adaptive mutexes.

16 years agoUpdate.
drepper [Wed, 24 Mar 2004 01:56:21 +0000 (01:56 +0000)]
Update.

16 years ago(__lll_mutex_timedlock_wait): Preserve r8 and r9 since the
drepper [Wed, 24 Mar 2004 01:55:56 +0000 (01:55 +0000)]
(__lll_mutex_timedlock_wait): Preserve r8 and r9 since the
vgettimeofday call miht destroy the content.

16 years agoUpdate.
drepper [Wed, 24 Mar 2004 00:06:13 +0000 (00:06 +0000)]
Update.

16 years ago(pthread_spin_lock): Use hint @pause in the loop.
drepper [Wed, 24 Mar 2004 00:05:17 +0000 (00:05 +0000)]
(pthread_spin_lock): Use hint @pause in the loop.

16 years agoUpdate.
drepper [Tue, 23 Mar 2004 23:33:12 +0000 (23:33 +0000)]
Update.

16 years ago(__NR_pread, __NR_pwrite): Define to __NR_p{read,write}64 if not
drepper [Tue, 23 Mar 2004 23:32:03 +0000 (23:32 +0000)]
(__NR_pread, __NR_pwrite): Define to __NR_p{read,write}64 if not
defined instead of defining it the other way around.

16 years ago(__NR_pread, __NR_pwrite): Define to __NR_p{read,write}64 if not defined.
drepper [Tue, 23 Mar 2004 23:31:47 +0000 (23:31 +0000)]
(__NR_pread, __NR_pwrite): Define to __NR_p{read,write}64 if not defined.

16 years agoMove common syscalls for 64bit arches to
drepper [Tue, 23 Mar 2004 23:31:17 +0000 (23:31 +0000)]
Move common syscalls for 64bit arches to
sysdeps/unix/sysv/linux/wordsize-64/syscalls.list.

16 years agoNot needed anymore.
drepper [Tue, 23 Mar 2004 23:26:58 +0000 (23:26 +0000)]
Not needed anymore.

16 years agoImplied additional directories.
drepper [Tue, 23 Mar 2004 23:26:24 +0000 (23:26 +0000)]
Implied additional directories.

16 years agoConsolidated 64bit support for Linux.
drepper [Tue, 23 Mar 2004 23:25:52 +0000 (23:25 +0000)]
Consolidated 64bit support for Linux.

16 years agoUpdate.
drepper [Tue, 23 Mar 2004 10:01:06 +0000 (10:01 +0000)]
Update.

16 years ago(lll_mutex_trylock): No need to restrict type of ret. Make it int.
drepper [Tue, 23 Mar 2004 10:00:29 +0000 (10:00 +0000)]
(lll_mutex_trylock): No need to restrict type of ret.  Make it int.
Add comment.

16 years agoUpdate.
drepper [Tue, 23 Mar 2004 09:26:12 +0000 (09:26 +0000)]
Update.

16 years ago(BUSY_WAIT_NOP): Define.
drepper [Tue, 23 Mar 2004 09:25:45 +0000 (09:25 +0000)]
(BUSY_WAIT_NOP): Define.

16 years ago(BUSY_WAIT_NOP): Define.
drepper [Tue, 23 Mar 2004 09:13:22 +0000 (09:13 +0000)]
(BUSY_WAIT_NOP): Define.

16 years agoUpdate.
drepper [Tue, 23 Mar 2004 08:39:26 +0000 (08:39 +0000)]
Update.

16 years ago(lll_mutex_trylock): Remove unnecessary setne instruction.
drepper [Tue, 23 Mar 2004 08:38:53 +0000 (08:38 +0000)]
(lll_mutex_trylock): Remove unnecessary setne instruction.

16 years agoUpdate.
drepper [Tue, 23 Mar 2004 07:37:19 +0000 (07:37 +0000)]
Update.

16 years agoMake sure yesexpr and noexpr regex start with '^'.
drepper [Tue, 23 Mar 2004 07:36:58 +0000 (07:36 +0000)]
Make sure yesexpr and noexpr regex start with '^'.

16 years ago * sysdeps/alpha/s_fabs.S: Remove file.
rth [Tue, 23 Mar 2004 01:18:22 +0000 (01:18 +0000)]
    * sysdeps/alpha/s_fabs.S: Remove file.
        * sysdeps/alpha/s_copysign.S: Remove file.

16 years agoUpdate.
drepper [Mon, 22 Mar 2004 19:54:06 +0000 (19:54 +0000)]
Update.

16 years ago(__getpagesize): Avoid warning about writing into read-only memory.
drepper [Mon, 22 Mar 2004 19:49:39 +0000 (19:49 +0000)]
(__getpagesize): Avoid warning about writing into read-only memory.

16 years ago(routines): Add xpg-strerror.
drepper [Mon, 22 Mar 2004 19:48:51 +0000 (19:48 +0000)]
(routines): Add xpg-strerror.

16 years ago(strerror_r): If __USE_XOPEN2K but not __USE_GNU, redirect strerror_r to
drepper [Mon, 22 Mar 2004 19:48:38 +0000 (19:48 +0000)]
(strerror_r): If __USE_XOPEN2K but not __USE_GNU, redirect strerror_r to
__xpg_strerror_r.

16 years ago(libc): Add __xpg_strerror_r@@GLIBC_2.3.4.
drepper [Mon, 22 Mar 2004 19:48:21 +0000 (19:48 +0000)]
(libc): Add __xpg_strerror_r@@GLIBC_2.3.4.

16 years agoXPG6 copmpliant strerror_r implementation.
drepper [Mon, 22 Mar 2004 19:48:10 +0000 (19:48 +0000)]
XPG6 copmpliant strerror_r implementation.

16 years agoUpdate.
drepper [Mon, 22 Mar 2004 19:33:36 +0000 (19:33 +0000)]
Update.

16 years ago(pthread_getattr_np): Double size every cycle. If realloc fails, break
drepper [Mon, 22 Mar 2004 19:33:03 +0000 (19:33 +0000)]
(pthread_getattr_np): Double size every cycle.  If realloc fails, break
out of the loop.

16 years ago(__pthread_getaffinity_new): Use INT_MAX instead of UINT_MAX.
drepper [Mon, 22 Mar 2004 19:32:45 +0000 (19:32 +0000)]
(__pthread_getaffinity_new): Use INT_MAX instead of UINT_MAX.

16 years agoUpdate.
aj [Mon, 22 Mar 2004 10:53:16 +0000 (10:53 +0000)]
Update.

16 years ago2004-03-20 Joseph S. Myers <jsm@polyomino.org.uk>
aj [Mon, 22 Mar 2004 10:52:33 +0000 (10:52 +0000)]
2004-03-20  Joseph S. Myers  <jsm@polyomino.org.uk>

* sunrpc/rpc/xdr.h (IXDR_GET_LONG, IXDR_PUT_LONG): Do not use
casts as lvalues.

16 years ago (unload): Remove unused variable.
aj [Mon, 22 Mar 2004 10:51:01 +0000 (10:51 +0000)]
 (unload): Remove unused variable.

16 years ago (main): Use tmpfile instead of tmpnam.
aj [Mon, 22 Mar 2004 10:50:50 +0000 (10:50 +0000)]
 (main): Use tmpfile instead of tmpnam.

16 years ago(_dl_make_stack_executable): Disable for static linking.
roland [Sat, 20 Mar 2004 20:30:05 +0000 (20:30 +0000)]
(_dl_make_stack_executable): Disable for static linking.

16 years ago.
roland [Sat, 20 Mar 2004 20:19:29 +0000 (20:19 +0000)]
.

16 years ago2004-03-20 Roland McGrath <roland@frob.com>
roland [Sat, 20 Mar 2004 20:19:09 +0000 (20:19 +0000)]
2004-03-20  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/dl-execstack.c: New file.

16 years agoUpdate.
drepper [Sat, 20 Mar 2004 17:26:44 +0000 (17:26 +0000)]
Update.

16 years agoUpdate from translation team.
drepper [Sat, 20 Mar 2004 17:25:52 +0000 (17:25 +0000)]
Update from translation team.

16 years ago * sysdeps/unix/sysv/linux/pthread_setaffinity.c
aj [Sat, 20 Mar 2004 07:39:03 +0000 (07:39 +0000)]
* sysdeps/unix/sysv/linux/pthread_setaffinity.c
(__pthread_setaffinity_old): Fix interface.
* sysdeps/unix/sysv/linux/pthread_getaffinity.c
(__pthread_getaffinity_old): Likewise.

* sysdeps/unix/sysv/linux/pthread_setaffinity.c
(__pthread_setaffinity_new): Remove duplicate declaration.

16 years agoUpdate.
aj [Sat, 20 Mar 2004 06:43:04 +0000 (06:43 +0000)]
Update.

16 years ago(__sched_setaffinity_old): Fix interface.
aj [Sat, 20 Mar 2004 06:42:37 +0000 (06:42 +0000)]
(__sched_setaffinity_old): Fix interface.
Include <alloca.h>.

16 years ago(__sched_getaffinity_old): Fix interface.
aj [Sat, 20 Mar 2004 06:42:17 +0000 (06:42 +0000)]
(__sched_getaffinity_old): Fix interface.

16 years agoUpdate.
drepper [Sat, 20 Mar 2004 06:16:26 +0000 (06:16 +0000)]
Update.

16 years agoAdd unwind information for syscall wrappers.
drepper [Sat, 20 Mar 2004 06:16:04 +0000 (06:16 +0000)]
Add unwind information for syscall wrappers.

16 years ago(__new_sem_wait): Add correct cleanup support and unwind info.
drepper [Sat, 20 Mar 2004 06:15:50 +0000 (06:15 +0000)]
(__new_sem_wait): Add correct cleanup support and unwind info.

16 years ago(__pthread_once): Add correct cleanup support and unwind info.
drepper [Sat, 20 Mar 2004 06:15:28 +0000 (06:15 +0000)]
(__pthread_once): Add correct cleanup support and unwind info.

16 years ago(__pthread_cond_wait): Don't store mutex address if the current
drepper [Sat, 20 Mar 2004 06:15:14 +0000 (06:15 +0000)]
(__pthread_cond_wait): Don't store mutex address if the current
value is ~0l.  Add correct cleanup support and unwind info.

16 years ago(__pthread_cond_wait): Don't store mutex address if the current
drepper [Sat, 20 Mar 2004 06:15:02 +0000 (06:15 +0000)]
(__pthread_cond_wait): Don't store mutex address if the current
value is ~0l.  Add correct cleanup support and unwind info.

16 years agoUpdate comment.
drepper [Sat, 20 Mar 2004 06:14:36 +0000 (06:14 +0000)]
Update comment.

16 years ago(__pthread_cond_broadcast): Don't use requeue for pshared condvars.
drepper [Sat, 20 Mar 2004 06:14:23 +0000 (06:14 +0000)]
(__pthread_cond_broadcast): Don't use requeue for pshared condvars.

16 years ago(pthread_barrier_wait): After wakeup, release lock only when the
drepper [Sat, 20 Mar 2004 06:14:06 +0000 (06:14 +0000)]
(pthread_barrier_wait): After wakeup, release lock only when the
last thread stopped using the barrier object.

16 years ago(__lll_mutex_lock_wait): Rewrite so that only one locked memory operation
drepper [Sat, 20 Mar 2004 06:13:33 +0000 (06:13 +0000)]
(__lll_mutex_lock_wait): Rewrite so that only one locked memory operation
per round is needed.

16 years ago(XCHG): Define.
drepper [Sat, 20 Mar 2004 06:13:03 +0000 (06:13 +0000)]
(XCHG): Define.

16 years agoUpdate.
drepper [Sat, 20 Mar 2004 06:12:35 +0000 (06:12 +0000)]
Update.

16 years agoAdd unwind information.
drepper [Sat, 20 Mar 2004 06:11:49 +0000 (06:11 +0000)]
Add unwind information.

16 years ago(__ASSUME_CLONE_THREAD_FLAGS ): Define for newer SH kernel.
drepper [Sat, 20 Mar 2004 06:11:37 +0000 (06:11 +0000)]
(__ASSUME_CLONE_THREAD_FLAGS ): Define for newer SH kernel.
(__ASSUME_TGKILL, __ASSUME_UTIMES): Likewise.

16 years agoUpdate.
drepper [Sat, 20 Mar 2004 04:42:40 +0000 (04:42 +0000)]
Update.