kopensolaris-gnu/glibc.git
16 years ago(saveit): Improve memory. No need to allocate multiple blocks.
drepper [Mon, 29 Mar 2004 21:46:07 +0000 (21:46 +0000)]
(saveit): Improve memory.  No need to allocate multiple blocks.
(internal_nis_endrpcent): Adjust accordingly.

16 years ago(saveit): Improve memory. No need to allocate multiple blocks.
drepper [Mon, 29 Mar 2004 21:43:56 +0000 (21:43 +0000)]
(saveit): Improve memory.  No need to allocate multiple blocks.
(internal_nis_endprotoent): Adjust accordingly.

16 years ago(saveit): Improve memory. No need to allocate multiple blocks.
drepper [Mon, 29 Mar 2004 21:41:26 +0000 (21:41 +0000)]
(saveit): Improve memory.  No need to allocate multiple blocks.
(_nss_nis_initgroups_dyn): Adjust accordingly.

16 years ago(saveit): Improve memory. No need to allocate multiple blocks.
drepper [Mon, 29 Mar 2004 21:37:28 +0000 (21:37 +0000)]
(saveit): Improve memory.  No need to allocate multiple blocks.
(internal_nis_endetherent): Adjust accordingly.

16 years ago(saveit): Improve memory. No need to allocate multiple blocks.
drepper [Mon, 29 Mar 2004 21:28:25 +0000 (21:28 +0000)]
(saveit): Improve memory.  No need to allocate multiple blocks.
(internal_nis_endservent): Adjust accordingly.

16 years agoUpdate.
drepper [Mon, 29 Mar 2004 20:17:33 +0000 (20:17 +0000)]
Update.

16 years agoReturn 0 for NSS_STATUS_NOTFOUND.
drepper [Mon, 29 Mar 2004 20:16:06 +0000 (20:16 +0000)]
Return 0 for NSS_STATUS_NOTFOUND.

16 years agoUpdate.
drepper [Mon, 29 Mar 2004 20:04:20 +0000 (20:04 +0000)]
Update.

16 years ago(_nss_nis_getgrnam_r): Don't set errno if group does not exist.
drepper [Mon, 29 Mar 2004 20:02:41 +0000 (20:02 +0000)]
(_nss_nis_getgrnam_r): Don't set errno if group does not exist.

16 years agoUpdate.
drepper [Sun, 28 Mar 2004 10:55:26 +0000 (10:55 +0000)]
Update.

16 years ago(__sysconf): Handle _SC_SIGQUEUE_MAX.
drepper [Sun, 28 Mar 2004 10:52:43 +0000 (10:52 +0000)]
(__sysconf): Handle _SC_SIGQUEUE_MAX.

16 years agoUpdate.
drepper [Sat, 27 Mar 2004 03:40:33 +0000 (03:40 +0000)]
Update.

16 years ago(_make_stacks_executable): Call _dl_make_stack_executable first.
drepper [Sat, 27 Mar 2004 03:39:53 +0000 (03:39 +0000)]
(_make_stacks_executable): Call _dl_make_stack_executable first.

16 years agoUpdate.
drepper [Sat, 27 Mar 2004 03:38:27 +0000 (03:38 +0000)]
Update.

16 years ago(_dl_make_stack_executable): Also use __check_caller test.
drepper [Sat, 27 Mar 2004 03:36:25 +0000 (03:36 +0000)]
(_dl_make_stack_executable): Also use __check_caller test.

16 years ago(struct rtld_global_ro): Add _dl_check_caller field.
drepper [Sat, 27 Mar 2004 03:23:51 +0000 (03:23 +0000)]
(struct rtld_global_ro): Add _dl_check_caller field.
Define enum allowmask.  Add declaration of _dl_check_caller.

16 years ago(struct link_map): Add l_text_end field.
drepper [Sat, 27 Mar 2004 03:22:29 +0000 (03:22 +0000)]
(struct link_map): Add l_text_end field.

16 years ago(_rtld_global_ro): Initialize _dl_check_caller.
drepper [Sat, 27 Mar 2004 03:22:04 +0000 (03:22 +0000)]
(_rtld_global_ro): Initialize _dl_check_caller.
(_dl_start_final): Record l_text_end for ld.so map.
(dl_main): Record l_text_end for main object and vdso.

16 years ago(check_libc_caller): Removed.
drepper [Sat, 27 Mar 2004 03:20:10 +0000 (03:20 +0000)]
(check_libc_caller): Removed.
(dl_open_worker): Use __check_caller instead.

16 years ago(_dl_map_object_from_fd): Record l_text_end.
drepper [Sat, 27 Mar 2004 03:19:12 +0000 (03:19 +0000)]
(_dl_map_object_from_fd): Record l_text_end.

16 years ago(dl-routines): Add dl-caller.
drepper [Sat, 27 Mar 2004 03:18:23 +0000 (03:18 +0000)]
(dl-routines): Add dl-caller.

16 years ago(distribute): Add include/caller.h.
drepper [Sat, 27 Mar 2004 03:17:26 +0000 (03:17 +0000)]
(distribute): Add include/caller.h.

16 years agoCode to check call site.
drepper [Sat, 27 Mar 2004 03:14:19 +0000 (03:14 +0000)]
Code to check call site.

16 years agoHeader with call site checker definitions.
drepper [Sat, 27 Mar 2004 02:43:52 +0000 (02:43 +0000)]
Header with call site checker definitions.

16 years ago * sysdeps/alpha/Makefile <gnulib> (sysdep_routines): Merge divrem
rth [Sat, 27 Mar 2004 00:32:26 +0000 (00:32 +0000)]
    * sysdeps/alpha/Makefile <gnulib> (sysdep_routines): Merge divrem
        variable, add unsigned variants.
        * sysdeps/alpha/divrem.h: Remove file.
        * sysdeps/alpha/div_libc.h: New file.
        * sysdeps/alpha/divl.S: Rewrite from scratch.
        * sysdeps/alpha/reml.S: Likewise.
        * sysdeps/alpha/divq.S: Likewise.
        * sysdeps/alpha/remq.S: Likewise.
        * sysdeps/alpha/divlu.S: New file.
        * sysdeps/alpha/remlu.S: New file.
        * sysdeps/alpha/divqu.S: New file.
        * sysdeps/alpha/remqu.S: New file.

16 years agoUpdate.
drepper [Fri, 26 Mar 2004 21:25:35 +0000 (21:25 +0000)]
Update.

16 years ago(check_libc_caller): Fix typo.
drepper [Fri, 26 Mar 2004 21:22:50 +0000 (21:22 +0000)]
(check_libc_caller): Fix typo.

16 years agoUpdate.
drepper [Fri, 26 Mar 2004 09:54:51 +0000 (09:54 +0000)]
Update.

16 years agoInclude stddef.h and stdlib.h.
drepper [Fri, 26 Mar 2004 09:48:53 +0000 (09:48 +0000)]
Include stddef.h and stdlib.h.

16 years ago * sysdeps/alpha/backtrace.c: New.
rth [Fri, 26 Mar 2004 07:56:21 +0000 (07:56 +0000)]
    * sysdeps/alpha/backtrace.c: New.

16 years agoUpdate.
drepper [Fri, 26 Mar 2004 06:43:45 +0000 (06:43 +0000)]
Update.

16 years agoRemove inline from isdirect, isxdirect, and isxbase64.
drepper [Fri, 26 Mar 2004 06:41:46 +0000 (06:41 +0000)]
Remove inline from isdirect, isxdirect, and isxbase64.

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.