Ulrich Drepper
b65b090086
Bump to 0.37.
2003-04-29 01:20:23 +00:00
Roland McGrath
7531ab9e98
* Makefile ($(test-modules)): Depend on $(common-objpfx)shlib.lds.
2003-04-28 10:34:41 +00:00
Roland McGrath
5fadaa045c
2003-04-26 Roland McGrath <roland@redhat.com>
...
* Makefile ($(test-modules)): Depend on $(common-objpfx)shlib.lds.
2003-04-28 10:34:34 +00:00
Jakub Jelinek
a421d762a8
Fix.
2003-04-26 09:24:41 +00:00
Ulrich Drepper
468777e1d0
Update.
...
* pthread.c (__pthread_initialize_manager): Subtract
TLS_PRE_TCB_SIZE bytes from tcbp to get to descr.
* manager.c (pthread_handle_create): Subtract or add TLS_PRE_TCB_SIZE
instead of sizeof (pthread_descr).
(pthread_free): Add TLS_PRE_TCB_SIZE instead of sizeof (pthread_descr).
* sysdeps/powerpc/tls.h (TLS_INIT_TCB_SIZE, TLS_TCB_SIZE): Define to 0.
2003-04-25 22:28:13 +00:00
Ulrich Drepper
299601a1ef
Update.
...
2003-04-22 Jakub Jelinek <jakub@redhat.com>
* include/link.h (NO_TLS_OFFSET): Define to 0 if not defined.
* elf/dl-close.c (_dl_close): Use NO_TLS_OFFSET.
* elf/dl-object.c (_dl_new_object): Initialize l_tls_offset to
NO_TLS_OFFSET.
* elf/rtld.c (_dl_start_final, _dl_start): Likewise.
* elf/dl-reloc.c (CHECK_STATIC_TLS): Use NO_TLS_OFFSET.
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Likewise.
* sysdeps/powerpc/dl-tls.h (TLS_TPREL_VALUE): Don't subtract
TLS_TCB_SIZE.
2003-04-25 09:12:43 +00:00
Roland McGrath
950094f827
* Makeconfig (shared-thread-library): Reverse link order to work
...
around linker bug.
2003-04-23 06:09:13 +00:00
Ulrich Drepper
dc2f6455a4
Update.
...
2003-04-22 Ulrich Drepper <drepper@redhat.com>
* semaphore.h: Fix typo in comment.
2003-04-22 17:15:35 +00:00
Ulrich Drepper
6a87ee1943
Update.
...
* signal/sigfillset.c: Moved to...
* sysdeps/generic/sigfillset.c: ...here. If SIGCANCEL is defined
do not set the corresponding bit.
2003-04-21 07:48:10 +00:00
Ulrich Drepper
e7608d7789
Update.
...
2003-04-21 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/sigprocmask.c: Prevent changing mask for
SIGCANCEL.
* sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_TKILL.
* sysdeps/unix/sysv/linux/bits/siginfo.h: Define SI_TKILL.
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Define SI_TKILL.
* sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Define SI_TKILL.
* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Define SI_TKILL.
first syscall parameter to const char*.
2003-04-21 07:39:20 +00:00
Ulrich Drepper
58a7a3257f
Update.
...
* configure.in: Add AC_PROG_CXX.
* config.make.in (CXX): Define.
2003-04-19 20:15:36 +00:00
Ulrich Drepper
0b3df49e8d
Update.
...
2003-04-19 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/i686/hp-timing.h (HP_TIMING_PRINT): Change type of
__len to size_t to avoid warnings.
2003-04-19 19:19:11 +00:00
Ulrich Drepper
4e648ea3ad
Update.
...
* stdlib/cxa_finalize.c (__cxa_finalize): Don't call
UNREGISTER_ATFORK if d == NULL.
2003-04-19 18:26:10 +00:00
Ulrich Drepper
2c008571c3
Update.
...
2003-04-19 Ulrich Drepper <drepper@redhat.com>
* catgets/nl_types.h: Remove __THROW marker from cancellation points.
* dirent/dirent.h: Likewise.
* dlfcn/dlfcn.h: Likewise.
* grp/grp.h: Likewise.
* iconv/iconv.h: Likewise.
* io/fcntl.h: Likewise.
* io/ftw.h: Likewise.
* libio/stdio.h: Likewise.
* misc/sys/mman.h: Likewise.
* misc/sys/select.h: Likewise.
* misc/sys/syslog.h: Likewise.
* misc/sys/uio.h: Likewise.
* posix/spawn.h: Likewise.
* posix/unistd.h: Likewise.
* posix/sys/wait.h: Likewise.
* pwd/pwd.h: Likewise.
* resolv/netdb.h: Likewise.
* rt/aio.h: Likewise.
* shadow/shadow.h: Likewise.
* signal/signal.h: Likewise.
* socket/sys/socket.h: Likewise.
* stdlib/stdlib.h: Likewise.
* streams/stropts.h: Likewise.
* string/string.h: Likewise.
* sysdeps/gnu/utmpx.h: Likewise.
* sysvipc/sys/msg.h: Likewise.
* termios/termios.h: Likewise.
* time/time.h: Likewise.
* wcsmbs/wchar.h: Likewise.
* iconv/gconv_cache.c: Include <not-cancel.h> and use non-cancelable
functions.
* misc/daemon.c: Likewise.
* sysdeps/generic/backtracesymsfd.c: Likewise.
* sysdeps/generic/check_fds.c: Likewise.
* sysdeps/unix/sysv/linux/gethostid.c: Likewise.
* sysdeps/unix/sysv/linux/not-cancel.h: New file.
* sysdeps/generic/not-cancel.h: New file.
* csu/Makefile (distribute): Add not-cancel.h.
* sysdeps/unix/sysv/linux/fatal-prepare.h: New file.
* sysdeps/unix/sysv/linux/Makefile: Define FATAL_PREPARE_INCLUDE
for assert.c and assert-perr.c to include <fatal-prepare.h>.
* sysdeps/unix/sysv/linux/Dist: Add fatal-prepare.h.
* sysdeps/posix/remove.c (remove): Rewrite. No need to restore
errno and unlink first.
* io/ftw.c (ftw_dir): In all places assume fchdir is available.
2003-04-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/libc_fatal.c (__libc_fatal): Use
INTERNAL_SYSCALL instead of INLINE_SYSCALL.
2003-04-19 16:57:17 +00:00
Ulrich Drepper
76a67697c8
Update.
...
* sysdeps/pthread/pthread.h: Don't mark pthread_testcancel,
pthread_cancel, pthread_setcancelstate, and pthread_setcanceltype with
2003-04-18 08:08:11 +00:00
Ulrich Drepper
7d74651eb0
Update.
...
2003-04-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/pthread.h: Don't mark pthread_testcancel with
__THROW.
2003-04-18 08:01:53 +00:00
Jakub Jelinek
dd9d65384e
* tst-cancel4.c (do_test): Use %zd instead of %d when printing cnt.
2003-04-16 21:59:43 +00:00
Jakub Jelinek
f7016882e9
(do_test): Use %zd instead of %d when printing cnt.
2003-04-16 21:59:32 +00:00
Roland McGrath
4ab6f47ce3
* libio/fileops.c (_IO_file_close_it): Macro tweak to avoid warning.
...
* sysdeps/generic/libc-start.c [NEED_DL_SYSINFO]: Add decl for
INTUSE(__register_frame_info_bases).
2003-04-16 03:12:34 +00:00
Ulrich Drepper
dce3db5635
Update.
...
AT_SYSINFO_EH_FRAME. Adjust string width.
2003-04-15 23:56:32 +00:00
Ulrich Drepper
162434a682
Update.
...
2003-04-15 Ulrich Drepper <drepper@redhat.com>
* elf/elf.h: Define AT_SYSINFO_EH_FRAME.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle
AT_SYSINFO_EH_FRAME.
(_dl_show_auxv):Display AT_SYSINFO_EH_FRAME value.
* sysdeps/generic/ldsodefs.h [NEED_DL_SYSINFO] (struct rtld_global):
Add _dl_sysinfo_eh_frame field.
* elf/dl-support.c [NEED_DL_SYSINFO]: Define _dl_sysinfo_eh_frame.
* sysdeps/generic/libc-start.c [NEED_DL_SYSINFO] Define eh_obj
variable.
[NEED_DL_SYSINFO] (LIBC_START_MAIN): Call __register_frame_info_bases
if _dl_sysinfo_eh_frame is non-NULL.
* Makeconfig (gnulib): Add -lgcc_eh.
* config.h.in: Define HAVE_FORCED_UNWIND.
2003-04-15 22:46:40 +00:00
Ulrich Drepper
a1b5424f50
Update.
...
2003-04-15 Ulrich Drepper <drepper@redhat.com>
* include/atomic.h: Pretty printing.
2003-04-15 18:29:40 +00:00
Ulrich Drepper
18ddd3aa66
Update.
...
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Don't
2003-04-14 21:55:10 +00:00
Ulrich Drepper
359091616d
Update.
...
2003-04-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Don't
overflow CFA advance instructions.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
2003-04-14 21:38:45 +00:00
Ulrich Drepper
bd4f43b462
Update.
...
2003-04-14 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/i486/bits/atomic.h: Rename LOCK to LOCK_PREFIX.
* sysdeps/x86_64/bits/atomic.h: Likewise.
2003-04-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/sysdep.h: Change PUSHARGS_1 and
POPARGS_1 to emit labels for the mov instructions.
2003-04-14 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (ret_NOERRNO): Define.
2003-04-14 17:30:34 +00:00
Ulrich Drepper
18a8e730da
Update.
...
2003-04-14 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Use
DW_CFA_advance_loc2 for .Laddl-.Lsubl.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Use
DW_CFA_advance_loc for .Laddl-.Lsubl.
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Don't use
position-independent unwind data for static libraries.
Add missing unwind info. Add comments.
2003-04-14 16:43:20 +00:00
Ulrich Drepper
11cb564e58
Use DW_CFA_advance_loc2 for .Laddl-.Lsubl.
2003-04-14 16:42:09 +00:00
Ulrich Drepper
39a46c42f5
Update.
...
2003-04-14 Ulrich Drepper <drepper@redhat.com>
* string/strxfrm.c (STRXFRM): Terminate rulearr at correct
position. Reported by jreiser@BitWagon.com .
2003-04-14 07:03:40 +00:00
Ulrich Drepper
4ae7142df2
Add missing unwind info. Add comments.
2003-04-14 02:52:46 +00:00
Ulrich Drepper
ad2be8527a
Update.
...
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Add unwind info.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
2003-04-13 08:36:19 +00:00
Ulrich Drepper
08c765fa6e
Update.
...
2003-04-13 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Add
unwind info.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
* Makefile: Make sure all cancellation points are compiled with
exception and asynchronous unwind tables.
2003-04-13 08:04:46 +00:00
Ulrich Drepper
177d1ad3ac
Update.
...
2003-04-12 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/tls.h (THREAD_SETMEM): Word around compiler bug
which mishandles loading of global object addresses in PIC.
(THREAD_SETMEM_NC): Likewise.
2003-04-12 20:32:01 +00:00
Ulrich Drepper
68107ec092
Update.
...
* sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2003-04-12 08:38:14 +00:00
Ulrich Drepper
09d65ff393
Update.
...
2003-04-11 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/libc-start.c: Cleanup MAIN_AUXVEC_ARG handling.
Remove HAVE_CANCELBUF code. Replace with code using the new
initializers for unwind-based cleanup handling.
* sysdeps/generic/unwind.h: Update from latest gcc version.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Define labels in a few
places to allow unwind data generation.
* sysdeps/i386/bits/setjmp.h: Allow file to be included multiple times.
* sysdeps/x86_64/bits/setjmp.h: Likewise.
* sysdeps/sh/bits/setjmp.h: Likewise.
* sysdeps/powerpc/bits/setjmp.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise.
* sysdeps/alpha/bits/setjmp.h: Likewise.
2003-04-12 00:58:26 +00:00
Ulrich Drepper
877e51b20f
(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.
2003-04-12 00:25:27 +00:00
Roland McGrath
0dc44b51cd
* csu/tst-empty.c: New file.
...
* csu/Makefile (tests, tests-static): Add it.
2003-04-12 00:17:14 +00:00
Ulrich Drepper
6efd481484
Declare __pthread_unwind. Define __do_cancel to use it. Declare old cleanup handler installation functions.
2003-04-12 00:14:16 +00:00
Ulrich Drepper
32b0da568d
Test cleanup handler calls in initial thread.
2003-04-12 00:06:31 +00:00
Roland McGrath
49916ec40a
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.
2003-04-12 00:00:30 +00:00
Ulrich Drepper
84a80719cc
Update.
...
2003-04-11 Ulrich Drepper <drepper@redhat.com>
* tst-attr2.c (do_test): Add cast to avoid warning.
* tst-mutex4.c (do_test): Likewise.
2003-04-11 23:00:57 +00:00
Ulrich Drepper
6fed7a0f21
(do_test): Add cast to avoid warning.
2003-04-11 22:59:18 +00:00
Ulrich Drepper
88ff4759ac
Update.
...
2003-04-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/fork.c (__libc_fork): Reset CPU clocks
in child.
2003-04-10 16:46:27 +00:00
Ulrich Drepper
b2041097f6
Update.
...
2003-04-09 Ulrich Drepper <drepper@redhat.com>
* Makefile (tests): Add tst-detach1.
* tst-detach1.c: New file.
2003-04-09 14:40:34 +00:00
Ulrich Drepper
9afe496416
Update.
...
* sysdeps/pthread/pthread.h: Remove duplicate
pthread_cleanup_{push,pop} definitions.
2003-04-08 20:24:21 +00:00
Ulrich Drepper
f9657e88fa
Update.
...
2003-04-08 Ulrich Drepper <drepper@redhat.com>
* tst-barrier2.c: Eliminate warnings.
* tst-cancel4.c: Likewise.
* tst-cond4.c: Likewise.
* tst-cond6.c: Likewise.
* tst-detach1.c: Likewise.
* tst-rwlock4.c: Likewise.
* tst-rwlock6.c: Likewise.
* tst-rwlock7.c: Likewise.
* tst-sem3.c: Likewise.
* tst-spin2.c: Likewise.
* tst-umask1.c: Likewise.
2003-04-08 18:23:59 +00:00
Jakub Jelinek
87a6784eeb
Whitespace fix.
2003-04-07 21:18:34 +00:00
Ulrich Drepper
e11ea7779d
Test for pthread_detach of terminated thread.
2003-04-07 21:14:40 +00:00
Ulrich Drepper
69b35e862f
Update.
...
2003-04-07 Ulrich Drepper <drepper@redhat.com>
* pthread_detach.c (pthread_detach): Fix test for invalid TID.
2003-04-07 21:09:12 +00:00
Ulrich Drepper
c70ad7d71e
Update.
...
2003-04-06 Ulrich Drepper <drepper@redhat.com>
* descr.h (struct pthread): Move cancelhandling member to the front.
2003-04-06 09:28:48 +00:00
Ulrich Drepper
54e0138f7f
Update.
...
2003-04-05 Ulrich Drepper <drepper@redhat.com>
* malloc/thread-m.h [PTHREAD_MUTEX_INITIALIZER]: If
HAVE_register_atfork_malloc is defined use __register_atfork_malloc
instead of __register_atfork.
2003-04-05 09:36:56 +00:00