kopensolaris-gnu/glibc.git
14 years ago2005-12-04 Joseph S. Myers <joseph@codesourcery.com>
roland [Fri, 6 Jan 2006 10:37:33 +0000 (10:37 +0000)]
2005-12-04  Joseph S. Myers  <joseph@codesourcery.com>

* soft-fp/op-common.h (__FP_CLZ): Define using __builtin_clz,
__builtin_clzl and __builtin_clzll.

14 years ago.
roland [Fri, 6 Jan 2006 09:56:05 +0000 (09:56 +0000)]
.

14 years ago2005-01-05 Mike Frysinger <vapier@gentoo.org>
roland [Fri, 6 Jan 2006 09:55:30 +0000 (09:55 +0000)]
2005-01-05  Mike Frysinger  <vapier@gentoo.org>

* include/alloca.h (extend_alloca): Fix typoed name 'extern_alloca'.

14 years ago. fedora-glibc-20060106T0916
drepper [Fri, 6 Jan 2006 07:30:36 +0000 (07:30 +0000)]
.

14 years ago(__ASSUME_WAITID_SYSCALL): Only define for 2.6.12+ on s390{,x}.
drepper [Fri, 6 Jan 2006 07:29:37 +0000 (07:29 +0000)]
(__ASSUME_WAITID_SYSCALL): Only define for 2.6.12+ on s390{,x}.
(__ASSUME_GETDENTS32_D_TYPE): Only define for 2.6.8+ on most arches
and only for 2.6.11+ on s390{,x}.

14 years ago.
drepper [Fri, 6 Jan 2006 04:13:26 +0000 (04:13 +0000)]
.

14 years agoTest for lio_listio and EINTR error.
drepper [Fri, 6 Jan 2006 04:10:50 +0000 (04:10 +0000)]
Test for lio_listio and EINTR error.

14 years ago(tests): Add tst-aio10.
drepper [Fri, 6 Jan 2006 04:10:43 +0000 (04:10 +0000)]
(tests): Add tst-aio10.

14 years ago(lio_listio_internal): Fix return value and errno value for LIO_WAIT case.
drepper [Fri, 6 Jan 2006 04:10:03 +0000 (04:10 +0000)]
(lio_listio_internal): Fix return value and errno value for LIO_WAIT case.

14 years ago.
drepper [Fri, 6 Jan 2006 03:08:04 +0000 (03:08 +0000)]
.

14 years ago(lll_futex_wait): Return status.
drepper [Fri, 6 Jan 2006 03:06:17 +0000 (03:06 +0000)]
(lll_futex_wait): Return status.
(lll_futex_timed_wait): Define.

14 years ago(lll_futex_wait): Return status.
drepper [Fri, 6 Jan 2006 03:03:42 +0000 (03:03 +0000)]
(lll_futex_wait): Return status.
(lll_futex_timed_wait): Define.

14 years agoDefinitions for aio implementation when using nptl.
drepper [Fri, 6 Jan 2006 03:01:55 +0000 (03:01 +0000)]
Definitions for aio implementation when using nptl.

14 years ago.
drepper [Fri, 6 Jan 2006 03:01:10 +0000 (03:01 +0000)]
.

14 years ago[!DONT_USE_BOOTSTRAP_MAP]: Don't use condvar, use AIO_MISC_WAIT.
drepper [Fri, 6 Jan 2006 02:58:05 +0000 (02:58 +0000)]
[!DONT_USE_BOOTSTRAP_MAP]: Don't use condvar, use AIO_MISC_WAIT.

14 years ago[!DONT_USE_BOOTSTRAP_MAP] (__aio_notify): Use AIO_MISC_NOTIFY instead
drepper [Fri, 6 Jan 2006 02:56:35 +0000 (02:56 +0000)]
[!DONT_USE_BOOTSTRAP_MAP] (__aio_notify): Use AIO_MISC_NOTIFY instead
of pthread_cond_signal.

14 years ago[!DONT_USE_BOOTSTRAP_MAP] (struct waitlist): Don't add cond.
drepper [Fri, 6 Jan 2006 02:55:25 +0000 (02:55 +0000)]
[!DONT_USE_BOOTSTRAP_MAP] (struct waitlist): Don't add cond.

14 years ago(tests): Add aio_suspend.
drepper [Fri, 6 Jan 2006 02:50:16 +0000 (02:50 +0000)]
(tests): Add aio_suspend.

14 years agoTest of EINTR return of aio_suspend.
drepper [Fri, 6 Jan 2006 02:49:48 +0000 (02:49 +0000)]
Test of EINTR return of aio_suspend.

14 years ago.
drepper [Thu, 5 Jan 2006 22:44:54 +0000 (22:44 +0000)]
.

14 years agoThe thread is now supposed to be created.
drepper [Thu, 5 Jan 2006 22:42:01 +0000 (22:42 +0000)]
The thread is now supposed to be created.

14 years ago.
roland [Thu, 5 Jan 2006 12:25:42 +0000 (12:25 +0000)]
.

14 years ago2006-01-05 Roland McGrath <roland@redhat.com>
roland [Thu, 5 Jan 2006 12:25:35 +0000 (12:25 +0000)]
2006-01-05  Roland McGrath  <roland@redhat.com>

* include/features.h: Grok _ATFILE_SOURCE and define __USE_ATFILE when
it or _GNU_SOURCE is defined.
* io/fcntl.h: Protect *at and AT_* with [__USE_ATFILE] instead of
[__USE_GNU].
* libio/stdio.h: Likewise.
* posix/unistd.h: Likewise.
* time/sys/time.h: Likewise.

14 years ago.
roland [Thu, 5 Jan 2006 10:32:47 +0000 (10:32 +0000)]
.

14 years ago2006-01-05 Roland McGrath <roland@redhat.com>
roland [Thu, 5 Jan 2006 10:32:41 +0000 (10:32 +0000)]
2006-01-05  Roland McGrath  <roland@redhat.com>

* io/sys/stat.h [__USE_GNU]: Declare fchmodat.
* io/fchmodat.c: New file.
* io/Makefile (routines): Add fchmodat.
* io/Versions (libc: GLIBC_2.4): Likewise.
* sysdeps/unix/sysv/linux/fchmodat.c: New file.
* io/tst-fchmodat.c: New file.
* io/Makefile (tests): Add it.

14 years ago.
roland [Thu, 5 Jan 2006 08:16:34 +0000 (08:16 +0000)]
.

14 years ago2006-01-03 Joseph S. Myers <joseph@codesourcery.com>
roland [Thu, 5 Jan 2006 08:16:20 +0000 (08:16 +0000)]
2006-01-03  Joseph S. Myers  <joseph@codesourcery.com>

* Makefile ($(objpfx)$(multidir)): Use mkdir -p.

14 years ago(do_test): aio_offset should be initialized, too.
drepper [Thu, 5 Jan 2006 00:26:42 +0000 (00:26 +0000)]
(do_test): aio_offset should be initialized, too.

14 years ago.
drepper [Wed, 4 Jan 2006 20:05:05 +0000 (20:05 +0000)]
.

14 years ago(PSEUDO): Remove redundant cfi_startproc and cfi_endproc directives.
drepper [Wed, 4 Jan 2006 20:03:07 +0000 (20:03 +0000)]
(PSEUDO): Remove redundant cfi_startproc and cfi_endproc directives.

14 years ago.
drepper [Wed, 4 Jan 2006 20:01:38 +0000 (20:01 +0000)]
.

14 years agoRemove redundant cfi_startproc and cfi_endproc.
drepper [Wed, 4 Jan 2006 19:58:34 +0000 (19:58 +0000)]
Remove redundant cfi_startproc and cfi_endproc.

14 years agoUse END macro.
drepper [Wed, 4 Jan 2006 19:57:19 +0000 (19:57 +0000)]
Use END macro.

14 years agoRemove ENTRY()s for _dl_start_user and _dl_main_dispatch.
drepper [Wed, 4 Jan 2006 19:55:47 +0000 (19:55 +0000)]
Remove ENTRY()s for _dl_start_user and _dl_main_dispatch.

14 years ago(ENTRY, EALIGN): Add cfi_startproc directive to ENTRY macros.
drepper [Wed, 4 Jan 2006 19:54:50 +0000 (19:54 +0000)]
(ENTRY, EALIGN): Add cfi_startproc directive to ENTRY macros.
(END, END_GEN_TB): Add cfi_endproc directive to END macros.

14 years ago(ENTRY, EALIGN): Add cfi_startproc directive to ENTRY macros.
drepper [Wed, 4 Jan 2006 19:53:24 +0000 (19:53 +0000)]
(ENTRY, EALIGN): Add cfi_startproc directive to ENTRY macros.

14 years agoFor LIO_WAIT, point result pointer in wait list to local variable
drepper [Wed, 4 Jan 2006 19:50:38 +0000 (19:50 +0000)]
For LIO_WAIT, point result pointer in wait list to local variable
result.  If nonzero afterwards, set errno to EIO.  For LIO_NOWAIT set
result to NULL.

14 years agoInitialize result pointer to NULL.
drepper [Wed, 4 Jan 2006 19:48:48 +0000 (19:48 +0000)]
Initialize result pointer to NULL.

14 years ago(__aio_notify): For synchronous waiters, failed I/O, and a result
drepper [Wed, 4 Jan 2006 19:47:55 +0000 (19:47 +0000)]
(__aio_notify): For synchronous waiters, failed I/O, and a result
pointer, set value to -1.

14 years ago(struct waitlist): Add result member.
drepper [Wed, 4 Jan 2006 19:46:55 +0000 (19:46 +0000)]
(struct waitlist): Add result member.

14 years ago(tests): Add tst-aio8.
drepper [Wed, 4 Jan 2006 19:45:18 +0000 (19:45 +0000)]
(tests): Add tst-aio8.

14 years agoTest for lio_listio returning an error for LIO_WAIT if an IO request
drepper [Wed, 4 Jan 2006 19:34:40 +0000 (19:34 +0000)]
Test for lio_listio returning an error for LIO_WAIT if an IO request
failed.

14 years ago.
roland [Wed, 4 Jan 2006 17:14:58 +0000 (17:14 +0000)]
.

14 years ago2005-12-25 Kristian Van Der Vliet <vanders@liqwyd.com>
roland [Wed, 4 Jan 2006 17:14:52 +0000 (17:14 +0000)]
2005-12-25  Kristian Van Der Vliet  <vanders@liqwyd.com>

* abi-tags (*-.*-syllable.*): New match, with ABI value 5.
* elf/cache.c (print_entry): Match the Syllable ABI tag.

14 years ago.
roland [Wed, 4 Jan 2006 17:09:13 +0000 (17:09 +0000)]
.

14 years ago2005-12-27 Roland McGrath <roland@redhat.com>
roland [Wed, 4 Jan 2006 17:09:00 +0000 (17:09 +0000)]
2005-12-27  Roland McGrath  <roland@redhat.com>

* tst-mbswcs1.c (main): Make BUF const.  Add casts in mbrtowc calls.

14 years ago2005-12-27 Roland McGrath <roland@redhat.com>
roland [Wed, 4 Jan 2006 17:08:58 +0000 (17:08 +0000)]
2005-12-27  Roland McGrath  <roland@redhat.com>

* tst-ctype.c (main): Add some casts.

14 years agoFix last commit.
aj [Wed, 4 Jan 2006 12:37:37 +0000 (12:37 +0000)]
Fix last commit.

14 years ago.
drepper [Wed, 4 Jan 2006 09:26:31 +0000 (09:26 +0000)]
.

14 years agoMake even more C++ compliant.
drepper [Wed, 4 Jan 2006 09:24:51 +0000 (09:24 +0000)]
Make even more C++ compliant.

14 years ago.
drepper [Wed, 4 Jan 2006 08:42:44 +0000 (08:42 +0000)]
.

14 years agoUse C headers instead of C++ headers.
drepper [Wed, 4 Jan 2006 08:41:44 +0000 (08:41 +0000)]
Use C headers instead of C++ headers.

14 years ago. fedora-glibc-20060104T0754
drepper [Wed, 4 Jan 2006 07:36:31 +0000 (07:36 +0000)]
.

14 years agotypo.
drepper [Wed, 4 Jan 2006 07:35:13 +0000 (07:35 +0000)]
typo.

14 years agoUpdate.
aj [Wed, 4 Jan 2006 06:46:59 +0000 (06:46 +0000)]
Update.

14 years ago(__brk): Use __SYSCALL_CLOBBERS.
aj [Wed, 4 Jan 2006 06:46:45 +0000 (06:46 +0000)]
(__brk): Use __SYSCALL_CLOBBERS.

14 years agoRegenerated: autoconf configure.in
drepper [Wed, 4 Jan 2006 06:26:49 +0000 (06:26 +0000)]
Regenerated: autoconf  configure.in

14 years ago.
drepper [Wed, 4 Jan 2006 06:26:39 +0000 (06:26 +0000)]
.

14 years agoHAVE_LIBAUDIT): Check audit_log_user_avc_message instead of audit_log_avc.
drepper [Wed, 4 Jan 2006 06:24:42 +0000 (06:24 +0000)]
HAVE_LIBAUDIT): Check audit_log_user_avc_message instead of audit_log_avc.

14 years ago[__GNUC__]: Fix typo.
drepper [Wed, 4 Jan 2006 06:21:57 +0000 (06:21 +0000)]
[__GNUC__]: Fix typo.

14 years ago.
drepper [Wed, 4 Jan 2006 00:20:45 +0000 (00:20 +0000)]
.

14 years agosem_trywait.c for Linux/Sparcv9 32-bit.
drepper [Wed, 4 Jan 2006 00:05:37 +0000 (00:05 +0000)]
sem_trywait.c for Linux/Sparcv9 32-bit.

14 years agosem_wait.c for Linux/Sparcv9 32-bit.
drepper [Wed, 4 Jan 2006 00:04:03 +0000 (00:04 +0000)]
sem_wait.c for Linux/Sparcv9 32-bit.

14 years agosem_timedwait.c for Linux/Sparcv9 32-bit.
drepper [Wed, 4 Jan 2006 00:03:05 +0000 (00:03 +0000)]
sem_timedwait.c for Linux/Sparcv9 32-bit.

14 years agosem_post.c for Linux/Sparcv9 32-bit.
drepper [Wed, 4 Jan 2006 00:02:12 +0000 (00:02 +0000)]
sem_post.c for Linux/Sparcv9 32-bit.

14 years agosem_init.c for Linux/Sparcv9 32-bit.
drepper [Wed, 4 Jan 2006 00:01:26 +0000 (00:01 +0000)]
sem_init.c for Linux/Sparcv9 32-bit.

14 years agopthread_barrier_wait.c for Linux/Sparcv9 32-bit.
drepper [Tue, 3 Jan 2006 23:59:56 +0000 (23:59 +0000)]
pthread_barrier_wait.c for Linux/Sparcv9 32-bit.

14 years agopthread_barrier_init.c for Linux/Sparcv9 32-bit.
drepper [Tue, 3 Jan 2006 23:58:44 +0000 (23:58 +0000)]
pthread_barrier_init.c for Linux/Sparcv9 32-bit.

14 years agosem_wait.c for Linux/Sparc32.
drepper [Tue, 3 Jan 2006 23:52:15 +0000 (23:52 +0000)]
sem_wait.c for Linux/Sparc32.

14 years agosem_trywait.c for Linux/Sparc32.
drepper [Tue, 3 Jan 2006 23:51:29 +0000 (23:51 +0000)]
sem_trywait.c for Linux/Sparc32.

14 years agosem_timedwait.c for Linux/Sparc32.
drepper [Tue, 3 Jan 2006 23:50:20 +0000 (23:50 +0000)]
sem_timedwait.c for Linux/Sparc32.

14 years agosem_post.c for Linux/Sparc32.
drepper [Tue, 3 Jan 2006 23:49:10 +0000 (23:49 +0000)]
sem_post.c for Linux/Sparc32.

14 years agosem_init.c for Linux/Sparc32.
drepper [Tue, 3 Jan 2006 23:48:01 +0000 (23:48 +0000)]
sem_init.c for Linux/Sparc32.

14 years agopthread_barrier_wait.c for Linux/Sparc32.
drepper [Tue, 3 Jan 2006 23:47:17 +0000 (23:47 +0000)]
pthread_barrier_wait.c for Linux/Sparc32.

14 years agopthread_barrier_init.c for Linux/Sparc32.
drepper [Tue, 3 Jan 2006 23:46:19 +0000 (23:46 +0000)]
pthread_barrier_init.c for Linux/Sparc32.

14 years agolowlevellock.c for Linux/Sparc32.
drepper [Tue, 3 Jan 2006 23:45:28 +0000 (23:45 +0000)]
lowlevellock.c for Linux/Sparc32.

14 years agoRemove #error for sparc-linux configured glibc.
drepper [Tue, 3 Jan 2006 23:42:57 +0000 (23:42 +0000)]
Remove #error for sparc-linux configured glibc.
(lll_futex_wake_unlock): Define to 1 for sparc-linux configured glibc.
(__lll_mutex_trylock, __lll_mutex_cond_trylock, __lll_mutex_lock,
__lll_mutex_cond_lock, __lll_mutex_timedlock): Use
atomic_compare_and_exchange_val_24_acq instead of
atomic_compare_and_exchange_val_acq.
(lll_mutex_unlock, lll_mutex_unlock_force): Use atomic_exchange_24_rel
instead of atomic_exchange_rel.

14 years ago.
drepper [Tue, 3 Jan 2006 23:41:25 +0000 (23:41 +0000)]
.

14 years ago(atomic_exchange_24_rel, atomic_compare_and_exchange_val_24_acq): Define.
drepper [Tue, 3 Jan 2006 23:39:46 +0000 (23:39 +0000)]
(atomic_exchange_24_rel, atomic_compare_and_exchange_val_24_acq): Define.

14 years ago(atomic_exchange_24_rel, atomic_compare_and_exchange_val_24_acq): Define.
drepper [Tue, 3 Jan 2006 23:39:02 +0000 (23:39 +0000)]
(atomic_exchange_24_rel, atomic_compare_and_exchange_val_24_acq): Define.

14 years agoInclude stdint.h, add {,u}atomic*_t typedefs.
drepper [Tue, 3 Jan 2006 23:38:10 +0000 (23:38 +0000)]
Include stdint.h, add {,u}atomic*_t typedefs.
(__sparc32_atomic_do_lock): Add __volatile and memory clobber.
(__sparc32_atomic_do_unlock): Add memory barrier.
(__sparc32_atomic_do_lock24, __sparc32_atomic_do_unlock24): Define.
[!SHARED] (__v9_compare_and_exchange_val_32_acq): Define.
(__v7_compare_and_exchange_val_acq, __v7_compare_and_exchange_bool_acq,
__v7_exchange_acq, __v7_exchange_and_add, __v7_exchange_24_rel,
__v7_compare_and_exchange_val_24_acq, __atomic_is_v9,
atomic_exchange_acq, atomic_compare_and_exchange_val_24_acq,
atomic_exchange_24_rel): Define.
[SHARED] (atomic_exchange_and_add): Define.
[!SHARED] (__ATOMIC_HWCAP_SPARC_V9): Define.
[!SHARED] (_dl_hwcap): New weak decl.

14 years ago(LD_SO_PRELOAD): Remove unused define.
drepper [Tue, 3 Jan 2006 23:36:27 +0000 (23:36 +0000)]
(LD_SO_PRELOAD): Remove unused define.

14 years agoInclude string.h.
drepper [Tue, 3 Jan 2006 23:35:29 +0000 (23:35 +0000)]
Include string.h.

14 years ago.
drepper [Tue, 3 Jan 2006 23:19:03 +0000 (23:19 +0000)]
.

14 years agoDefine __lio_listio_21 and __lio_listio_item_notify macros.
drepper [Tue, 3 Jan 2006 23:17:27 +0000 (23:17 +0000)]
Define __lio_listio_21 and __lio_listio_item_notify macros.

14 years ago(lio_listio): Renamed to lio_listio_internal. Remove mode parameter
drepper [Tue, 3 Jan 2006 23:16:36 +0000 (23:16 +0000)]
(lio_listio): Renamed to lio_listio_internal.  Remove mode parameter
check.  Only set sigevent type ti SIGEV_NONE if
LIO_NO_INDIVIDUAL_EVENT is set.
(__lio_listio_21): New function.  Compatiblity version which sets
LIO_NO_INDIVIDUAL_EVENT before calling lio_listio_internal.
(__lio_listio_item_notify): New function.

14 years agoWhitespace fix.
drepper [Tue, 3 Jan 2006 23:12:54 +0000 (23:12 +0000)]
Whitespace fix.

14 years agoVersions for sysdeps/pthread directory.
drepper [Tue, 3 Jan 2006 23:11:57 +0000 (23:11 +0000)]
Versions for sysdeps/pthread directory.

14 years agoAdjust test for new semantics of lio_listio.
drepper [Tue, 3 Jan 2006 23:10:07 +0000 (23:10 +0000)]
Adjust test for new semantics of lio_listio.

14 years agoWhitespace fix.
drepper [Tue, 3 Jan 2006 23:09:12 +0000 (23:09 +0000)]
Whitespace fix.

14 years agoDefine LIO_NO_INDIVIDUAL_EVENT.
drepper [Tue, 3 Jan 2006 23:08:16 +0000 (23:08 +0000)]
Define LIO_NO_INDIVIDUAL_EVENT.

14 years agoAdd GLIBC_2.4 for librt.
drepper [Tue, 3 Jan 2006 23:06:57 +0000 (23:06 +0000)]
Add GLIBC_2.4 for librt.

14 years ago.
drepper [Tue, 3 Jan 2006 21:29:11 +0000 (21:29 +0000)]
.

14 years ago(nscd_init): Remove if block which should have been removed as part of
drepper [Tue, 3 Jan 2006 21:26:28 +0000 (21:26 +0000)]
(nscd_init): Remove if block which should have been removed as part of
the -S option removal.

14 years ago * scripts/check-local-headers.sh: Allow $includedir/c++.
aj [Tue, 3 Jan 2006 19:00:59 +0000 (19:00 +0000)]
* scripts/check-local-headers.sh: Allow $includedir/c++.

14 years ago.
drepper [Tue, 3 Jan 2006 16:13:21 +0000 (16:13 +0000)]
.

14 years ago[__WORDSIZE==64]: Don't use cast in mutex initializers.
drepper [Tue, 3 Jan 2006 16:11:31 +0000 (16:11 +0000)]
[__WORDSIZE==64]: Don't use cast in mutex initializers.

14 years ago.
drepper [Tue, 3 Jan 2006 15:58:32 +0000 (15:58 +0000)]
.

14 years ago(ctermid): Remove __nonnull attribute.
drepper [Tue, 3 Jan 2006 15:57:08 +0000 (15:57 +0000)]
(ctermid): Remove __nonnull attribute.

14 years ago. fedora-glibc-20060102T2114
drepper [Mon, 2 Jan 2006 20:57:43 +0000 (20:57 +0000)]
.