kopensolaris-gnu/glibc.git
16 years ago.
roland [Thu, 7 Oct 2004 18:44:01 +0000 (18:44 +0000)]
.

16 years ago2004-10-07 Andreas Schwab <schwab@suse.de>
roland [Thu, 7 Oct 2004 18:43:52 +0000 (18:43 +0000)]
2004-10-07  Andreas Schwab  <schwab@suse.de>

* misc/sys/uio.h: Change __vector to __iovec to avoid clash with
altivec.

16 years agoUpdate.
drepper [Wed, 6 Oct 2004 22:09:35 +0000 (22:09 +0000)]
Update.

16 years agoInvoke CALL_MCOUNT.
drepper [Wed, 6 Oct 2004 22:08:54 +0000 (22:08 +0000)]
Invoke CALL_MCOUNT.

16 years agoUse entry point past _mcount call.
drepper [Wed, 6 Oct 2004 22:08:14 +0000 (22:08 +0000)]
Use entry point past _mcount call.
Invoke CALL_MCOUNT.

16 years agodd extra entry point past _mcount call.
drepper [Wed, 6 Oct 2004 22:07:03 +0000 (22:07 +0000)]
dd extra entry point past _mcount call.
Invoke CALL_MCOUNT.

16 years ago(SAVE_ARG, REST_ARG): New macros.
drepper [Wed, 6 Oct 2004 22:05:45 +0000 (22:05 +0000)]
(SAVE_ARG, REST_ARG): New macros.
(CALL_MCOUNT): Replace with a gas macro implementation.
(EALIGN): Delete PROF version.

16 years ago(CFLAGS-mcount.c): Add -msoft-float.
drepper [Wed, 6 Oct 2004 22:05:14 +0000 (22:05 +0000)]
(CFLAGS-mcount.c): Add -msoft-float.

16 years ago(CFLAGS-mcount.c): Move before inclusion of "Rules".
drepper [Wed, 6 Oct 2004 22:04:46 +0000 (22:04 +0000)]
(CFLAGS-mcount.c): Move before inclusion of "Rules".

16 years agoUpdate.
drepper [Wed, 6 Oct 2004 18:28:30 +0000 (18:28 +0000)]
Update.

16 years ago(res_nmkquery): Reject randombits value if low 16 bits are zero.
drepper [Wed, 6 Oct 2004 18:27:36 +0000 (18:27 +0000)]
(res_nmkquery): Reject randombits value if low 16 bits are zero.

16 years agoUpdate.
drepper [Wed, 6 Oct 2004 18:09:57 +0000 (18:09 +0000)]
Update.

16 years agoUpdate.
drepper [Wed, 6 Oct 2004 18:09:17 +0000 (18:09 +0000)]
Update.

16 years agoInclude pthreadP.h instead of pthread-functions.h and pthreaddef.h.
drepper [Wed, 6 Oct 2004 18:08:25 +0000 (18:08 +0000)]
Include pthreadP.h instead of pthread-functions.h and pthreaddef.h.

16 years ago(__find_thread_by_id): Move attribute_hidden before return type.
drepper [Wed, 6 Oct 2004 18:07:04 +0000 (18:07 +0000)]
(__find_thread_by_id): Move attribute_hidden before return type.

16 years ago(do_test): Don't fail if _POSIX_THREAD_CPUTIME == 0 and
drepper [Wed, 6 Oct 2004 18:06:10 +0000 (18:06 +0000)]
(do_test): Don't fail if _POSIX_THREAD_CPUTIME == 0 and
sysconf (_SC_THREAD_CPUTIME) returns negative value.

16 years ago(pthread_cond_t): Change __data.__nwaiters from int to unsigned int.
drepper [Wed, 6 Oct 2004 18:05:42 +0000 (18:05 +0000)]
(pthread_cond_t): Change __data.__nwaiters from int to unsigned int.

16 years agoInclude stdio-common/_itoa.h.
drepper [Wed, 6 Oct 2004 18:01:28 +0000 (18:01 +0000)]
Include stdio-common/_itoa.h.

16 years agoInclude stdlib.h and string.h.
drepper [Wed, 6 Oct 2004 18:00:34 +0000 (18:00 +0000)]
Include stdlib.h and string.h.
(do_test): Use %p instead of 0x%08X to print a pointer.

16 years agoUpdate.
drepper [Wed, 6 Oct 2004 17:40:56 +0000 (17:40 +0000)]
Update.

16 years agonclude bits/wordsize.h.
drepper [Wed, 6 Oct 2004 17:40:08 +0000 (17:40 +0000)]
nclude bits/wordsize.h.
(JMPBUF_CFA_UNWINDS_ADJ): Subtract 96 resp. 160 bytes from CFA.

16 years agoUpdate. fedora-glibc-20041006T0900
drepper [Wed, 6 Oct 2004 08:53:46 +0000 (08:53 +0000)]
Update.

16 years ago(tf_msgrcv): Check for failure in msgget. If the test fails, remove
drepper [Wed, 6 Oct 2004 08:53:01 +0000 (08:53 +0000)]
(tf_msgrcv): Check for failure in msgget.  If the test fails, remove
message queue.
(tf_msgsnd): Likewise.

16 years agoUpdate.
drepper [Wed, 6 Oct 2004 08:05:13 +0000 (08:05 +0000)]
Update.

16 years agoMask restart signal during cancel signal handler.
drepper [Wed, 6 Oct 2004 08:04:43 +0000 (08:04 +0000)]
Mask restart signal during cancel signal handler.

16 years agoUpdate.
drepper [Wed, 6 Oct 2004 08:01:28 +0000 (08:01 +0000)]
Update.

16 years agoChange #ifdef to #if defined.
drepper [Wed, 6 Oct 2004 07:59:56 +0000 (07:59 +0000)]
Change #ifdef to #if defined.

16 years agoUpdate.
drepper [Wed, 6 Oct 2004 03:18:15 +0000 (03:18 +0000)]
Update.

16 years ago(dl_main): Use _dl_debug_printf instead of _dl_printf for prelink message.
drepper [Wed, 6 Oct 2004 03:17:28 +0000 (03:17 +0000)]
(dl_main): Use _dl_debug_printf instead of _dl_printf for prelink message.

16 years ago(System V Number Conversion): Fix return type of ecvt_r, fcvt_r,
drepper [Wed, 6 Oct 2004 03:02:14 +0000 (03:02 +0000)]
(System V Number Conversion): Fix return type of ecvt_r, fcvt_r,
qecvt_r, and qfcvt_r.

16 years agotypo
roland [Tue, 5 Oct 2004 18:46:44 +0000 (18:46 +0000)]
typo

16 years agoUpdate.
drepper [Tue, 5 Oct 2004 16:11:51 +0000 (16:11 +0000)]
Update.

16 years ago(unload_libidn): Don't define outside libc.
drepper [Tue, 5 Oct 2004 16:11:26 +0000 (16:11 +0000)]
(unload_libidn): Don't define outside libc.

16 years agoUpdate.
drepper [Tue, 5 Oct 2004 15:43:57 +0000 (15:43 +0000)]
Update.

16 years agoUpdate.
drepper [Tue, 5 Oct 2004 15:41:54 +0000 (15:41 +0000)]
Update.

16 years ago(timer_create): Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 instead
drepper [Tue, 5 Oct 2004 15:41:04 +0000 (15:41 +0000)]
(timer_create): Use defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 instead
of defined CLOCK_PROCESS_CPUTIME_ID #ifs and similarly for THREAD_CPUTIME.

16 years agoInclude dl-sysdep.h.
drepper [Tue, 5 Oct 2004 15:39:19 +0000 (15:39 +0000)]
Include dl-sysdep.h.

16 years agoUpdate.
drepper [Tue, 5 Oct 2004 15:36:41 +0000 (15:36 +0000)]
Update.

16 years agoRemove duplicate group IDs.
drepper [Tue, 5 Oct 2004 15:36:25 +0000 (15:36 +0000)]
Remove duplicate group IDs.

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

16 years ago(_POSIX_CPUTIME, _POSIX_THREAD_CPUTIME): Define to 0.
drepper [Tue, 5 Oct 2004 09:25:50 +0000 (09:25 +0000)]
(_POSIX_CPUTIME, _POSIX_THREAD_CPUTIME): Define to 0.

16 years agoUpdate.
drepper [Tue, 5 Oct 2004 09:24:42 +0000 (09:24 +0000)]
Update.

16 years ago(_POSIX_CPUTIME, _POSIX_THREAD_CPUTIME): Define to 0.
drepper [Tue, 5 Oct 2004 09:24:24 +0000 (09:24 +0000)]
(_POSIX_CPUTIME, _POSIX_THREAD_CPUTIME): Define to 0.

16 years agoUpdate.
drepper [Tue, 5 Oct 2004 09:23:31 +0000 (09:23 +0000)]
Update.

16 years ago(__sysconf): Return 200112L for _SC_CPUTIME or _SC_THREAD_CPUTIME.
drepper [Tue, 5 Oct 2004 09:23:06 +0000 (09:23 +0000)]
(__sysconf): Return 200112L for _SC_CPUTIME or _SC_THREAD_CPUTIME.

16 years ago(nscd-cflags): Set to -DIS_IN_nscd=1, plus -fpie if building PIE.
drepper [Tue, 5 Oct 2004 09:22:28 +0000 (09:22 +0000)]
(nscd-cflags): Set to -DIS_IN_nscd=1, plus -fpie if building PIE.
(CFLAGS-*.c): Use it.

16 years ago(relro-LDFLAGS): Add -Wl,-z,now if have-z-relro.
drepper [Tue, 5 Oct 2004 09:21:47 +0000 (09:21 +0000)]
(relro-LDFLAGS): Add -Wl,-z,now if have-z-relro.
($(objpfx)nscd): Add $(relro-LDFLAGS).

16 years agoInclude hp-timing.h.
drepper [Tue, 5 Oct 2004 09:20:50 +0000 (09:20 +0000)]
Include hp-timing.h.
(__sysconf): Return -1 for _SC_CPUTIME or _SC_THREAD_CPUTIME if
!HP_TIMING_AVAIL.

16 years ago(distribute): Remove TODO.
drepper [Tue, 5 Oct 2004 08:43:27 +0000 (08:43 +0000)]
(distribute): Remove TODO.

16 years agoNot needed anymore.
drepper [Tue, 5 Oct 2004 08:43:22 +0000 (08:43 +0000)]
Not needed anymore.

16 years agoUpdate. fedora-glibc-20041005T0745
drepper [Mon, 4 Oct 2004 23:30:29 +0000 (23:30 +0000)]
Update.

16 years agoDefine __no_netlink_support if NEED_NETLINK is defined and
drepper [Mon, 4 Oct 2004 23:29:47 +0000 (23:29 +0000)]
Define __no_netlink_support if NEED_NETLINK is defined and
__ASSUME_NETLINK_SUPPORT is zero.

16 years ago(CFLAGS-gai.c): Add -DNEED_NETLINK.
drepper [Mon, 4 Oct 2004 23:29:06 +0000 (23:29 +0000)]
(CFLAGS-gai.c): Add -DNEED_NETLINK.

16 years agoUpdate.
drepper [Mon, 4 Oct 2004 23:22:47 +0000 (23:22 +0000)]
Update.

16 years agoAvoid calling location unless it is needed for output.
drepper [Mon, 4 Oct 2004 23:21:41 +0000 (23:21 +0000)]
Avoid calling location unless it is needed for output.

16 years ago(CFLAGS-gai.c): Add -fpie.
drepper [Mon, 4 Oct 2004 23:19:21 +0000 (23:19 +0000)]
(CFLAGS-gai.c): Add -fpie.

16 years agoUpdate.
drepper [Mon, 4 Oct 2004 23:13:11 +0000 (23:13 +0000)]
Update.

16 years ago(clock_getcpuclockid): Add missing retval.
drepper [Mon, 4 Oct 2004 23:12:07 +0000 (23:12 +0000)]
(clock_getcpuclockid): Add missing retval.

16 years ago.
roland [Mon, 4 Oct 2004 22:27:43 +0000 (22:27 +0000)]
.

16 years ago2004-10-04 H.J. Lu <hongjiu.lu@intel.com>
roland [Mon, 4 Oct 2004 22:27:39 +0000 (22:27 +0000)]
2004-10-04  H.J. Lu  <hongjiu.lu@intel.com>

* sysdeps/unix/sysv/linux/ia64/sysconf.c (linux_sysconf): Fix a typo.

16 years ago.
roland [Mon, 4 Oct 2004 20:59:53 +0000 (20:59 +0000)]
.

16 years ago2004-10-04 Roland McGrath <roland@redhat.com>
roland [Mon, 4 Oct 2004 20:59:41 +0000 (20:59 +0000)]
2004-10-04  Roland McGrath  <roland@redhat.com>

* include/errno.h [RTLD_PRIVATE_ERRNO] (errno): Rename the real symbol
to rtld_errno.
* sysdeps/generic/errno.c [RTLD_PRIVATE_ERRNO] (rtld_errno): Define it,
and don't define any other errno names.
* sysdeps/unix/alpha/sysdep.h [RTLD_PRIVATE_ERRNO]: Use rtld_errno in
place of errno.
* sysdeps/unix/i386/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* sysdeps/unix/x86_64/sysdep.S: Likewise.
* sysdeps/generic/errno.c [! USE___THREAD] (errno): Use `nocommon'
attribute instead of `section'.

16 years ago2004-10-04 Roland McGrath <roland@redhat.com>
roland [Mon, 4 Oct 2004 20:59:34 +0000 (20:59 +0000)]
2004-10-04  Roland McGrath  <roland@redhat.com>

* include/errno.h [RTLD_PRIVATE_ERRNO] (errno): Rename the real symbol
to rtld_errno.
* sysdeps/generic/errno.c [RTLD_PRIVATE_ERRNO] (rtld_errno): Define it,
and don't define any other errno names.
* sysdeps/unix/alpha/sysdep.h [RTLD_PRIVATE_ERRNO]: Use rtld_errno in
place of errno.
* sysdeps/unix/i386/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* sysdeps/unix/x86_64/sysdep.S: Likewise.

16 years agoUpdate.
drepper [Mon, 4 Oct 2004 20:51:25 +0000 (20:51 +0000)]
Update.

16 years agoFix testing for POSIX feature.
drepper [Mon, 4 Oct 2004 20:50:53 +0000 (20:50 +0000)]
Fix testing for POSIX feature.

16 years agoDefine _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME to zero.
drepper [Mon, 4 Oct 2004 20:47:50 +0000 (20:47 +0000)]
Define _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME to zero.

16 years agoUpdate.
drepper [Mon, 4 Oct 2004 19:28:07 +0000 (19:28 +0000)]
Update.

16 years agoSet _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME to zero.
drepper [Mon, 4 Oct 2004 19:27:19 +0000 (19:27 +0000)]
Set _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME to zero.

16 years agoUpdate.
drepper [Mon, 4 Oct 2004 19:25:29 +0000 (19:25 +0000)]
Update.

16 years agoAdd dynamic check for _SC_CPUTIME and _SC_THREAD_CPUTIME.
drepper [Mon, 4 Oct 2004 19:24:54 +0000 (19:24 +0000)]
Add dynamic check for _SC_CPUTIME and _SC_THREAD_CPUTIME.

16 years agoMove testing code to has_cpuclock.c.
drepper [Mon, 4 Oct 2004 19:24:01 +0000 (19:24 +0000)]
Move testing code to has_cpuclock.c.

16 years agosysconf for Linux/ia64.
drepper [Mon, 4 Oct 2004 19:21:56 +0000 (19:21 +0000)]
sysconf for Linux/ia64.

16 years agoCheck for working itc.
drepper [Mon, 4 Oct 2004 19:20:51 +0000 (19:20 +0000)]
Check for working itc.

16 years agoAdd has_cpuclock.c.
drepper [Mon, 4 Oct 2004 19:20:34 +0000 (19:20 +0000)]
Add has_cpuclock.c.

16 years ago(start_threads): Make last change look nicer.
drepper [Mon, 4 Oct 2004 16:38:27 +0000 (16:38 +0000)]
(start_threads): Make last change look nicer.

16 years agoUpdate.
drepper [Mon, 4 Oct 2004 16:35:54 +0000 (16:35 +0000)]
Update.

16 years ago(start_threads): Use sysconf in case _POSIX_CLOCK_SELECTION or
drepper [Mon, 4 Oct 2004 16:34:50 +0000 (16:34 +0000)]
(start_threads): Use sysconf in case _POSIX_CLOCK_SELECTION or
_POSIX_MONOTONIC_CLOCK is not greater zero.

16 years agoRemove getaddrinfo definition.
drepper [Mon, 4 Oct 2004 16:14:31 +0000 (16:14 +0000)]
Remove getaddrinfo definition.

16 years agoUpdate.
drepper [Mon, 4 Oct 2004 16:13:11 +0000 (16:13 +0000)]
Update.

16 years agoDefine _POSIX_THREAD_PROCESS_SHARED and _POSIX_CLOCK_SELECTION as -1.
drepper [Mon, 4 Oct 2004 16:12:12 +0000 (16:12 +0000)]
Define _POSIX_THREAD_PROCESS_SHARED and _POSIX_CLOCK_SELECTION as -1.

16 years agoUpdate.
drepper [Mon, 4 Oct 2004 09:36:51 +0000 (09:36 +0000)]
Update.

16 years ago(nscd-modules): Add gai.
drepper [Mon, 4 Oct 2004 09:36:08 +0000 (09:36 +0000)]
(nscd-modules): Add gai.

16 years agogetaddrinfo for nscd.
drepper [Mon, 4 Oct 2004 09:35:49 +0000 (09:35 +0000)]
getaddrinfo for nscd.

16 years agoUpdate.
drepper [Mon, 4 Oct 2004 09:06:57 +0000 (09:06 +0000)]
Update.

16 years agoUpdate various fields.
drepper [Mon, 4 Oct 2004 09:06:13 +0000 (09:06 +0000)]
Update various fields.

16 years agoUpdate.
drepper [Mon, 4 Oct 2004 07:52:12 +0000 (07:52 +0000)]
Update.

16 years agoUpdate. fedora-glibc-20041004T0747
drepper [Mon, 4 Oct 2004 07:45:53 +0000 (07:45 +0000)]
Update.

16 years agoGive up on using __builtin_expect.
drepper [Mon, 4 Oct 2004 07:45:23 +0000 (07:45 +0000)]
Give up on using __builtin_expect.

16 years agoUpdate.
drepper [Mon, 4 Oct 2004 07:06:56 +0000 (07:06 +0000)]
Update.

16 years ago(dl_main): Only skip => output in ldd mode if both strings are identical.
drepper [Mon, 4 Oct 2004 07:06:20 +0000 (07:06 +0000)]
(dl_main): Only skip => output in ldd mode if both strings are identical.

16 years agoUpdate.
drepper [Mon, 4 Oct 2004 02:27:39 +0000 (02:27 +0000)]
Update.

16 years ago(aligned_heap_area): New variable.
drepper [Mon, 4 Oct 2004 02:27:14 +0000 (02:27 +0000)]
(aligned_heap_area): New variable.
(new_heap): If aligned_heap_area != NULL, attempt to use that
first.  If HEAP_MAX_SIZE << 1 area is already HEAP_MAX_SIZE bytes
aligned, remember the second half in aligned_heap_area.
(delete_heap): Clear aligned_heap_area if deleting the area right
before aligned_heap_area.

16 years agoUpdate.
drepper [Sun, 3 Oct 2004 21:33:28 +0000 (21:33 +0000)]
Update.

16 years ago(__nscd_getgrouplist): Return -1 if nscd can't be used.
drepper [Sun, 3 Oct 2004 21:31:47 +0000 (21:31 +0000)]
(__nscd_getgrouplist): Return -1 if nscd can't be used.

16 years agoUpdate.
drepper [Sun, 3 Oct 2004 21:11:37 +0000 (21:11 +0000)]
Update.

16 years agoPrint current and maximum number of threads.
drepper [Sun, 3 Oct 2004 21:11:18 +0000 (21:11 +0000)]
Print current and maximum number of threads.

16 years agoParse max-nthreads entry.
drepper [Sun, 3 Oct 2004 21:10:35 +0000 (21:10 +0000)]
Parse max-nthreads entry.

16 years agoDeclare max_nthreads.
drepper [Sun, 3 Oct 2004 21:10:11 +0000 (21:10 +0000)]
Declare max_nthreads.

16 years agoAdd max-threads entry.
drepper [Sun, 3 Oct 2004 21:09:23 +0000 (21:09 +0000)]
Add max-threads entry.

16 years ago(fd_ready): If no thread available for processing
drepper [Sun, 3 Oct 2004 21:08:52 +0000 (21:08 +0000)]
(fd_ready): If no thread available for processing
the request, create a new one unless the limit is reached.
(start_threads): Check errors from pthread_create.