kopensolaris-gnu/glibc.git
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.

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

17 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.

17 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.

17 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.

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

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

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

17 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.

17 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.

17 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.

17 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.

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

17 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.

17 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.

17 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.

17 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.

17 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.

17 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.

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

17 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.

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

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

17 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.

17 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.

17 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.

17 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.

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

17 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.

17 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.

17 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.

17 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.

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

17 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.

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

17 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.

17 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.

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

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

17 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.

17 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.

17 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.

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

17 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.

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

17 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.

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

17 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.

17 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.

17 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.

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

17 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.

17 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.

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

17 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.

17 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.

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

17 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.

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

17 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.

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

17 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.

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

17 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.

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

17 years ago(tests): Add tst-detach1.
drepper [Wed, 9 Apr 2003 14:39:12 +0000 (14:39 +0000)]
(tests): Add tst-detach1.

17 years agoUpdate.
drepper [Wed, 9 Apr 2003 07:46:32 +0000 (07:46 +0000)]
Update.

17 years agoRemove FLT_EVAL_METHOD definition.
drepper [Wed, 9 Apr 2003 07:40:11 +0000 (07:40 +0000)]
Remove FLT_EVAL_METHOD definition.

17 years agoRemove FLT_EVAL_METHOD definition.
drepper [Wed, 9 Apr 2003 07:39:17 +0000 (07:39 +0000)]
Remove FLT_EVAL_METHOD definition.

17 years ago* sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on
aoliva [Wed, 9 Apr 2003 02:51:02 +0000 (02:51 +0000)]
* sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on
NewABI.
(ta0, ta1, ta2, ta3): Defined to t4..t7 on o32, and a4..a7 on
NewABI.
* sysdeps/mips/mips64/memcpy.S: Adjust register naming
conventions.
* sysdeps/mips/mips64/memset.S: Likewise.
* sysdeps/unix/mips/sysdep.S (__syscall_error) [_LIBC_REENTRANT]:
Use t0 instead of t4 as temporary.

17 years agoUpdate.
drepper [Tue, 8 Apr 2003 20:24:21 +0000 (20:24 +0000)]
Update.

17 years agoRemove duplicate pthread_cleanup_{push,pop} definitions.
drepper [Tue, 8 Apr 2003 20:23:31 +0000 (20:23 +0000)]
Remove duplicate pthread_cleanup_{push,pop} definitions.

17 years agoUpdate.
drepper [Tue, 8 Apr 2003 18:23:59 +0000 (18:23 +0000)]
Update.

17 years agoEliminate warnings.
drepper [Tue, 8 Apr 2003 18:22:59 +0000 (18:22 +0000)]
Eliminate warnings.

17 years agoUpdate.
drepper [Tue, 8 Apr 2003 04:37:11 +0000 (04:37 +0000)]
Update.

17 years ago(parse_conf): Ignore leading whitespace. Use feof_unlocked instead of feof.
drepper [Tue, 8 Apr 2003 04:20:29 +0000 (04:20 +0000)]
(parse_conf): Ignore leading whitespace.  Use feof_unlocked instead of feof.
(add_dir): Ignire trailing whitespace.

17 years ago.
roland [Tue, 8 Apr 2003 01:23:38 +0000 (01:23 +0000)]
.

17 years ago2003-04-07 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 8 Apr 2003 01:23:29 +0000 (01:23 +0000)]
2003-04-07  Jakub Jelinek  <jakub@redhat.com>

* posix/bug-regex4.c (main): Cap RANGE and STOP arguments to
sum of SIZE1 and SIZE2 arguments.

17 years agoWhitespace fix.
jakub [Mon, 7 Apr 2003 21:18:34 +0000 (21:18 +0000)]
Whitespace fix.

17 years agoTest for pthread_detach of terminated thread.
drepper [Mon, 7 Apr 2003 21:14:40 +0000 (21:14 +0000)]
Test for pthread_detach of terminated thread.

17 years agoUpdate.
drepper [Mon, 7 Apr 2003 21:09:12 +0000 (21:09 +0000)]
Update.

17 years ago(pthread_detach): Fix test for invalid TID.
drepper [Mon, 7 Apr 2003 21:08:43 +0000 (21:08 +0000)]
(pthread_detach): Fix test for invalid TID.

17 years agoUpdate.
drepper [Sun, 6 Apr 2003 22:18:48 +0000 (22:18 +0000)]
Update.

17 years agoRegenerated
drepper [Sun, 6 Apr 2003 22:16:16 +0000 (22:16 +0000)]
Regenerated

17 years ago.
roland [Sun, 6 Apr 2003 21:04:05 +0000 (21:04 +0000)]
.

17 years ago2002-04-06 Kaz Kojima <kkojima@rr.iij4u.or.jp>
roland [Sun, 6 Apr 2003 21:03:54 +0000 (21:03 +0000)]
2002-04-06  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/sh/bits/atomic.h: Moved to ...
* sysdeps/unix/sysv/linux/sh/bits/atomic.h: ... here.  Add comments.
(__arch_compare_and_exchange_val_*_acq): Add parens around macro
        arguments.
(atomic_bit_set, atomic_bit_test_set): Likewise.
(atomic_exchange_and_add): Likewise.  Don't evaluate VALUE argument
twice.
(atomic_add, atomic_add_negative, atomic_add_zero): Likewise.

17 years ago.
roland [Sun, 6 Apr 2003 20:59:56 +0000 (20:59 +0000)]
.

17 years ago2003-04-06 Roland McGrath <roland@redhat.com>
roland [Sun, 6 Apr 2003 20:59:45 +0000 (20:59 +0000)]
2003-04-06  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/i386/swapcontext.S: Rewrite register
restoration as done for setcontext yesterday.

17 years ago(process_block): Don't print message about invliad input if the -c
drepper [Sun, 6 Apr 2003 20:36:19 +0000 (20:36 +0000)]
(process_block): Don't print message about invliad input if the -c
option is used.

17 years agoRegenerated
drepper [Sun, 6 Apr 2003 20:12:45 +0000 (20:12 +0000)]
Regenerated

17 years ago(main): Correctly append IGNORE string for -c option.
drepper [Sun, 6 Apr 2003 20:02:59 +0000 (20:02 +0000)]
(main): Correctly append IGNORE string for -c option.

17 years agoUpdate.
drepper [Sun, 6 Apr 2003 18:58:09 +0000 (18:58 +0000)]
Update.

17 years ago(_dl_resolve_conflicts): Move #if ! ELF_MACHINE_NO_RELA conditional into the
drepper [Sun, 6 Apr 2003 18:55:50 +0000 (18:55 +0000)]
(_dl_resolve_conflicts): Move #if ! ELF_MACHINE_NO_RELA conditional into the
routine.

17 years agoRevert 2003-03-14 change.
drepper [Sun, 6 Apr 2003 18:55:32 +0000 (18:55 +0000)]
Revert 2003-03-14 change.

17 years agoUpdate.
drepper [Sun, 6 Apr 2003 09:28:48 +0000 (09:28 +0000)]
Update.

17 years ago(struct pthread): Move cancelhandling member to the front.
drepper [Sun, 6 Apr 2003 09:27:37 +0000 (09:27 +0000)]
(struct pthread): Move cancelhandling member to the front.

17 years ago(read_input_file): Minor optimization.
drepper [Sat, 5 Apr 2003 23:21:00 +0000 (23:21 +0000)]
(read_input_file): Minor optimization.

17 years agoUpdate.
drepper [Sat, 5 Apr 2003 22:24:12 +0000 (22:24 +0000)]
Update.

17 years ago(xdr_string): Catch nodesize == 0.
drepper [Sat, 5 Apr 2003 22:21:11 +0000 (22:21 +0000)]
(xdr_string): Catch nodesize == 0.

17 years agoUpdate.
drepper [Sat, 5 Apr 2003 22:13:31 +0000 (22:13 +0000)]
Update.