kopensolaris-gnu/glibc.git
17 years agoAdd libc_hidden_def for _IO_file_open.
drepper [Tue, 31 Dec 2002 22:29:03 +0000 (22:29 +0000)]
Add libc_hidden_def for _IO_file_open.

17 years agoAdd libc_hidden_proto for __wcsftime_l.
drepper [Tue, 31 Dec 2002 22:27:59 +0000 (22:27 +0000)]
Add libc_hidden_proto for __wcsftime_l.

17 years agoAdd libc_hidden_proto for __strftime_l.
drepper [Tue, 31 Dec 2002 22:27:09 +0000 (22:27 +0000)]
Add libc_hidden_proto for __strftime_l.

17 years ago(routines): Add dso_handle.
drepper [Tue, 31 Dec 2002 22:25:45 +0000 (22:25 +0000)]
(routines): Add dso_handle.

17 years agoDefine our own dso_handle.
drepper [Tue, 31 Dec 2002 22:25:11 +0000 (22:25 +0000)]
Define our own dso_handle.

17 years ago.
roland [Tue, 31 Dec 2002 21:15:05 +0000 (21:15 +0000)]
.

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

* Makerules (compile.S, COMPILE.S): Remove -DASSEMBLER here.
Use $(S-CPPFLAGS) in place of $(asm-CPPFLAGS).
(S-CPPFLAGS): Add -DASSEMBLER here instead.
(generate-md5, +make-deps): Fix magic to get $(S-CPPFLAGS).

17 years agoUpdate.
drepper [Tue, 31 Dec 2002 21:10:07 +0000 (21:10 +0000)]
Update.

17 years agoAdd libc_hidden_proto for __register_atfork.
drepper [Tue, 31 Dec 2002 21:09:28 +0000 (21:09 +0000)]
Add libc_hidden_proto for __register_atfork.

17 years agoAdd libc_hidden_def for __register_atfork.
drepper [Tue, 31 Dec 2002 21:09:01 +0000 (21:09 +0000)]
Add libc_hidden_def for __register_atfork.

17 years agoUpdate.
drepper [Tue, 31 Dec 2002 21:07:34 +0000 (21:07 +0000)]
Update.

17 years ago[SHARED] (thread_atfork): Assume __dso_handle is available.
drepper [Tue, 31 Dec 2002 21:05:27 +0000 (21:05 +0000)]
[SHARED] (thread_atfork): Assume __dso_handle is available.

17 years agoUpdate.
drepper [Tue, 31 Dec 2002 21:01:53 +0000 (21:01 +0000)]
Update.

17 years agoAdd libc_hidden_def for __register_atfork.
drepper [Tue, 31 Dec 2002 21:01:17 +0000 (21:01 +0000)]
Add libc_hidden_def for __register_atfork.

17 years agoAdd libc_hidden_proto for __register_atfork.
drepper [Tue, 31 Dec 2002 21:00:53 +0000 (21:00 +0000)]
Add libc_hidden_proto for __register_atfork.

17 years agoUpdate.
drepper [Tue, 31 Dec 2002 20:46:11 +0000 (20:46 +0000)]
Update.

17 years agoGuard against multiple inclusion.
drepper [Tue, 31 Dec 2002 20:45:13 +0000 (20:45 +0000)]
Guard against multiple inclusion.

17 years ago(__GI___lseek): New alias to llseek.
drepper [Tue, 31 Dec 2002 20:44:39 +0000 (20:44 +0000)]
(__GI___lseek): New alias to llseek.
(__GI_accept): New alias to accept.

17 years ago(__GI_accept): New alias to accept.
drepper [Tue, 31 Dec 2002 20:44:13 +0000 (20:44 +0000)]
(__GI_accept): New alias to accept.

17 years ago(__GI_accept): New alias to accept.
drepper [Tue, 31 Dec 2002 20:44:01 +0000 (20:44 +0000)]
(__GI_accept): New alias to accept.

17 years ago(accept): Add libc_hidden_def.
drepper [Tue, 31 Dec 2002 20:42:53 +0000 (20:42 +0000)]
(accept): Add libc_hidden_def.

17 years ago(__GI_accept): New alias to accept.
drepper [Tue, 31 Dec 2002 20:42:18 +0000 (20:42 +0000)]
(__GI_accept): New alias to accept.

17 years ago(__GI_accept): New alias to accept.
drepper [Tue, 31 Dec 2002 20:41:50 +0000 (20:41 +0000)]
(__GI_accept): New alias to accept.

17 years ago(accept): Add libc_hidden_def.
drepper [Tue, 31 Dec 2002 20:41:23 +0000 (20:41 +0000)]
(accept): Add libc_hidden_def.

17 years ago(__res_state): Add libc_hidden_def.b
drepper [Tue, 31 Dec 2002 20:40:49 +0000 (20:40 +0000)]
(__res_state): Add libc_hidden_def.b

17 years ago(__lseek): Add libc_hidden_def.
drepper [Tue, 31 Dec 2002 20:40:17 +0000 (20:40 +0000)]
(__lseek): Add libc_hidden_def.

17 years ago(__h_errno_location): Add libc_hidden_def.
drepper [Tue, 31 Dec 2002 20:39:25 +0000 (20:39 +0000)]
(__h_errno_location): Add libc_hidden_def.

17 years ago(__errno_location): Add libc_hidden_def.
drepper [Tue, 31 Dec 2002 20:39:08 +0000 (20:39 +0000)]
(__errno_location): Add libc_hidden_def.

17 years ago(__libc_current_sigrtmin, __libc_current_sigrtmax): Add libc_hidden_def.
drepper [Tue, 31 Dec 2002 20:38:40 +0000 (20:38 +0000)]
(__libc_current_sigrtmin, __libc_current_sigrtmax): Add libc_hidden_def.

17 years ago(accept): Add libc_hidden_def.
drepper [Tue, 31 Dec 2002 20:38:16 +0000 (20:38 +0000)]
(accept): Add libc_hidden_def.

17 years agoUse libc_hidden_def(name) instead of strong_alias (name, __GI_name).
drepper [Tue, 31 Dec 2002 20:37:22 +0000 (20:37 +0000)]
Use libc_hidden_def(name) instead of strong_alias (name, __GI_name).

17 years ago(__lseek): Add libc_hidden_proto.
drepper [Tue, 31 Dec 2002 20:35:14 +0000 (20:35 +0000)]
(__lseek): Add libc_hidden_proto.

17 years agoAdd libc_hidden_proto for __libc_current_sigrtmin and __libc_current_sigrtmax.
drepper [Tue, 31 Dec 2002 20:34:48 +0000 (20:34 +0000)]
Add libc_hidden_proto for __libc_current_sigrtmin and __libc_current_sigrtmax.

17 years ago(__res_state): Use libc_hidden_proto unconditionally.
drepper [Tue, 31 Dec 2002 20:34:28 +0000 (20:34 +0000)]
(__res_state): Use libc_hidden_proto unconditionally.

17 years ago(__h_errno_location): Add libc_hidden_proto.
drepper [Tue, 31 Dec 2002 20:34:01 +0000 (20:34 +0000)]
(__h_errno_location): Add libc_hidden_proto.

17 years ago(__errno_location): Add libc_hidden_proto.
drepper [Tue, 31 Dec 2002 20:33:33 +0000 (20:33 +0000)]
(__errno_location): Add libc_hidden_proto.

17 years ago(accept): Add libc_hidden_proto.
drepper [Tue, 31 Dec 2002 20:33:12 +0000 (20:33 +0000)]
(accept): Add libc_hidden_proto.

17 years ago(__errno_location): Add libc_hidden_def.
drepper [Tue, 31 Dec 2002 20:32:45 +0000 (20:32 +0000)]
(__errno_location): Add libc_hidden_def.

17 years agoUpdate.
drepper [Tue, 31 Dec 2002 20:31:01 +0000 (20:31 +0000)]
Update.

17 years agoInclude <fork.h>, not "fork.h".
drepper [Tue, 31 Dec 2002 20:29:54 +0000 (20:29 +0000)]
Include <fork.h>, not "fork.h".

17 years ago(__libc_current_sigrtmin, __libc_current_sigrtmax): Add libc_hidden_def.
drepper [Tue, 31 Dec 2002 20:29:34 +0000 (20:29 +0000)]
(__libc_current_sigrtmin, __libc_current_sigrtmax): Add libc_hidden_def.

17 years ago(__res_state): Add libc_hidden_def.
drepper [Tue, 31 Dec 2002 20:29:09 +0000 (20:29 +0000)]
(__res_state): Add libc_hidden_def.

17 years agoRemove assert.h include.
drepper [Tue, 31 Dec 2002 20:28:40 +0000 (20:28 +0000)]
Remove assert.h include.

17 years ago(__h_errno_location): Add libc_hidden_def.
drepper [Tue, 31 Dec 2002 20:27:52 +0000 (20:27 +0000)]
(__h_errno_location): Add libc_hidden_def.

17 years ago(__errno_location): Add libc_hidden_def.
drepper [Tue, 31 Dec 2002 20:27:16 +0000 (20:27 +0000)]
(__errno_location): Add libc_hidden_def.

17 years agoUse __ASSEMBLER__ instead of ASSEMBLER test macro.
drepper [Tue, 31 Dec 2002 20:25:22 +0000 (20:25 +0000)]
Use __ASSEMBLER__ instead of ASSEMBLER test macro.

17 years ago[libc] (GLIBC_PRIVATE): Remove __libc_internal_tsd_get,
drepper [Tue, 31 Dec 2002 20:24:10 +0000 (20:24 +0000)]
[libc] (GLIBC_PRIVATE): Remove __libc_internal_tsd_get,
__libc_internal_tsd_set, __libc_internal_tsd_address,
__libc_alloca_cutoff.
[libpthread] (GLIBC_PRIVATE): Remove __libc_internal_tsd_get,
__libc_internal_tsd_set, __libc_internal_tsd_address.

17 years agoUpdate.
drepper [Tue, 31 Dec 2002 20:06:30 +0000 (20:06 +0000)]
Update.

17 years agoUse __ASSEMBLER__ instead of ASSEMBLER test macro.
drepper [Tue, 31 Dec 2002 20:05:57 +0000 (20:05 +0000)]
Use __ASSEMBLER__ instead of ASSEMBLER test macro.

17 years ago(__libc_current_sigrtmin, __libc_current_sigrtmax): Add libc_hidden_def.
drepper [Tue, 31 Dec 2002 20:05:35 +0000 (20:05 +0000)]
(__libc_current_sigrtmin, __libc_current_sigrtmax): Add libc_hidden_def.

17 years agoRemove assert.h include.
drepper [Tue, 31 Dec 2002 20:05:17 +0000 (20:05 +0000)]
Remove assert.h include.

17 years agoUpdate.
aj [Tue, 31 Dec 2002 13:24:50 +0000 (13:24 +0000)]
Update.

17 years ago * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
aj [Tue, 31 Dec 2002 13:24:33 +0000 (13:24 +0000)]
* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
with Linux kernel.
* sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise.

* sysdeps/unix/sysv/linux/kernel_stat.h
(_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.

* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Readd
__unused[1-3] since they're needed by some platforms.  Handle
_HAVE_STAT_NSEC and _HAVE_STAT_NSEC64.

* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Add nsec resolution
for structs stat and stat64.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.

17 years agoUpdate.
drepper [Tue, 31 Dec 2002 11:12:11 +0000 (11:12 +0000)]
Update.

17 years agoAdd __GI___fork alias.
drepper [Tue, 31 Dec 2002 11:11:11 +0000 (11:11 +0000)]
Add __GI___fork alias.

17 years agoAdd __GI___vfork alias.
drepper [Tue, 31 Dec 2002 11:10:30 +0000 (11:10 +0000)]
Add __GI___vfork alias.

17 years agoAdd __GI___fork alias.
drepper [Tue, 31 Dec 2002 11:07:24 +0000 (11:07 +0000)]
Add __GI___fork alias.

17 years agoAdd libc_hidden_def for __fork.
drepper [Tue, 31 Dec 2002 11:05:04 +0000 (11:05 +0000)]
Add libc_hidden_def for __fork.

17 years agoAdd libc_hidden_def for __fork.
drepper [Tue, 31 Dec 2002 11:04:04 +0000 (11:04 +0000)]
Add libc_hidden_def for __fork.

17 years agoAdd libc_hidden_def for __vfork.
drepper [Tue, 31 Dec 2002 11:03:42 +0000 (11:03 +0000)]
Add libc_hidden_def for __vfork.

17 years agoAdd libc_hidden_def for __fork.
drepper [Tue, 31 Dec 2002 11:03:29 +0000 (11:03 +0000)]
Add libc_hidden_def for __fork.

17 years agoAdd libc_hidden_proto for __fork and __vfork.
drepper [Tue, 31 Dec 2002 11:02:36 +0000 (11:02 +0000)]
Add libc_hidden_proto for __fork and __vfork.

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

17 years agoAdd __GI___nanosleep alias.
drepper [Tue, 31 Dec 2002 10:23:12 +0000 (10:23 +0000)]
Add __GI___nanosleep alias.

17 years agoAdd libc_hidden_def for __nanosleep.
drepper [Tue, 31 Dec 2002 10:22:40 +0000 (10:22 +0000)]
Add libc_hidden_def for __nanosleep.

17 years agoChange #if !defined to #ifndef.
drepper [Tue, 31 Dec 2002 10:21:12 +0000 (10:21 +0000)]
Change #if !defined to #ifndef.

17 years agoAdd libc_hidden_proto for __nanosleep.
drepper [Tue, 31 Dec 2002 10:19:45 +0000 (10:19 +0000)]
Add libc_hidden_proto for __nanosleep.

17 years agoUpdate.
drepper [Tue, 31 Dec 2002 10:06:16 +0000 (10:06 +0000)]
Update.

17 years agoAdd libc_hidden_def for _IO_list_lock, _IO_list_unlock, and
drepper [Tue, 31 Dec 2002 10:05:39 +0000 (10:05 +0000)]
Add libc_hidden_def for _IO_list_lock, _IO_list_unlock, and
_IO_list_resetlock.

17 years agoAdd libc_hidden_proto for _IO_list_lock, _IO_list_unlock, and
drepper [Tue, 31 Dec 2002 10:05:09 +0000 (10:05 +0000)]
Add libc_hidden_proto for _IO_list_lock, _IO_list_unlock, and
_IO_list_resetlock.

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

17 years agoAdd libc_hidden_def for _IO_iter_begin, _IO_iter_end, _IO_iter_next,
drepper [Tue, 31 Dec 2002 09:55:55 +0000 (09:55 +0000)]
Add libc_hidden_def for _IO_iter_begin, _IO_iter_end, _IO_iter_next,
and _IO_iter_file.

17 years agoAdd libc_hidden_proto for _IO_iter_begin, _IO_iter_end, _IO_iter_next,
drepper [Tue, 31 Dec 2002 09:54:58 +0000 (09:54 +0000)]
Add libc_hidden_proto for _IO_iter_begin, _IO_iter_end, _IO_iter_next,
and _IO_iter_file.

17 years agoUpdate.
drepper [Tue, 31 Dec 2002 09:46:42 +0000 (09:46 +0000)]
Update.

17 years agoAdd libc_hidden_def for __longjmp.
drepper [Tue, 31 Dec 2002 09:45:38 +0000 (09:45 +0000)]
Add libc_hidden_def for __longjmp.

17 years agoAdd __GI___longjmp alias.
drepper [Tue, 31 Dec 2002 09:45:09 +0000 (09:45 +0000)]
Add __GI___longjmp alias.

17 years agoAdd libc_hidden_proto for __libc_longjmp.
drepper [Tue, 31 Dec 2002 09:44:45 +0000 (09:44 +0000)]
Add libc_hidden_proto for __libc_longjmp.

17 years agoUpdate.
drepper [Tue, 31 Dec 2002 09:36:52 +0000 (09:36 +0000)]
Update.

17 years agoAdd __GI__setjmp alias.
drepper [Tue, 31 Dec 2002 09:35:31 +0000 (09:35 +0000)]
Add __GI__setjmp alias.

17 years agoAdd libc_hidden_proto for _setjmp.
drepper [Tue, 31 Dec 2002 09:32:50 +0000 (09:32 +0000)]
Add libc_hidden_proto for _setjmp.

17 years agoUpdate.
drepper [Tue, 31 Dec 2002 08:46:55 +0000 (08:46 +0000)]
Update.

17 years ago(call_initialize_minimal): Use __pthread_initialize_minimal_internal not
drepper [Tue, 31 Dec 2002 08:46:38 +0000 (08:46 +0000)]
(call_initialize_minimal): Use __pthread_initialize_minimal_internal not
__pthread_initialize_minimal.

17 years agoUpdate.
drepper [Tue, 31 Dec 2002 08:00:19 +0000 (08:00 +0000)]
Update.

17 years ago(thread_atfork): Define using __register_atfork.
drepper [Tue, 31 Dec 2002 07:59:05 +0000 (07:59 +0000)]
(thread_atfork): Define using __register_atfork.

17 years agoUpdate.
drepper [Tue, 31 Dec 2002 07:12:06 +0000 (07:12 +0000)]
Update.

17 years ago(call_initialize_minimal): Mark __pthread_initialize_minimal as hidden.
drepper [Tue, 31 Dec 2002 07:11:42 +0000 (07:11 +0000)]
(call_initialize_minimal): Mark __pthread_initialize_minimal as hidden.

17 years agoUpdate.
drepper [Tue, 31 Dec 2002 07:08:29 +0000 (07:08 +0000)]
Update.

17 years ago(shared-thread-library): Include libpthread_nonshared.a too.
drepper [Tue, 31 Dec 2002 07:07:23 +0000 (07:07 +0000)]
(shared-thread-library): Include libpthread_nonshared.a too.

17 years agopthread_atfork implementation.
drepper [Tue, 31 Dec 2002 07:07:01 +0000 (07:07 +0000)]
pthread_atfork implementation.

17 years agoCompatibility code for atfork code in libpthread.
drepper [Tue, 31 Dec 2002 07:06:30 +0000 (07:06 +0000)]
Compatibility code for atfork code in libpthread.

17 years ago(libpthread-routines): Add old_pthread_atfork.
drepper [Tue, 31 Dec 2002 07:05:23 +0000 (07:05 +0000)]
(libpthread-routines): Add old_pthread_atfork.
(libpthread-nonshared): Add pthread_atfork.
(others): Depend on $(objpfx)libpthread_nonshared.a.
($(objpfx)libpthread_nonshared.a): New rule.
(install): Depend on $(inst_libdir)/libpthread.so.
($(inst_libdir)/libpthread.so, $(inst_libdir)/libpthread_nonshared.a):
New rules.
(tests): Depend on libpthread_nonshared.a too.

17 years agoInclude fork.h.
drepper [Tue, 31 Dec 2002 07:05:07 +0000 (07:05 +0000)]
Include fork.h.
(struct handler_list, struct handler_list_block): Remove.
(pthread_atfork_lock, pthread_atfork_prepare, pthread_atfork_parent,
pthread_atfork_child): Remove.
(pthread_insert_list, __pthread_atfork, pthread_call_handlers): Remove.
(__pthread_fork): New function.
(__fork, __vfork): Call __libc_fork.

17 years ago(pthread_functions): Initialize ptr_pthread_fork and
drepper [Tue, 31 Dec 2002 07:04:53 +0000 (07:04 +0000)]
(pthread_functions): Initialize ptr_pthread_fork and
ptr_pthread_cleanup_upto.

17 years ago(__pthread_cleanup_upto, __pthread_fork): New prototypes.
drepper [Tue, 31 Dec 2002 07:04:34 +0000 (07:04 +0000)]
(__pthread_cleanup_upto, __pthread_fork): New prototypes.
(struct pthread_functions): Add ptr_pthread_fork,
ptr_pthread_cleanup_upto.

17 years ago(pthread_cleanup_upto): Rename to...
drepper [Tue, 31 Dec 2002 07:04:19 +0000 (07:04 +0000)]
(pthread_cleanup_upto): Rename to...
(__pthread_cleanup_upto): ...this. Add targetframe argument,
use it instead of currentframe.  No longer static.
(siglongjmp, longjmp): Remove pthread_cleanup_upto calls.

17 years agoAdditional version definitions for Linux part.
drepper [Tue, 31 Dec 2002 07:04:01 +0000 (07:04 +0000)]
Additional version definitions for Linux part.

17 years agoMakefile for Linux part.
drepper [Tue, 31 Dec 2002 07:03:40 +0000 (07:03 +0000)]
Makefile for Linux part.

17 years agoHelper code to unregister atfork handlers.
drepper [Tue, 31 Dec 2002 07:03:23 +0000 (07:03 +0000)]
Helper code to unregister atfork handlers.

17 years agoHelper code to register atfork handlers.
drepper [Tue, 31 Dec 2002 07:01:45 +0000 (07:01 +0000)]
Helper code to register atfork handlers.

17 years agoDefinitions for fork implementation in libc and libpthread for SPARC.
drepper [Tue, 31 Dec 2002 07:01:25 +0000 (07:01 +0000)]
Definitions for fork implementation in libc and libpthread for SPARC.