kopensolaris-gnu/glibc.git
16 years agoRename LOCK to LOCK_PREFIX.
drepper [Mon, 14 Apr 2003 17:03:21 +0000 (17:03 +0000)]
Rename LOCK to LOCK_PREFIX.

16 years agoUpdate.
drepper [Mon, 14 Apr 2003 17:02:47 +0000 (17:02 +0000)]
Update.

16 years agoRename LOCK to LOCK_PREFIX.
drepper [Mon, 14 Apr 2003 16:59:15 +0000 (16:59 +0000)]
Rename LOCK to LOCK_PREFIX.

16 years agoChange PUSHARGS_1 and POPARGS_1 to emit labels for the mov instructions.
drepper [Mon, 14 Apr 2003 16:52:38 +0000 (16:52 +0000)]
Change PUSHARGS_1 and POPARGS_1 to emit labels for the mov instructions.

16 years ago(ret_NOERRNO): Define.
drepper [Mon, 14 Apr 2003 16:48:29 +0000 (16:48 +0000)]
(ret_NOERRNO): Define.

16 years agoUpdate.
drepper [Mon, 14 Apr 2003 16:43:20 +0000 (16:43 +0000)]
Update.

16 years agoUse DW_CFA_advance_loc for .Laddl-.Lsubl.
drepper [Mon, 14 Apr 2003 16:42:29 +0000 (16:42 +0000)]
Use DW_CFA_advance_loc for .Laddl-.Lsubl.

16 years agoUse DW_CFA_advance_loc2 for .Laddl-.Lsubl.
drepper [Mon, 14 Apr 2003 16:42:09 +0000 (16:42 +0000)]
Use DW_CFA_advance_loc2 for .Laddl-.Lsubl.

16 years ago.
roland [Mon, 14 Apr 2003 08:52:37 +0000 (08:52 +0000)]
.

16 years ago2003-04-14 Roland McGrath <roland@redhat.com>
roland [Mon, 14 Apr 2003 08:52:24 +0000 (08:52 +0000)]
2003-04-14  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/unwind-dw2.c (_Unwind_GetCFA): Add a cast to silence
compiler warning.

16 years ago2003-04-14 Roland McGrath <roland@redhat.com>
roland [Mon, 14 Apr 2003 08:52:21 +0000 (08:52 +0000)]
2003-04-14  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/unwind-pe.h: Fix decl hacks broken in merge.

16 years agoUpdate.
drepper [Mon, 14 Apr 2003 07:03:40 +0000 (07:03 +0000)]
Update.

16 years ago(STRXFRM): Terminate rulearr at correct position.
drepper [Mon, 14 Apr 2003 07:01:28 +0000 (07:01 +0000)]
(STRXFRM): Terminate rulearr at correct position.

16 years agoComplete unwind info.
drepper [Mon, 14 Apr 2003 05:33:47 +0000 (05:33 +0000)]
Complete unwind info.

16 years agoComplete unwind info.
drepper [Mon, 14 Apr 2003 05:33:35 +0000 (05:33 +0000)]
Complete unwind info.

16 years agoComplete unwind info.
drepper [Mon, 14 Apr 2003 05:11:34 +0000 (05:11 +0000)]
Complete unwind info.

16 years agoFix comments.
drepper [Mon, 14 Apr 2003 05:00:51 +0000 (05:00 +0000)]
Fix comments.

16 years agoComplete unwind info.
drepper [Mon, 14 Apr 2003 04:14:00 +0000 (04:14 +0000)]
Complete unwind info.

16 years agoDon't use position-independent unwind data for static libraries.
drepper [Mon, 14 Apr 2003 03:49:05 +0000 (03:49 +0000)]
Don't use position-independent unwind data for static libraries.

16 years agoAdd missing unwind info. Add comments.
drepper [Mon, 14 Apr 2003 02:52:46 +0000 (02:52 +0000)]
Add missing unwind info.  Add comments.

16 years ago.
roland [Sun, 13 Apr 2003 22:57:52 +0000 (22:57 +0000)]
.

16 years ago2003-04-13 Jakub Jelinek <jakub@redhat.com>
roland [Sun, 13 Apr 2003 22:57:45 +0000 (22:57 +0000)]
2003-04-13  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Rename macros to
match changes in NPTL sysdep-cancel.h.

16 years agoUpdate.
drepper [Sun, 13 Apr 2003 16:47:36 +0000 (16:47 +0000)]
Update.

16 years agoUpdate from recent gcc version.
drepper [Sun, 13 Apr 2003 16:45:09 +0000 (16:45 +0000)]
Update from recent gcc version.

16 years ago* sysdeps/unix/sysv/linux/mips/profil-counter: New.
aoliva [Sun, 13 Apr 2003 11:36:31 +0000 (11:36 +0000)]
* sysdeps/unix/sysv/linux/mips/profil-counter: New.
* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64.
* sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64.
(mcontext_t): Make it match the 32-bit mips kernel in o32.
* sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from
the mips and mips64 headers.
(struct user): Port to n32/n64.

16 years agoUpdate.
drepper [Sun, 13 Apr 2003 08:36:19 +0000 (08:36 +0000)]
Update.

16 years agoAdd unwind info.
drepper [Sun, 13 Apr 2003 08:34:56 +0000 (08:34 +0000)]
Add unwind info.

16 years agoAdd unwind info.
drepper [Sun, 13 Apr 2003 08:34:03 +0000 (08:34 +0000)]
Add unwind info.

16 years agoAugmentation data only present if SHARED.
drepper [Sun, 13 Apr 2003 08:21:38 +0000 (08:21 +0000)]
Augmentation data only present if SHARED.

16 years agoAugmentation data only present if SHARED.
drepper [Sun, 13 Apr 2003 08:21:08 +0000 (08:21 +0000)]
Augmentation data only present if SHARED.

16 years agoUpdate.
drepper [Sun, 13 Apr 2003 08:04:46 +0000 (08:04 +0000)]
Update.

16 years agoAdd unwind info.
drepper [Sun, 13 Apr 2003 08:04:09 +0000 (08:04 +0000)]
Add unwind info.

16 years agoAdd unwind info.
drepper [Sun, 13 Apr 2003 08:02:57 +0000 (08:02 +0000)]
Add unwind info.

16 years agoMake sure all cancellation points are compiled with exception and
drepper [Sun, 13 Apr 2003 06:49:17 +0000 (06:49 +0000)]
Make sure all cancellation points are compiled with exception and
asynchronous unwind tables.

16 years agoUpdate.
drepper [Sun, 13 Apr 2003 02:05:36 +0000 (02:05 +0000)]
Update.

16 years ago(__libc_sigaction): If __ASSUME_VSYSCALL is defined don't add restorer.
drepper [Sun, 13 Apr 2003 02:03:01 +0000 (02:03 +0000)]
(__libc_sigaction): If __ASSUME_VSYSCALL is defined don't add restorer.

16 years agoUpdate.
drepper [Sat, 12 Apr 2003 20:32:01 +0000 (20:32 +0000)]
Update.

16 years ago(THREAD_SETMEM): Word around compiler bug which mishandles loading of
drepper [Sat, 12 Apr 2003 20:30:49 +0000 (20:30 +0000)]
(THREAD_SETMEM): Word around compiler bug which mishandles loading of
global object addresses in PIC.
(THREAD_SETMEM_NC): Likewise.

16 years ago(_dl_allocate_tls_init): Add cast to avoid warning.
drepper [Sat, 12 Apr 2003 19:47:26 +0000 (19:47 +0000)]
(_dl_allocate_tls_init): Add cast to avoid warning.

16 years agoDefine __ASSUME_VSYSCALL for 2.5.53.
drepper [Sat, 12 Apr 2003 19:40:43 +0000 (19:40 +0000)]
Define __ASSUME_VSYSCALL for 2.5.53.

16 years agoUpdate.
drepper [Sat, 12 Apr 2003 18:02:42 +0000 (18:02 +0000)]
Update.

16 years agoAvoid relocations with exported symbols.
drepper [Sat, 12 Apr 2003 08:44:17 +0000 (08:44 +0000)]
Avoid relocations with exported symbols.

16 years agoUpdate.
drepper [Sat, 12 Apr 2003 08:38:14 +0000 (08:38 +0000)]
Update.

16 years agoAdd quite a bit of complication to generate unwind information for
drepper [Sat, 12 Apr 2003 08:28:42 +0000 (08:28 +0000)]
Add quite a bit of complication to generate unwind information for
syscall wrappers.

16 years ago(__pthread_unwind): Adjust use of exception buffer which is now in the
drepper [Sat, 12 Apr 2003 01:51:19 +0000 (01:51 +0000)]
(__pthread_unwind): Adjust use of exception buffer which is now in the
thread descriptor.

16 years ago(struct pthread_unwind_buf): Remove unwind info. Reduce padding.
drepper [Sat, 12 Apr 2003 01:50:46 +0000 (01:50 +0000)]
(struct pthread_unwind_buf): Remove unwind info.  Reduce padding.

16 years ago(struct pthread_unwind_buf): Remove unwind info. Reduce padding.
drepper [Sat, 12 Apr 2003 01:50:21 +0000 (01:50 +0000)]
(struct pthread_unwind_buf): Remove unwind info.  Reduce padding.

16 years agoUpdate.
drepper [Sat, 12 Apr 2003 00:58:26 +0000 (00:58 +0000)]
Update.

16 years agoAllow file to be included multiple times.
drepper [Sat, 12 Apr 2003 00:55:03 +0000 (00:55 +0000)]
Allow file to be included multiple times.

16 years agoAllow file to be included multiple times.
drepper [Sat, 12 Apr 2003 00:53:57 +0000 (00:53 +0000)]
Allow file to be included multiple times.

16 years agoAllow file to be included multiple times.
drepper [Sat, 12 Apr 2003 00:53:09 +0000 (00:53 +0000)]
Allow file to be included multiple times.

16 years agoAllow file to be included multiple times.
drepper [Sat, 12 Apr 2003 00:51:50 +0000 (00:51 +0000)]
Allow file to be included multiple times.

16 years agoDefine labels in a few places to allow unwind data generation.
drepper [Sat, 12 Apr 2003 00:51:00 +0000 (00:51 +0000)]
Define labels in a few places to allow unwind data generation.

16 years agoAllow file to be included multiple times.
drepper [Sat, 12 Apr 2003 00:50:00 +0000 (00:50 +0000)]
Allow file to be included multiple times.

16 years agoUpdate from latest gcc version.
drepper [Sat, 12 Apr 2003 00:48:59 +0000 (00:48 +0000)]
Update from latest gcc version.

16 years agoCleanup MAIN_AUXVEC_ARG handling.
drepper [Sat, 12 Apr 2003 00:48:06 +0000 (00:48 +0000)]
Cleanup MAIN_AUXVEC_ARG handling.
Remove HAVE_CANCELBUF code.  Replace with code using the new
initializers for unwind-based cleanup handling.

16 years agoUpdate.
drepper [Sat, 12 Apr 2003 00:36:14 +0000 (00:36 +0000)]
Update.

16 years agoDefine __cleanup_fct_attribute.
drepper [Sat, 12 Apr 2003 00:35:32 +0000 (00:35 +0000)]
Define __cleanup_fct_attribute.

16 years agoAdd quite a bit of complication to generate unwind information for
drepper [Sat, 12 Apr 2003 00:34:53 +0000 (00:34 +0000)]
Add quite a bit of complication to generate unwind information for
syscall wrappers.

16 years agoAdd prototypes of the old cleanup handler interfaces.
drepper [Sat, 12 Apr 2003 00:33:42 +0000 (00:33 +0000)]
Add prototypes of the old cleanup handler interfaces.

16 years agoDefine new data structure for cleanup buffer. Declare new cleanup
drepper [Sat, 12 Apr 2003 00:32:51 +0000 (00:32 +0000)]
Define new data structure for cleanup buffer.  Declare new cleanup
handler interfaces.

16 years ago(struct pthread_functions): Add ptr___pthread_unwind.
drepper [Sat, 12 Apr 2003 00:31:46 +0000 (00:31 +0000)]
(struct pthread_functions): Add ptr___pthread_unwind.

16 years agoRegenerated.
drepper [Sat, 12 Apr 2003 00:30:28 +0000 (00:30 +0000)]
Regenerated.

16 years agoAdd checks for availability of the unwind interfaces.
drepper [Sat, 12 Apr 2003 00:29:56 +0000 (00:29 +0000)]
Add checks for availability of the unwind interfaces.

16 years agoAdd rules to build and run tst-cleanup0.
drepper [Sat, 12 Apr 2003 00:29:31 +0000 (00:29 +0000)]
Add rules to build and run tst-cleanup0.

(libpthread-routines): Add cleanup_compat, cleanup_def_compat, and
unwind.  Define CFLAGS to enable unwind table generation if necessary.

16 years ago[GLIBC_2.3.3] (libpthread): Export new cleanup handling and unwind function.
drepper [Sat, 12 Apr 2003 00:27:23 +0000 (00:27 +0000)]
[GLIBC_2.3.3] (libpthread): Export new cleanup handling and unwind function.

16 years agoRecord whether unwind support is compiled in.
drepper [Sat, 12 Apr 2003 00:26:19 +0000 (00:26 +0000)]
Record whether unwind support is compiled in.

16 years agoUnwind handling for cleanup calls.
drepper [Sat, 12 Apr 2003 00:25:57 +0000 (00:25 +0000)]
Unwind handling for cleanup calls.

16 years ago(deallocate_tsd): Don't take parameter. Adjust caller. Optimize to
drepper [Sat, 12 Apr 2003 00:25:27 +0000 (00:25 +0000)]
(deallocate_tsd): Don't take parameter.  Adjust caller.  Optimize to
avoid often unecessary local variable.

(start_thread): Initialize cleanup_jmp_buf element if own thread descriptor.

16 years ago.
roland [Sat, 12 Apr 2003 00:17:14 +0000 (00:17 +0000)]
.

16 years ago2003-04-11 Roland McGrath <roland@redhat.com>
roland [Sat, 12 Apr 2003 00:16:59 +0000 (00:16 +0000)]
2003-04-11  Roland McGrath  <roland@redhat.com>

* csu/tst-empty.c: New file.
* csu/Makefile (tests, tests-static): Add it.

16 years agoDeclare __pthread_unwind. Define __do_cancel to use it. Declare old
drepper [Sat, 12 Apr 2003 00:14:16 +0000 (00:14 +0000)]
Declare __pthread_unwind.  Define __do_cancel to use it.  Declare old
cleanup handler installation functions.

16 years ago(pthread_functions): Add __pthread_unwind.
drepper [Sat, 12 Apr 2003 00:12:50 +0000 (00:12 +0000)]
(pthread_functions): Add __pthread_unwind.

16 years agoAdd __pthread_unwind.
drepper [Sat, 12 Apr 2003 00:12:13 +0000 (00:12 +0000)]
Add __pthread_unwind.

16 years agoInclude <unwind.h> if necessary. Define pthread_unwind_buf.
drepper [Sat, 12 Apr 2003 00:11:28 +0000 (00:11 +0000)]
Include <unwind.h> if necessary.  Define pthread_unwind_buf.
(struct pthread): Add cleanup_jmp_buf pointer.  Define
HAVE_CLEANUP_JMP_BUF and not HAVE_CANCELBUF.

16 years agoCompatibility interfaces for cleanup handling without unwinding.
drepper [Sat, 12 Apr 2003 00:10:04 +0000 (00:10 +0000)]
Compatibility interfaces for cleanup handling without unwinding.

16 years agoRewrite. Install handler for unwind-based cleanup handling.
drepper [Sat, 12 Apr 2003 00:09:15 +0000 (00:09 +0000)]
Rewrite.  Install handler for unwind-based cleanup handling.

16 years agoExpected output of tst-cleanup0.
drepper [Sat, 12 Apr 2003 00:07:25 +0000 (00:07 +0000)]
Expected output of tst-cleanup0.

16 years agoTest cleanup handler calls in initial thread.
drepper [Sat, 12 Apr 2003 00:06:31 +0000 (00:06 +0000)]
Test cleanup handler calls in initial thread.

16 years ago.
roland [Sat, 12 Apr 2003 00:00:57 +0000 (00:00 +0000)]
.

16 years ago2003-04-11 Roland McGrath <roland@redhat.com>
roland [Sat, 12 Apr 2003 00:00:30 +0000 (00:00 +0000)]
2003-04-11  Roland McGrath  <roland@redhat.com>

* Makefile ($(objpfx)multidir.mk): New target, generated makefile that
sets variable `multidir'; include that.
(generated): Add it.
($(objpfx)$(multidir)/crti.o): New target.
[$(multidir) != .] (generated-dirs, extra-objs, omit-deps): Add it.

16 years ago.
roland [Fri, 11 Apr 2003 23:36:54 +0000 (23:36 +0000)]
.

16 years ago2003-04-10 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 11 Apr 2003 23:34:22 +0000 (23:34 +0000)]
2003-04-10  Jakub Jelinek  <jakub@redhat.com>

* Makefile (multidir, crti-objs, crtn-objs): New variables.
(generated-dirs): Add pathname component of multidir.
(omit-deps, extra-objs): Include $(multidir)/crt? as well.
($(objpfx)libpthread.so): Depend on $(multidir)/crt?.o as well.
($(objpfx)$(multidir), $(objpfx)$(multidir)/crti.o,
$(objpfx)$(multidir)/crtn.o): New.
* sysdeps/unix/sysv/linux/sparc/Makefile: Removed.
* sysdeps/unix/sysv/linux/x86_64/Makefile (LDFLAGS-pthread.so,
before-compile, generated): Don't generate and use specs.
($(objpfx)specs): Remove.

16 years ago2003-04-10 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 11 Apr 2003 23:34:02 +0000 (23:34 +0000)]
2003-04-10  Jakub Jelinek  <jakub@redhat.com>

* Makefile (multidir, crti-objs, crtn-objs): New variables.
(generated-dirs): Add pathname component of multidir.
(omit-deps, extra-objs): Include $(multidir)/crt? as well.
($(objpfx)libpthread.so): Depend on $(multidir)/crt?.o as well.
($(objpfx)$(multidir), $(objpfx)$(multidir)/crti.o,
$(objpfx)$(multidir)/crtn.o): New.
* sysdeps/unix/sysv/linux/sparc/Makefile: Removed.
* sysdeps/unix/sysv/linux/x86_64/Makefile (LDFLAGS-pthread.so,
before-compile, generated): Don't generate and use specs.
($(objpfx)specs): Remove.

16 years ago2003-04-11 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Apr 2003 23:34:00 +0000 (23:34 +0000)]
2003-04-11  Roland McGrath  <roland@redhat.com>

* Makefile (multidir): Don't set the variable here with $(shell ...).
($(objpfx)multidir.mk): New target, generated makefile; include that.
(generated): Append it.
2003-04-10  Jakub Jelinek  <jakub@redhat.com>

* Makefile (multidir, crti-objs, crtn-objs): New variables.
(generated-dirs): Add pathname component of multidir.
(omit-deps, extra-objs): Include $(multidir)/crt? as well.
($(objpfx)libpthread.so): Depend on $(multidir)/crt?.o as well.
($(objpfx)$(multidir), $(objpfx)$(multidir)/crti.o,
$(objpfx)$(multidir)/crtn.o): New.
* sysdeps/unix/sysv/linux/sparc/Makefile: Removed.
* sysdeps/unix/sysv/linux/x86_64/Makefile (LDFLAGS-pthread.so,
before-compile, generated): Don't generate and use specs.
($(objpfx)specs): Remove.

16 years agoUpdate.
drepper [Fri, 11 Apr 2003 23:00:57 +0000 (23:00 +0000)]
Update.

16 years ago(do_test): Add cast to avoid warning.
drepper [Fri, 11 Apr 2003 22:59:18 +0000 (22:59 +0000)]
(do_test): Add cast to avoid warning.

16 years ago(do_test): Add cast to avoid warning.
drepper [Fri, 11 Apr 2003 22:59:02 +0000 (22:59 +0000)]
(do_test): Add cast to avoid warning.

16 years ago.
roland [Fri, 11 Apr 2003 22:11:44 +0000 (22:11 +0000)]
.

16 years ago2003-04-11 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 11 Apr 2003 22:11:14 +0000 (22:11 +0000)]
2003-04-11  Jakub Jelinek  <jakub@redhat.com>

* string/test-strcmp.c (do_random_tests): Test whether return value
has been promoted to wordsize if the ABI requires caller to do so.
* string/test-strncmp.c (do_random_tests): Likewise.
* string/test-memcmp.c (do_random_tests): Likewise.

16 years ago2003-04-11 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 11 Apr 2003 22:11:12 +0000 (22:11 +0000)]
2003-04-11  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Sign extend rRTN
before returning.

16 years ago.
roland [Fri, 11 Apr 2003 22:09:16 +0000 (22:09 +0000)]
.

16 years ago2003-04-11 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 11 Apr 2003 22:08:59 +0000 (22:08 +0000)]
2003-04-11  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c
(__fe_nomask_env): Try prctl even if __ASSUME_NEW_PRCTL_SYSCALL
is not defined, but the prctl constants are.

16 years ago.
roland [Fri, 11 Apr 2003 22:07:03 +0000 (22:07 +0000)]
.

16 years ago2003-04-11 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 11 Apr 2003 22:06:46 +0000 (22:06 +0000)]
2003-04-11  Jakub Jelinek  <jakub@redhat.com>

* string/tester.c (test_strcmp): Fix a typo.

16 years ago.
roland [Fri, 11 Apr 2003 22:06:10 +0000 (22:06 +0000)]
.

16 years ago2003-04-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
roland [Fri, 11 Apr 2003 22:06:02 +0000 (22:06 +0000)]
2003-04-11  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/s390/pspinlock.c (__pthread_spin_unlock): Fix asm contraints.

16 years agoUpdate.
drepper [Thu, 10 Apr 2003 16:46:27 +0000 (16:46 +0000)]
Update.

16 years ago(__libc_fork): Reset CPU clocks in child.
drepper [Thu, 10 Apr 2003 16:45:52 +0000 (16:45 +0000)]
(__libc_fork): Reset CPU clocks in child.

16 years agoUpdate.
drepper [Wed, 9 Apr 2003 14:40:34 +0000 (14:40 +0000)]
Update.