kopensolaris-gnu/glibc.git
17 years ago.
roland [Tue, 10 Dec 2002 05:10:08 +0000 (05:10 +0000)]
.

17 years ago2002-12-09 Richard Henderson <rth@redhat.com>
roland [Tue, 10 Dec 2002 05:09:56 +0000 (05:09 +0000)]
2002-12-09  Richard Henderson  <rth@redhat.com>

* csu/abi-note.S: Use .p2align, not .align.

17 years agoUpdate.
drepper [Tue, 10 Dec 2002 04:05:39 +0000 (04:05 +0000)]
Update.

17 years agoUpdate.
drepper [Tue, 10 Dec 2002 04:04:44 +0000 (04:04 +0000)]
Update.

17 years agoAdd __libc_creat and __libc_select aliases.
drepper [Tue, 10 Dec 2002 04:03:43 +0000 (04:03 +0000)]
Add __libc_creat and __libc_select aliases.

17 years agoDefine __libc_sigwaitinfo alias.
drepper [Tue, 10 Dec 2002 04:02:31 +0000 (04:02 +0000)]
Define __libc_sigwaitinfo alias.

17 years agoDefine __libc_sigwait alias.
drepper [Tue, 10 Dec 2002 04:01:54 +0000 (04:01 +0000)]
Define __libc_sigwait alias.

17 years agoDefine __libc_sigsuspend alias.
drepper [Tue, 10 Dec 2002 04:01:28 +0000 (04:01 +0000)]
Define __libc_sigsuspend alias.

17 years agoDefine __libc_poll alias.
drepper [Tue, 10 Dec 2002 04:00:47 +0000 (04:00 +0000)]
Define __libc_poll alias.

17 years agoDefine __libc_select alias.
drepper [Tue, 10 Dec 2002 03:59:53 +0000 (03:59 +0000)]
Define __libc_select alias.

17 years agoDefine __libc_waitid alias.
drepper [Tue, 10 Dec 2002 03:59:13 +0000 (03:59 +0000)]
Define __libc_waitid alias.

17 years agoDefine __libc_sigpause and __libc___xpg_sigpause aliases.
drepper [Tue, 10 Dec 2002 03:58:21 +0000 (03:58 +0000)]
Define __libc_sigpause and __libc___xpg_sigpause aliases.

17 years agoDefine __libc_pselect alias.
drepper [Tue, 10 Dec 2002 03:57:22 +0000 (03:57 +0000)]
Define __libc_pselect alias.

17 years agoRemove use of USE_IN_LIBIO.
drepper [Tue, 10 Dec 2002 03:56:22 +0000 (03:56 +0000)]
Remove use of USE_IN_LIBIO.

17 years agoUpdate.
drepper [Tue, 10 Dec 2002 03:56:09 +0000 (03:56 +0000)]
Update.

17 years agoExport creat, poll, pselect, readv, select, sigpause, __xpg_sigpause,
drepper [Tue, 10 Dec 2002 03:39:11 +0000 (03:39 +0000)]
Export creat, poll, pselect, readv, select, sigpause, __xpg_sigpause,
sigsuspend, sigwaitinfo, waitid, and writev from libpthread in version
GLIBC_2.3.2.

17 years agoAdd wrappers for creat, poll, pselect, readv, select, sigpause,
drepper [Tue, 10 Dec 2002 03:38:06 +0000 (03:38 +0000)]
Add wrappers for creat, poll, pselect, readv, select, sigpause,
__xpg_sigpause, sigsuspend, sigwaitinfo, waitid, and writev.

17 years agoUpdate.
drepper [Tue, 10 Dec 2002 03:35:48 +0000 (03:35 +0000)]
Update.

17 years agoRemove duplicated sigwait entry.
drepper [Tue, 10 Dec 2002 03:35:17 +0000 (03:35 +0000)]
Remove duplicated sigwait entry.

17 years agoRequire binutils 2.13.
drepper [Mon, 9 Dec 2002 22:57:03 +0000 (22:57 +0000)]
Require binutils 2.13.

17 years ago(Tools for Compilation): Require binutils 2.13.
drepper [Mon, 9 Dec 2002 22:54:11 +0000 (22:54 +0000)]
(Tools for Compilation): Require binutils 2.13.

17 years ago.
roland [Mon, 9 Dec 2002 20:37:37 +0000 (20:37 +0000)]
.

17 years ago2002-12-08 Roland McGrath <roland@redhat.com>
roland [Mon, 9 Dec 2002 20:37:20 +0000 (20:37 +0000)]
2002-12-08  Roland McGrath  <roland@redhat.com>

* elf/Makefile (tests): Uncomment tst-array[123].
* Makeconfig (CPPFLAGS-.oS): Add -DLIBC_NONSHARED=1.
* csu/elf-init.c: New file.
* csu/Makefile (routines, static-only-routines): Add elf-init.
* sysdeps/alpha/elf/start.S: Use __libc_csu_init in place of _init
and __libc_csu_fini in place of _fini.
* sysdeps/arm/elf/start.S: Likewise.
* sysdeps/cris/elf/start.S: Likewise.
* sysdeps/hppa/elf/start.S: Likewise.
* sysdeps/i386/elf/start.S: Likewise.
* sysdeps/ia64/elf/start.S: Likewise.
* sysdeps/m68k/elf/start.S: Likewise.
* sysdeps/mach/hurd/powerpc/static-start.S: Likewise.
* sysdeps/mips/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
* sysdeps/s390/s390-32/elf/start.S: Likewise.
* sysdeps/s390/s390-64/elf/start.S: Likewise.
* sysdeps/sh/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/x86_64/elf/start.S: Likewise.

17 years ago.
roland [Mon, 9 Dec 2002 10:49:37 +0000 (10:49 +0000)]
.

17 years ago2002-12-06 Roland McGrath <roland@redhat.com>
roland [Mon, 9 Dec 2002 10:49:26 +0000 (10:49 +0000)]
2002-12-06  Roland McGrath  <roland@redhat.com>

* td_ta_event_getmsg.c (td_ta_event_getmsg): Write the NEXT pointer
into the inferior's __pthread_last_event variable, not a word from
an inferior address used in the parent.  Pass the address of a
null word to ps_pdwrite, not a null pointer.

17 years ago.
roland [Mon, 9 Dec 2002 07:14:24 +0000 (07:14 +0000)]
.

17 years ago2002-12-08 Roland McGrath <roland@redhat.com>
roland [Mon, 9 Dec 2002 07:14:11 +0000 (07:14 +0000)]
2002-12-08  Roland McGrath  <roland@redhat.com>

* sysdeps/pthread/aio_notify.c (notify_func_wrapper): Take a malloc'd
struct containing function ptr and value, free it.
(__aio_notify_only): Allocate that and copy values from SIGEV into it.
It's not safe to let the new thread use the SIGEV pointer.

17 years ago.
roland [Mon, 9 Dec 2002 02:03:28 +0000 (02:03 +0000)]
.

17 years ago2001-10-20 Paul Eggert <eggert@twinsun.com>
roland [Mon, 9 Dec 2002 02:03:15 +0000 (02:03 +0000)]
2001-10-20  Paul Eggert  <eggert@twinsun.com>

* misc/error.c (strerror_r): Do not declare unless [!_LIBC].
Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P.
Use strerror_r that is only a macro, even if it is not a function.
(strerror): Check for HAVE_DECL_STRERROR before declaring.
(private_strerror): Use prototypes, not old-style function definition.
(print_errno_message): New function.
Support the POSIX 'int'-flavored strerror_r, as well as the traditional
char*-flavored one.
(error_tail, error, error_at_line): Use it.

17 years agoUpdate.
drepper [Sun, 8 Dec 2002 22:55:19 +0000 (22:55 +0000)]
Update.

17 years agoAdded SHMLBA #define.
drepper [Sun, 8 Dec 2002 22:53:46 +0000 (22:53 +0000)]
Added SHMLBA #define.

17 years agoUpdate.
drepper [Sun, 8 Dec 2002 09:41:40 +0000 (09:41 +0000)]
Update.

17 years agoEnable pthread_cleanup_{push,pop} optimizations only inside libpthread.
drepper [Sun, 8 Dec 2002 09:41:26 +0000 (09:41 +0000)]
Enable pthread_cleanup_{push,pop} optimizations only inside libpthread.

17 years agoUpdate.
drepper [Sun, 8 Dec 2002 09:28:13 +0000 (09:28 +0000)]
Update.

17 years ago(__fcntl): Initialize oldtype to avoid warning.
drepper [Sun, 8 Dec 2002 09:27:53 +0000 (09:27 +0000)]
(__fcntl): Initialize oldtype to avoid warning.

17 years agoAdjust for CANCEL_ASYNC and CANCEL_RESET change.
drepper [Sun, 8 Dec 2002 09:26:34 +0000 (09:26 +0000)]
Adjust for CANCEL_ASYNC and CANCEL_RESET change.

17 years agoAdjust for CANCEL_ASYNC and CANCEL_RESET change.
drepper [Sun, 8 Dec 2002 09:25:44 +0000 (09:25 +0000)]
Adjust for CANCEL_ASYNC and CANCEL_RESET change.

17 years agoUpdate.
drepper [Sun, 8 Dec 2002 08:25:05 +0000 (08:25 +0000)]
Update.

17 years agoAdjust for CANCEL_ASYNC and CANCEL_RESET change.
drepper [Sun, 8 Dec 2002 08:24:32 +0000 (08:24 +0000)]
Adjust for CANCEL_ASYNC and CANCEL_RESET change.

17 years ago(libpthread:GLIBC_2.3.2): Add __xpg_sigpause.
drepper [Sun, 8 Dec 2002 08:23:01 +0000 (08:23 +0000)]
(libpthread:GLIBC_2.3.2): Add __xpg_sigpause.

17 years ago(sigsuspend): Call __sigsuspend.
drepper [Sun, 8 Dec 2002 08:22:27 +0000 (08:22 +0000)]
(sigsuspend): Call __sigsuspend.
(__xpg_sigpause): New function.

Adjust for change in CANCEL_ASYNC and CANCEL_RESET.

17 years ago(__pthread_enable_asynccancel): New function.
drepper [Sun, 8 Dec 2002 08:20:15 +0000 (08:20 +0000)]
(__pthread_enable_asynccancel): New function.
(__pthread_disable_asynccancel): New function.

17 years agoDeclare __pthread_enable_asynccancel and __pthread_disable_asynccancel.
drepper [Sun, 8 Dec 2002 08:19:34 +0000 (08:19 +0000)]
Declare __pthread_enable_asynccancel and __pthread_disable_asynccancel.
(CANCEL_ASYNC): Use __pthread_enable_asynccancel.
(CANCEL_RESET): Use __pthread_disable_asynccancel.

17 years agoArgh. Use INtUSE, not INTDEF.
drepper [Sun, 8 Dec 2002 08:17:18 +0000 (08:17 +0000)]
Argh.  Use INtUSE, not INTDEF.

17 years agoUpdate.
drepper [Sun, 8 Dec 2002 08:14:11 +0000 (08:14 +0000)]
Update.

17 years agoFix bug in one of the s expressions which used / for one too many things.
drepper [Sun, 8 Dec 2002 08:13:16 +0000 (08:13 +0000)]
Fix bug in one of the s expressions which used / for one too many things.

17 years agoUpdate.
drepper [Sun, 8 Dec 2002 08:05:25 +0000 (08:05 +0000)]
Update.

17 years agoDeclare __libc_close.
drepper [Sun, 8 Dec 2002 08:04:03 +0000 (08:04 +0000)]
Declare __libc_close.

17 years agoFix comment.
drepper [Sun, 8 Dec 2002 04:23:37 +0000 (04:23 +0000)]
Fix comment.

17 years ago(__pthread_setcanceltype): Fix comment.
drepper [Sun, 8 Dec 2002 04:22:56 +0000 (04:22 +0000)]
(__pthread_setcanceltype): Fix comment.

17 years agoUpdate.
drepper [Sun, 8 Dec 2002 03:13:06 +0000 (03:13 +0000)]
Update.

17 years ago(CFLAGS-ftrylockfile.c): Add -D_IO_MTSAFE_IO.
drepper [Sun, 8 Dec 2002 03:12:42 +0000 (03:12 +0000)]
(CFLAGS-ftrylockfile.c): Add -D_IO_MTSAFE_IO.

17 years agoMove declarations of _GI_pthread_cleanup_push and
drepper [Sun, 8 Dec 2002 03:12:05 +0000 (03:12 +0000)]
Move declarations of _GI_pthread_cleanup_push and
_GI_pthread_cleanup_pop to pthreadP.h.

17 years agoUse _IO_lock_trylock instead of pthread_mutex_trylock.
drepper [Sun, 8 Dec 2002 03:11:18 +0000 (03:11 +0000)]
Use _IO_lock_trylock instead of pthread_mutex_trylock.

17 years ago(CANCEL_ASYNC): Use __pthread_setcanceltype.
drepper [Sun, 8 Dec 2002 03:09:29 +0000 (03:09 +0000)]
(CANCEL_ASYNC): Use __pthread_setcanceltype.
(CANCEL_RESET): Likewise.
(__pthread_setcanceltype_): Declare.
(__pthread_mutex_lock_internal): Declare.
(__pthread_mutex_unlock_internal): Declare.
(__pthread_once_internal): Declare.
(pthread_cleanup_push): Redefine using _GI_pthread_cleanup_push.
(pthread_cleanup_pop): Redefine using _GI_pthread_cleanup_pop.

17 years agoUse __pthread_kill instead of pthread_kill.
drepper [Sun, 8 Dec 2002 03:05:51 +0000 (03:05 +0000)]
Use __pthread_kill instead of pthread_kill.

17 years agoUse INTUSE is calls to pthread_mutex_lock and pthread_mutex_unlock.
drepper [Sun, 8 Dec 2002 03:04:57 +0000 (03:04 +0000)]
Use INTUSE is calls to pthread_mutex_lock and pthread_mutex_unlock.

17 years agoUse INTDEF to define alias if needed.
drepper [Sun, 8 Dec 2002 03:03:42 +0000 (03:03 +0000)]
Use INTDEF to define alias if needed.

17 years agoAdd second parameter to strong_alias.
drepper [Sun, 8 Dec 2002 03:02:38 +0000 (03:02 +0000)]
Add second parameter to strong_alias.

17 years agoAdd additional alias __pthread_setcanceltype.
drepper [Sun, 8 Dec 2002 03:02:05 +0000 (03:02 +0000)]
Add additional alias __pthread_setcanceltype.

17 years ago(sem_open): Likewise.
drepper [Sun, 8 Dec 2002 03:00:31 +0000 (03:00 +0000)]
(sem_open): Likewise.
Use __libc_open, __libc_write, and __libc_close instead of
open, write, and close respectively.

17 years ago(sem_unlink): Use __pthread_once with INTDEF.
drepper [Sun, 8 Dec 2002 02:59:03 +0000 (02:59 +0000)]
(sem_unlink): Use __pthread_once with INTDEF.

17 years ago(__libc_lock_trylock_internal): Rewrite as statement expression since
drepper [Sun, 8 Dec 2002 02:58:07 +0000 (02:58 +0000)]
(__libc_lock_trylock_internal): Rewrite as statement expression since
it must return a value.

17 years agoDefine additional alias __pthread_kill.
drepper [Sun, 8 Dec 2002 02:56:18 +0000 (02:56 +0000)]
Define additional alias __pthread_kill.

17 years agoDefine additional alias __pthread_once_internal.
drepper [Sun, 8 Dec 2002 02:55:10 +0000 (02:55 +0000)]
Define additional alias __pthread_once_internal.

17 years agoUpdate.
drepper [Sun, 8 Dec 2002 02:27:03 +0000 (02:27 +0000)]
Update.

17 years ago(_IO_lock_trylock): New define.
drepper [Sun, 8 Dec 2002 02:25:45 +0000 (02:25 +0000)]
(_IO_lock_trylock): New define.

17 years agoBump to 0.12.
drepper [Sun, 8 Dec 2002 00:48:03 +0000 (00:48 +0000)]
Bump to 0.12.

17 years agoUpdate.
drepper [Sun, 8 Dec 2002 00:47:12 +0000 (00:47 +0000)]
Update.

17 years agoUse libc_hidden_def for raise.
drepper [Sun, 8 Dec 2002 00:46:49 +0000 (00:46 +0000)]
Use libc_hidden_def for raise.

17 years ago.
roland [Sat, 7 Dec 2002 21:55:56 +0000 (21:55 +0000)]
.

17 years ago2002-12-07 Roland McGrath <roland@redhat.com>
roland [Sat, 7 Dec 2002 21:55:14 +0000 (21:55 +0000)]
2002-12-07  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/libc-tls.c (__libc_setup_tls): Reintroduce changes
from 2002-12-06, but remove unnecessary memset call without removing
necessary copy of initialization image.

17 years ago2002-12-07 Roland McGrath <roland@redhat.com>
roland [Sat, 7 Dec 2002 21:55:12 +0000 (21:55 +0000)]
2002-12-07  Roland McGrath  <roland@redhat.com>

* Makerules ($(common-objpfx)format.lds): New target.
(common-generated): Add it.
($(inst_libdir)/libc.so): Depend on that, and cat it into the result.
* scripts/output-format.sed: New file.
* Makefile (distribute): Add it.

17 years agoUpdate.
drepper [Sat, 7 Dec 2002 18:46:53 +0000 (18:46 +0000)]
Update.

17 years agoInclude <sys/param.h>.
drepper [Sat, 7 Dec 2002 18:44:19 +0000 (18:44 +0000)]
Include <sys/param.h>.

17 years agoUpdate.
drepper [Sat, 7 Dec 2002 09:03:23 +0000 (09:03 +0000)]
Update.

17 years ago(strncpy): Clear ar.ec. Fix .recovery4.
drepper [Sat, 7 Dec 2002 09:02:18 +0000 (09:02 +0000)]
(strncpy): Clear ar.ec.  Fix .recovery4.

17 years ago(do_random_tests): Improve test coverage.
drepper [Sat, 7 Dec 2002 09:01:52 +0000 (09:01 +0000)]
(do_random_tests): Improve test coverage.

17 years agoUpdate.
drepper [Sat, 7 Dec 2002 05:39:20 +0000 (05:39 +0000)]
Update.

17 years ago(tests): Add tst-stdio1 and tst-stdio2.
drepper [Sat, 7 Dec 2002 05:38:48 +0000 (05:38 +0000)]
(tests): Add tst-stdio1 and tst-stdio2.

17 years agoTest for stdio stream locking.
drepper [Sat, 7 Dec 2002 05:38:16 +0000 (05:38 +0000)]
Test for stdio stream locking.

17 years agoUpdate.
drepper [Sat, 7 Dec 2002 05:28:11 +0000 (05:28 +0000)]
Update.

17 years ago(timeout_handler): Allow expected signal to be SIGALRM.
drepper [Sat, 7 Dec 2002 05:27:03 +0000 (05:27 +0000)]
(timeout_handler): Allow expected signal to be SIGALRM.

17 years agoUpdate.
drepper [Sat, 7 Dec 2002 04:21:51 +0000 (04:21 +0000)]
Update.

17 years agoAdd libc_hidden_def for iswalnum.
drepper [Sat, 7 Dec 2002 03:56:40 +0000 (03:56 +0000)]
Add libc_hidden_def for iswalnum.

17 years agoAdd libc_hidden_def for raise.
drepper [Sat, 7 Dec 2002 03:45:55 +0000 (03:45 +0000)]
Add libc_hidden_def for raise.

17 years agoUpdate.
drepper [Sat, 7 Dec 2002 02:12:17 +0000 (02:12 +0000)]
Update.

17 years agoRTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Fix a pasto.
drepper [Sat, 7 Dec 2002 02:10:41 +0000 (02:10 +0000)]
RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Fix a pasto.

17 years agoUpdate.
drepper [Sat, 7 Dec 2002 01:24:46 +0000 (01:24 +0000)]
Update.

17 years agoUndo last patch.
drepper [Sat, 7 Dec 2002 01:24:29 +0000 (01:24 +0000)]
Undo last patch.

17 years agoUpdate.
drepper [Fri, 6 Dec 2002 23:38:01 +0000 (23:38 +0000)]
Update.

17 years agoDefine raise with libc_hidden_proto.
drepper [Fri, 6 Dec 2002 23:36:40 +0000 (23:36 +0000)]
Define raise with libc_hidden_proto.

17 years agoDefine iswalnum with libc_hidden_proto.
drepper [Fri, 6 Dec 2002 23:35:59 +0000 (23:35 +0000)]
Define iswalnum with libc_hidden_proto.

17 years ago(fexecve): Use __snprintf and __execve instead of snprintf and execve.
drepper [Fri, 6 Dec 2002 23:30:54 +0000 (23:30 +0000)]
(fexecve): Use __snprintf and __execve instead of snprintf and execve.

17 years agoUpdate.
drepper [Fri, 6 Dec 2002 22:29:26 +0000 (22:29 +0000)]
Update.

17 years agoRelax errors for flaot and double again a bit.
drepper [Fri, 6 Dec 2002 22:26:57 +0000 (22:26 +0000)]
Relax errors for flaot and double again a bit.

17 years ago.
roland [Fri, 6 Dec 2002 22:08:25 +0000 (22:08 +0000)]
.

17 years ago(fmt, testfmt): Remove -D_LIBC.
drepper [Fri, 6 Dec 2002 21:28:23 +0000 (21:28 +0000)]
(fmt, testfmt): Remove -D_LIBC.

17 years ago(annexc.out): Add -I../dir for all sorted-dirs.
drepper [Fri, 6 Dec 2002 21:27:48 +0000 (21:27 +0000)]
(annexc.out): Add -I../dir for all sorted-dirs.

17 years agoUpdate.
drepper [Fri, 6 Dec 2002 21:15:46 +0000 (21:15 +0000)]
Update.