kopensolaris-gnu/glibc.git
20 years agoUpdate.
aj [Thu, 13 Apr 2000 19:46:23 +0000 (19:46 +0000)]
Update.

20 years ago2000-04-13 Andreas Jaeger <aj@suse.de>
aj [Thu, 13 Apr 2000 19:46:02 +0000 (19:46 +0000)]
2000-04-13  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
default.

* sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
with some applications.
Patches by Ralf Baechle <ralf@uni-koblenz.de>.

* sysdeps/mips/bsd-setjmp.S: Use __PIC__.
* sysdeps/mips/bsd-_setjmp.S: Likewise.
* sysdeps/mips/setjmp.S: Likewise.

20 years agoUpdate.
drepper [Thu, 13 Apr 2000 15:13:26 +0000 (15:13 +0000)]
Update.

20 years ago(pthread_getcpuclockid): Fix typo.
drepper [Thu, 13 Apr 2000 15:13:04 +0000 (15:13 +0000)]
(pthread_getcpuclockid): Fix typo.

20 years ago(result): Fix typo in last change.
drepper [Thu, 13 Apr 2000 07:32:17 +0000 (07:32 +0000)]
(result): Fix typo in last change.

20 years agoUpdate.
drepper [Thu, 13 Apr 2000 07:30:27 +0000 (07:30 +0000)]
Update.

20 years agoWork around inconsistency with expanding ~/ in shell.
drepper [Thu, 13 Apr 2000 07:29:28 +0000 (07:29 +0000)]
Work around inconsistency with expanding ~/ in shell.

20 years agoUpdate.
drepper [Thu, 13 Apr 2000 06:35:33 +0000 (06:35 +0000)]
Update.

20 years agoAdd prototype for pthread_getcpuclockid.
drepper [Thu, 13 Apr 2000 06:34:59 +0000 (06:34 +0000)]
Add prototype for pthread_getcpuclockid.

20 years agoi386/Linux implementation of pthread_getcpuclockid.
drepper [Thu, 13 Apr 2000 06:34:42 +0000 (06:34 +0000)]
i386/Linux implementation of pthread_getcpuclockid.

20 years agoStub implementation of pthread_getcpuclockid.
drepper [Thu, 13 Apr 2000 06:33:13 +0000 (06:33 +0000)]
Stub implementation of pthread_getcpuclockid.

20 years ago[libpthread] (GLIBC_2.2): Add pthread_getcpuclockid.
drepper [Thu, 13 Apr 2000 06:32:49 +0000 (06:32 +0000)]
[libpthread] (GLIBC_2.2): Add pthread_getcpuclockid.

20 years ago(libpthread-routines): Add getcpuclockid.
drepper [Thu, 13 Apr 2000 06:32:16 +0000 (06:32 +0000)]
(libpthread-routines): Add getcpuclockid.

20 years ago(__pthread_spin_lock): Remove unneeded return.
drepper [Thu, 13 Apr 2000 06:31:16 +0000 (06:31 +0000)]
(__pthread_spin_lock): Remove unneeded return.

20 years agoUpdate.
drepper [Thu, 13 Apr 2000 05:59:06 +0000 (05:59 +0000)]
Update.

20 years ago(_POSIX_SPIN_LOCKS): Defined.
drepper [Thu, 13 Apr 2000 05:58:38 +0000 (05:58 +0000)]
(_POSIX_SPIN_LOCKS): Defined.

20 years ago(_POSIX_SPIN_LOCKS): Defined.
drepper [Thu, 13 Apr 2000 05:58:16 +0000 (05:58 +0000)]
(_POSIX_SPIN_LOCKS): Defined.

20 years agoUpdate.
drepper [Thu, 13 Apr 2000 05:57:21 +0000 (05:57 +0000)]
Update.

20 years agoUse __pthread_spin_unlock instead of __pthread_unlock.
drepper [Thu, 13 Apr 2000 05:56:08 +0000 (05:56 +0000)]
Use __pthread_spin_unlock instead of __pthread_unlock.
Change all uses of _pthread_fastlock to pthread_spinlock_t.

20 years ago[libpthread] (GLIBC_2.2): Add pthread_spin_init, pthread_spin_destroy,
drepper [Thu, 13 Apr 2000 05:55:27 +0000 (05:55 +0000)]
[libpthread] (GLIBC_2.2): Add pthread_spin_init, pthread_spin_destroy,
pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.

20 years agoRename __pthread_unlock to __pthread_spin_unlock.
drepper [Thu, 13 Apr 2000 05:54:51 +0000 (05:54 +0000)]
Rename __pthread_unlock to __pthread_spin_unlock.
Change all uses of _pthread_fastlock to pthread_spinlock_t.

20 years agoImplement pthread_spin_lock.
drepper [Thu, 13 Apr 2000 05:54:12 +0000 (05:54 +0000)]
Implement pthread_spin_lock.
Rename __pthread_unlock to __pthread_spin_unlock and define weak
alias for real name.
Define pthread_spin_trylock, pthread_spin_init, and
pthread_spin_destroy.
Change all uses of _pthread_fastlock to pthread_spinlock_t.

20 years agoChange struct _pthread_fastlock into pthread_spinlock_t. Change all uses.
drepper [Thu, 13 Apr 2000 05:50:34 +0000 (05:50 +0000)]
Change struct _pthread_fastlock into pthread_spinlock_t.  Change all uses.

20 years agoAdd prototypes for pthread_spin_init, pthread_spin_destroy,
drepper [Thu, 13 Apr 2000 05:49:46 +0000 (05:49 +0000)]
Add prototypes for pthread_spin_init, pthread_spin_destroy,
pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.

20 years agoUpdate.
drepper [Thu, 13 Apr 2000 03:55:50 +0000 (03:55 +0000)]
Update.

20 years agoRename __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Add define
drepper [Thu, 13 Apr 2000 03:55:25 +0000 (03:55 +0000)]
Rename __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID.  Add define
CLOCK_MONOTONIC and CLOCK_THREAD_CPUTIME_ID.

20 years agoAdd _POSIX_REGEXP and _POSIX_SHELL.
drepper [Thu, 13 Apr 2000 03:54:28 +0000 (03:54 +0000)]
Add _POSIX_REGEXP and _POSIX_SHELL.

20 years agoChange for renaming of __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID.
drepper [Thu, 13 Apr 2000 03:53:38 +0000 (03:53 +0000)]
Change for renaming of __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID.
Handle CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.

20 years agoSet *clock_id to CLOCK_PROCESS_CPUTIME_ID.
drepper [Thu, 13 Apr 2000 03:52:12 +0000 (03:52 +0000)]
Set *clock_id to CLOCK_PROCESS_CPUTIME_ID.

20 years agoAdd support for many more POSIX options.
drepper [Thu, 13 Apr 2000 03:50:23 +0000 (03:50 +0000)]
Add support for many more POSIX options.

20 years agoAdd _POSIX_REGEXP and _POSIX_SHELL.
drepper [Thu, 13 Apr 2000 03:50:09 +0000 (03:50 +0000)]
Add _POSIX_REGEXP and _POSIX_SHELL.

20 years agoAdd many more POSIX options.
drepper [Thu, 13 Apr 2000 03:49:22 +0000 (03:49 +0000)]
Add many more POSIX options.

20 years agoAdd support for many more POSIX options.
drepper [Thu, 13 Apr 2000 03:48:37 +0000 (03:48 +0000)]
Add support for many more POSIX options.

20 years agoUpdate.
drepper [Thu, 13 Apr 2000 03:47:46 +0000 (03:47 +0000)]
Update.

20 years agoi386/Linux specific POSIX option definitions.
drepper [Thu, 13 Apr 2000 03:47:18 +0000 (03:47 +0000)]
i386/Linux specific POSIX option definitions.

20 years agoAdd various new POSIX macros.
drepper [Thu, 13 Apr 2000 03:46:59 +0000 (03:46 +0000)]
Add various new POSIX macros.

20 years agoAdd TODO.html.
drepper [Thu, 13 Apr 2000 03:42:02 +0000 (03:42 +0000)]
Add TODO.html.

20 years agoUpdate.
drepper [Wed, 12 Apr 2000 23:53:40 +0000 (23:53 +0000)]
Update.

20 years ago(tests): Add tst-calloc.
drepper [Wed, 12 Apr 2000 23:53:13 +0000 (23:53 +0000)]
(tests): Add tst-calloc.

20 years agoTest for calloc function.
drepper [Wed, 12 Apr 2000 23:52:36 +0000 (23:52 +0000)]
Test for calloc function.

20 years agoUpdate.
drepper [Wed, 12 Apr 2000 23:40:28 +0000 (23:40 +0000)]
Update.

20 years agoArm specific error specification for math library.
drepper [Wed, 12 Apr 2000 23:39:44 +0000 (23:39 +0000)]
Arm specific error specification for math library.

20 years agoUpdate.
drepper [Wed, 12 Apr 2000 23:17:05 +0000 (23:17 +0000)]
Update.

20 years agoUndo all of today's changes.
drepper [Wed, 12 Apr 2000 23:15:52 +0000 (23:15 +0000)]
Undo all of today's changes.

20 years ago(cALLOc): Correct last change.
drepper [Wed, 12 Apr 2000 22:27:45 +0000 (22:27 +0000)]
(cALLOc): Correct last change.

20 years agoUpdate.
drepper [Wed, 12 Apr 2000 21:39:32 +0000 (21:39 +0000)]
Update.

20 years ago(show_info): Don't try to look into data for LC_ALL (there is none).
drepper [Wed, 12 Apr 2000 21:39:08 +0000 (21:39 +0000)]
(show_info): Don't try to look into data for LC_ALL (there is none).

20 years ago(endif): Fix typo.
drepper [Wed, 12 Apr 2000 21:29:16 +0000 (21:29 +0000)]
(endif): Fix typo.

20 years agoUpdate.
drepper [Wed, 12 Apr 2000 21:10:45 +0000 (21:10 +0000)]
Update.

20 years ago(cALLOc): Clear only what the user asked for and avoid writing over boundary.
drepper [Wed, 12 Apr 2000 21:09:53 +0000 (21:09 +0000)]
(cALLOc): Clear only what the user asked for and avoid writing over boundary.

20 years agoUpdate.
drepper [Wed, 12 Apr 2000 20:59:34 +0000 (20:59 +0000)]
Update.

20 years agoDefinition for memprof functionality on Arm.
drepper [Wed, 12 Apr 2000 20:58:59 +0000 (20:58 +0000)]
Definition for memprof functionality on Arm.

20 years agoUpdate.
drepper [Wed, 12 Apr 2000 20:53:19 +0000 (20:53 +0000)]
Update.

20 years agoInclude <string.h>.
drepper [Wed, 12 Apr 2000 20:52:40 +0000 (20:52 +0000)]
Include <string.h>.

20 years agoFix typo.
drepper [Wed, 12 Apr 2000 20:52:09 +0000 (20:52 +0000)]
Fix typo.

20 years ago(clock_getres): Initialize retval to -1.
drepper [Wed, 12 Apr 2000 20:50:55 +0000 (20:50 +0000)]
(clock_getres): Initialize retval to -1.

20 years ago(clock_getres): Initialize retval to -1.
drepper [Wed, 12 Apr 2000 20:50:05 +0000 (20:50 +0000)]
(clock_getres): Initialize retval to -1.

20 years agoUpdate.
drepper [Wed, 12 Apr 2000 20:45:32 +0000 (20:45 +0000)]
Update.

20 years ago(_IO_old_proc_open): Close pipes in case the mode is invalid.
drepper [Wed, 12 Apr 2000 20:44:43 +0000 (20:44 +0000)]
(_IO_old_proc_open): Close pipes in case the mode is invalid.

20 years ago(_IO_new_proc_open): Close pipes in case the mode is invalid.
drepper [Wed, 12 Apr 2000 20:44:12 +0000 (20:44 +0000)]
(_IO_new_proc_open): Close pipes in case the mode is invalid.

20 years agoUpdate.
drepper [Wed, 12 Apr 2000 20:34:27 +0000 (20:34 +0000)]
Update.

20 years ago(RTLD_START): Rewrite for new init function interface.
drepper [Wed, 12 Apr 2000 20:12:05 +0000 (20:12 +0000)]
(RTLD_START): Rewrite for new init function interface.

20 years agoUpdate.
aj [Wed, 12 Apr 2000 17:59:36 +0000 (17:59 +0000)]
Update.

20 years ago2000-04-11 Andreas Jaeger <aj@suse.de>
aj [Wed, 12 Apr 2000 17:59:20 +0000 (17:59 +0000)]
2000-04-11  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/dl-machine.h: Update some comments.
(ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.

20 years agoUpdate.
drepper [Wed, 12 Apr 2000 06:53:41 +0000 (06:53 +0000)]
Update.

20 years agoAdd _POSIX_SHARED_MEMORY_OBJECTS.
drepper [Wed, 12 Apr 2000 06:53:22 +0000 (06:53 +0000)]
Add _POSIX_SHARED_MEMORY_OBJECTS.

20 years agoUpdate.
drepper [Wed, 12 Apr 2000 06:52:24 +0000 (06:52 +0000)]
Update.

20 years agoAdd _POSIX_SHARED_MEMORY_OBJECTS.
drepper [Wed, 12 Apr 2000 06:52:00 +0000 (06:52 +0000)]
Add _POSIX_SHARED_MEMORY_OBJECTS.

20 years agoUpdate.
drepper [Wed, 12 Apr 2000 06:48:39 +0000 (06:48 +0000)]
Update.

20 years agoProgram to test POSIX shm_* functions.
drepper [Wed, 12 Apr 2000 06:48:04 +0000 (06:48 +0000)]
Program to test POSIX shm_* functions.

20 years ago(tests): Add tst-shm.
drepper [Wed, 12 Apr 2000 06:47:43 +0000 (06:47 +0000)]
(tests): Add tst-shm.
Add rules to generate tst-shm.

20 years agoUpdate.
drepper [Wed, 12 Apr 2000 06:08:31 +0000 (06:08 +0000)]
Update.

20 years ago(shm_open): Set FD_CLOEXEC for descriptor.
drepper [Wed, 12 Apr 2000 06:08:07 +0000 (06:08 +0000)]
(shm_open): Set FD_CLOEXEC for descriptor.

20 years agoUpdate.
drepper [Wed, 12 Apr 2000 04:59:33 +0000 (04:59 +0000)]
Update.

20 years agoLinux version of shm_unlink.
drepper [Wed, 12 Apr 2000 04:58:48 +0000 (04:58 +0000)]
Linux version of shm_unlink.

20 years agoLinux version of shm_open.
drepper [Wed, 12 Apr 2000 04:58:40 +0000 (04:58 +0000)]
Linux version of shm_open.

20 years ago[libc] (GLIBC_2.2): Export __endmntent, __getmntent_r, __setmntent,
drepper [Wed, 12 Apr 2000 04:58:19 +0000 (04:58 +0000)]
[libc] (GLIBC_2.2): Export __endmntent, __getmntent_r, __setmntent,
and __statfs.

20 years agoStub version of shm_unlink.
drepper [Wed, 12 Apr 2000 04:57:12 +0000 (04:57 +0000)]
Stub version of shm_unlink.

20 years agoStub version of shm_open.
drepper [Wed, 12 Apr 2000 04:57:04 +0000 (04:57 +0000)]
Stub version of shm_open.

20 years ago[librt] (GLIBC_2.2): Add shm_open and shm_unlink.
drepper [Wed, 12 Apr 2000 04:56:47 +0000 (04:56 +0000)]
[librt] (GLIBC_2.2): Add shm_open and shm_unlink.

20 years ago(librt-routines): Add shm_open and shm_unlink.
drepper [Wed, 12 Apr 2000 04:56:13 +0000 (04:56 +0000)]
(librt-routines): Add shm_open and shm_unlink.

20 years agoAdd prototypes for shm_open and shm_unlink.
drepper [Wed, 12 Apr 2000 04:55:36 +0000 (04:55 +0000)]
Add prototypes for shm_open and shm_unlink.

20 years ago2000-04-11 Andreas Jaeger <aj@suse.de>
aj [Tue, 11 Apr 2000 18:41:17 +0000 (18:41 +0000)]
2000-04-11  Andreas Jaeger  <aj@suse.de>

* sysdeps/mips/pt-machine.h (MEMORY_BARRIER): Define.
(__compare_and_swap): Mark as modifying memory.

20 years agoUpdate.
drepper [Tue, 11 Apr 2000 17:54:09 +0000 (17:54 +0000)]
Update.

20 years ago(_IO_vasprintf): Try to avoid memory fragmentation by allocating new memory
drepper [Tue, 11 Apr 2000 17:53:41 +0000 (17:53 +0000)]
(_IO_vasprintf): Try to avoid memory fragmentation by allocating new memory
at the end instead of reallocating.

20 years ago* sysdeps/powerpc/pt-machine.h (MEMORY_BARRIER): Don't be
geoffk [Tue, 11 Apr 2000 17:34:36 +0000 (17:34 +0000)]
* sysdeps/powerpc/pt-machine.h (MEMORY_BARRIER): Don't be
__volatile__.
(__compare_and_swap): Replace other 'sync' with MEMORY_BARRIER.
Don't have the 'asm' __volatile__.

20 years agoUpadte.
drepper [Tue, 11 Apr 2000 17:03:03 +0000 (17:03 +0000)]
Upadte.

20 years ago(MEMORY_BARRIER): Define using stbar.
drepper [Tue, 11 Apr 2000 17:01:56 +0000 (17:01 +0000)]
(MEMORY_BARRIER): Define using stbar.
(__compare_and_swap): Use MEMORY_BARRIER to ensure ordering.

20 years ago(RELEASE): Not needed anymore.
drepper [Tue, 11 Apr 2000 17:00:50 +0000 (17:00 +0000)]
(RELEASE): Not needed anymore.
(MEMORY_BARRIER): Define using stbar.

20 years ago(sync): Remove. Replace with definition of MEMORY_BARRIER.
drepper [Tue, 11 Apr 2000 16:59:42 +0000 (16:59 +0000)]
(sync): Remove.  Replace with definition of MEMORY_BARRIER.
(__compare_and_swap): Use MEMORY_BARRIER instead of sync.

20 years ago(MEMORY_BARRIER): Define using mb instruction.
drepper [Tue, 11 Apr 2000 16:58:19 +0000 (16:58 +0000)]
(MEMORY_BARRIER): Define using mb instruction.
(RELEASE): Not needed anymore.
(__compare_and_swap): Mark asm as modifying memory.

20 years ago(__pthread_lock): Add memory barriers.
drepper [Tue, 11 Apr 2000 16:56:16 +0000 (16:56 +0000)]
(__pthread_lock): Add memory barriers.
(__pthread_unlock): Likewise.

20 years agoDefine MEMORY_BARRIER as empty if not defined already.
drepper [Tue, 11 Apr 2000 16:52:20 +0000 (16:52 +0000)]
Define MEMORY_BARRIER as empty if not defined already.

20 years agoUpdate.
drepper [Tue, 11 Apr 2000 16:27:38 +0000 (16:27 +0000)]
Update.

20 years agoFix last change. We must also skip the test following the one already skipped.
drepper [Tue, 11 Apr 2000 16:26:48 +0000 (16:26 +0000)]
Fix last change.  We must also skip the test following the one already skipped.

20 years ago(IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
drepper [Tue, 11 Apr 2000 16:24:42 +0000 (16:24 +0000)]
(IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
IPV6_DROP_MEMBERSHIP.

20 years ago(process_file): Check if file is big enough to contain aout and ELF
drepper [Tue, 11 Apr 2000 16:22:06 +0000 (16:22 +0000)]
(process_file): Check if file is big enough to contain aout and ELF
headers.  Close streams in case of an error.

20 years agoInclude alloca.h to get proper prototype for alloca().
drepper [Tue, 11 Apr 2000 16:17:34 +0000 (16:17 +0000)]
Include alloca.h to get proper prototype for alloca().

20 years agoCache result.
drepper [Tue, 11 Apr 2000 16:16:07 +0000 (16:16 +0000)]
Cache result.

20 years agoCorrect expression to decide about initialization of freq. Set retval
drepper [Tue, 11 Apr 2000 16:15:31 +0000 (16:15 +0000)]
Correct expression to decide about initialization of freq.  Set retval
to zero if successful.