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
Ulrich Drepper
b22d701bb7
Update.
...
2003-04-04 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/createthread.c (create_thread): Add some more
comments explaining when to set multiple_threads and when not.
* pthreadP.h: Define THREAD_ATOMIC_CMPXCHG_VAL and
THREAD_ATOMIC_BIT_SET if not already defined.
* sysdeps/i386/tls.h: Define THREAD_ATOMIC_CMPXCHG_VAL and
THREAD_ATOMIC_BIT_SET:
* sysdeps/x86_64/tls.h: Likewise.
* cleanup_defer.c (_pthread_cleanup_push_defer): Rewrite to use
THREAD_ATOMIC_CMPXCHG_VAL.
(_pthread_cleanup_pop_restore): Likewise.
* cancellation.c (__pthread_enable_asynccancel): Likewise.
(__pthread_enable_asynccancel_2): Likewise.
(__pthread_disable_asynccancel): Likewise.
* libc-cancellation.c (__libc_enable_asynccancel): Likewise.
(__libc_disable_asynccancel): Likewise.
* init.c (sigcancel_handler): Likewise.
* pthread_setcancelstate.c (__pthread_setcancelstate): Likewise.
* pthread_setcanceltype.c (__pthread_setcanceltype): Likewise.
2003-04-05 05:21:15 +00:00
Ulrich Drepper
3242201746
Define THREAD_ATOMIC_CMPXCHG_VAL and THREAD_ATOMIC_BIT_SET if not already defined.
2003-04-05 05:08:05 +00:00
Ulrich Drepper
86246935da
Update.
...
2003-04-03 Ulrich Drepper <drepper@redhat.com>
* init.c (sigcancel_handler): Don't set EXITING_BIT here.
* libc-cancellation.c (__libc_enable_asynccancel): Likewise.
* pthreadP.h (__do_cancel): Set EXITING_BIT here.
* Makefile (tests): Add tst-cancel11.
* tst-cancel11.c: New file.
2003-04-04 07:59:55 +00:00
Ulrich Drepper
d9eb687be2
(sigcancel_handler): Don't set EXITING_BIT here.
2003-04-04 07:56:14 +00:00
Ulrich Drepper
fd722fba2f
Update.
2003-04-02 04:57:59 +00:00
Ulrich Drepper
bb9e7c828f
Undo last change.
2003-04-02 04:57:15 +00:00
Ulrich Drepper
0d73a73b4b
Update.
...
* Makefile (tests): Add tst-tsd3.c and tst-tsd4.
* tst-tsd4.c: New file.
2003-04-02 04:02:00 +00:00
Ulrich Drepper
bafaffac70
Check PTHREAD_DESTRUCTOR_ITERATIONS handling.
2003-04-02 04:00:53 +00:00
Ulrich Drepper
14c65d07e7
(tests): Add tst-tsd4.
2003-04-02 04:00:15 +00:00
Ulrich Drepper
6b4686a534
Update.
...
2003-04-01 Ulrich Drepper <drepper@redhat.com>
* pthread_create.c (deallocate_tsd): Clear/free memory after the last
round, not the first. Use specific_used flag instead of local
found_nonzero variable. Use THREAD_[SG]ETMEM where possible.
(__free_tcb): Don't call deallocate_tsd here.
(start_thread): Call deallocate_tsd here.
* pthread_setspecific.c: Set specific_used flag really only when
needed.
* Makefile (tests): Add tst-tsd3.c
* tst-tsd3.c: New file.
2003-04-02 03:51:24 +00:00
Ulrich Drepper
fa36efe893
(do_test): Make static.
2003-04-02 00:36:44 +00:00
Ulrich Drepper
211d90c524
Update.
...
* sysdeps/unix/sysv/linux/ia64/lowlevellock.h (__lll_mutex_lock):
Use atomic_exchange_and_add instead of __lll_add.
(__lll_mutex_timedlock): Likewise.
Patch by Ian Wienand.
2003-03-24 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
(SINGLE_THREAD_P): Fix typo.
* tst-cancel-wrappers.sh: Handle '.'ed symbols.
2003-03-31 Ulrich Drepper <drepper@redhat.com>
* Makefile (tests): Add tst-align.
* tst-align.c: New file.
* sysdeps/i386/Makefile: Define CFLAGS-tst-align.
* sysdeps/x86_64/Makefile: Likewise.
* tst-tsd2.c: Add casts to avoid warnings.
2003-04-01 01:24:00 +00:00
Ulrich Drepper
42b2395dce
Update.
...
2003-03-31 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/tls.h (CALL_THREAD_FCT): Align stack of called
function correctly.
2003-04-01 00:55:22 +00:00
Ulrich Drepper
f877b33831
(CALL_THREAD_FCT): Align stack of called function correctly.
2003-04-01 00:53:02 +00:00
Ulrich Drepper
9f292c2439
Fix comment.
2003-03-31 18:43:29 +00:00
Ulrich Drepper
cbbb4b6ccc
Fix comment.
2003-03-31 18:42:30 +00:00
Ulrich Drepper
163b180f5c
Update.
...
2003-03-30 Ulrich Drepper <drepper@redhat.com>
* descr.h (struct pthread): Move most often used elements to the front.
2003-03-30 19:46:44 +00:00
Ulrich Drepper
5869d4ecdf
(struct pthread): Move most often used elements to the front.
2003-03-30 19:45:57 +00:00
Ulrich Drepper
ea473bad4c
Update.
...
2003-03-29 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Avoid
netlink_open calls if netlink is known to not be available.
2003-03-29 09:24:03 +00:00
Ulrich Drepper
cc4f0dde88
(libpthread-routines): Add pthread_atfork. (libpthread-static-only-routines): Add pthread_atfork.
2003-03-29 08:30:34 +00:00
Ulrich Drepper
dd731d53dc
Update.
...
2003-03-28 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/sh/bits/atomic.h (__arch_compare_and_exchange_val_8_acq):
Return old value. Make asm output reg constraint earlyclobber.
Renamed from...
(__arch_compare_and_exchange_8_acq): ... this.
(__arch_compare_and_exchange_val_16_acq):
Return old value. Make asm output reg constraint earlyclobber.
Renamed from...
(__arch_compare_and_exchange_16_acq): ... this.
(__arch_compare_and_exchange_val_32_acq):
Return old value. Make asm output reg constraint earlyclobber.
Renamed from...
(__arch_compare_and_exchange_32_acq): ... this.
(__arch_compare_and_exchange_val_64_acq):
Renamed from...
(__arch_compare_and_exchange_64_acq): ... this.
(atomic_exchange_and_add): Use local variables and
__arch_compare_and_exchange_val_64_acq.
(atomic_add): Likewise.
(atomic_add_negative, atomic_add_zero): Use local variables.
* Makefile: Remove libmd5crypt goal.
2003-03-29 01:24:20 +00:00
Ulrich Drepper
10e717a207
Include nptl/descr.h after the definition of TLS_DTV_AT_TP. (INSTALL_DTV): Add parens. (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Use passed descr instead of THREAD_SELF.
2003-03-29 01:06:39 +00:00
Ulrich Drepper
9a0248ec8e
Bump to 0.32.
2003-03-28 06:53:54 +00:00
Ulrich Drepper
5f5004df21
Update.
...
* sysdeps/unix/sysv/linux/kernel-posix-timers.h: Don't declare
__timer_helper_thread. Declare __start_helper_thread, __helper_once,
and __helper_tid.
(struct timer): Remove th and bar field.
* sysdeps/unix/sysv/linux/timer_create.c (timer_create): Remove
debugging code. Create only one helper thread.
* sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Don't kill
helper thread.
* sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
Renamed. Define statically. Use thread info from siginfo.
(__helper_once): New variable.
(__helper_tid): New variable.
(__reset_helper_control): New function.
(__start_helper_thread): New function.
2003-03-28 06:27:21 +00:00
Ulrich Drepper
f07d234541
Don't declare __timer_helper_thread. Declare __start_helper_thread, __helper_once, and __helper_tid. (struct timer): Remove th and bar field.
2003-03-28 06:22:13 +00:00
Ulrich Drepper
4881449817
Bump to 0.31.
2003-03-27 21:19:02 +00:00
Ulrich Drepper
18d009ca00
Update.
...
* pthread_create.c (start_thread): Don't use setjmp inside
__builtin_expect to work around gcc bug.
2003-03-27 21:14:41 +00:00
Ulrich Drepper
28cf305854
Update.
...
2003-03-27 David Mosberger <davidm@hpl.hp.com>
* sysdeps/unix/sysv/linux/ia64/getcontext.S: Restore caller's
ar.unat before returning. Add missing .mem.offset directives
to ensure file gets assembled without warnings.
* sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2003-03-27 19:51:26 +00:00
Ulrich Drepper
c75d02f056
Update.
...
2003-03-27 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Even if
timer_delete syscall fails, but not with ENOSYS, set
__no_posix_timers.
* sysdeps/unix/sysv/linux/timer_settime.c [!__ASSUME_POSIX_TIMERS]
(timer_settime): Fix typo.
2003-03-27 19:10:51 +00:00
Jakub Jelinek
049ac25989
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Fix
...
offset of cleanupbuf.__prev.
2003-03-27 12:43:17 +00:00
Jakub Jelinek
2ec5130254
Fix offset of cleanupbuf.__prev.
2003-03-27 12:43:08 +00:00
Jakub Jelinek
f93d39dd07
* sysdeps/unix/sysv/linux/timer_getoverr.c: Fix typo in name
...
of included file.
2003-03-26 15:33:23 +00:00
Jakub Jelinek
0f6918e293
Fix typo in name of included file.
2003-03-26 15:33:14 +00:00
Ulrich Drepper
f064e4c5d7
Update.
...
2003-03-26 Ulrich Drepper <drepper@redhat.com>
* abilist/librt.abilist: Add new timer interfaces for 64-bit archs.
2003-03-26 09:41:23 +00:00
Roland McGrath
83e886a32a
* sysdeps/pthread/posix-timer.h (TIMER_MAX): Define if not defined.
...
(timer_id2ptr): Fix typo.
2003-03-26 08:06:59 +00:00
Roland McGrath
333ab52196
2003-03-25 Roland McGrath <roland@redhat.com>
...
* sysdeps/pthread/posix-timer.h (TIMER_MAX): Define if not defined.
(timer_id2ptr): Fix typo.
2003-03-26 08:06:52 +00:00
Ulrich Drepper
09402f5bc1
Update.
...
2003-03-25 Ulrich Drepper <drepper@redhat.com>
* csu/tst-atomic.c: Adjust tests to what atomic_add_negative and
atomic_add_zero were supposed to do.
* include/atomic.h: Adjust atomic_add_negative and atomic_add_zero
to x86 behavior.
* sysdeps/generic/bits/typesizes.h (__TIMER_T_TYPE): Define as void*.
This matches the new timer implementation.
* sysdeps/unix/sysv/linux/bits/siginfo.h (struct siginfo): Adjust
timer info for what the kernel provides these days.
(struct sigevent): Add _tid field.
Define SIGEV_THREAD_ID.
* Versions.def (librt): Add GLIBC_2.3.3.
* abilist/libpthread.abilist: Update for nptl.
2003-03-25 20:41:26 +00:00
Ulrich Drepper
2a9ae45c3f
Define SIGCANCEL and SIGTIMER. Remove FRAME_LEFT definition.
2003-03-25 19:13:30 +00:00
Ulrich Drepper
5e826ab537
Update.
...
2003-03-24 Jon Grimm <jgrimm@us.ibm.com>
* inet/netinet/in.h: Add IPPROTO_SCTP.
2003-03-24 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLET): Define.
2003-03-25 01:14:36 +00:00
Roland McGrath
3045a1fe89
* Makeconfig (+includes): Don't use $(last-includes).
2003-03-23 11:17:28 +00:00
Roland McGrath
85047fe3b9
* tst-mutex5.c (do_test): Unlock before destroy, otherwise we invoke
...
undefined behavior.
2003-03-23 10:12:59 +00:00
Roland McGrath
b910f7887b
* tst-join5.c (tf1, tf2): Add a cast.
...
* Makeconfig (includes): Append -I$(..)nptl to this variable.
* tst-barrier2.c (do_test) [! _POSIX_THREAD_PROCESS_SHARED]:
Don't test anything.
* tst-cond4.c: Likewise.
* tst-cond6.c: Likewise.
* tst-flock2.c: Likewise.
* tst-mutex4.c: Likewise.
* tst-rwlock4.c: Likewise.
* tst-signal1.c: Likewise.
* tst-spin2.c: Likewise.
* tst-cond11.c [! _POSIX_CLOCK_SELECTION]: Likewise.
* tst-mutex4.c: Use test-skeleton.c.
* tst-spin2.c: Likewise.
* tst-sysconf.c: Likewise.
* tst-barrier2.c: Likewise.
* tst-cond4.c: Likewise.
* tst-cond6.c: Likewise.
* tst-rwlock4.c: Likewise.
* tst-unload.c: Likewise.
* tst-flock2.c (do_test): Use return instead of exit.
2003-03-23 10:01:48 +00:00
Roland McGrath
24eaaef61d
2003-03-23 Roland McGrath <roland@redhat.com>
...
* tst-mutex4.c: Use test-skeleton.c.
* tst-spin2.c: Likewise.
* tst-sysconf.c: Likewise.
* tst-barrier2.c: Likewise.
* tst-cond4.c: Likewise.
* tst-cond6.c: Likewise.
* tst-rwlock4.c: Likewise.
* tst-flock2.c (do_test): Use return instead of exit.
2003-03-23 09:59:34 +00:00
Roland McGrath
4baa087aff
* sysdeps/i386/i486/bits/atomic.h (atomic_bit_set): Use "ir"
...
constraint to permit non-constant BIT argument.
(atomic_bit_test_set): Likewise.
* sysdeps/x86_64/bits/atomic.h (atomic_bit_test_set): Likewise.
(atomic_bit_set): Likewise. Use 1UL in case that BIT might be >= 32.
For quadword case, use "i" constraint if __builtin_constant_p and < 32
or "r" constraint otherwise.
* configure.in: Move AC_PROG_CC and other program-finding before all
the version checks.
* configure: Regenerated.
2003-03-22 00:07:21 +00:00
Ulrich Drepper
9f07eae298
Update.
...
2003-03-20 Ulrich Drepper <drepper@redhat.com>
* include/atomic.h: Define atomic_compare_and_exchange_val_acq,
atomic_compare_and_exchange_val_rel,
atomic_compare_and_exchange_bool_acq, and
atomic_compare_and_exchange_bool_rel instead of
atomic_compare_and_exchange_acq and atomic_compare_and_exchange_rel.
* sysdeps/i386/i486/bits/atomic.h: Define
__arch_compare_and_exchange_val_*_acq instead of
__arch_compare_and_exchange_*_acq.
* sysdeps/x86_64/bits/atomic.h: Likewise.
* sysdeps/ia64/bits/atomic.h: Define
__arch_compare_and_exchange_bool_*_acq instead of
__arch_compare_and_exchange_*_acq.
* sysdeps/powerpc/bits/atomic.h: Likewise.
* sysdeps/s390/bits/atomic.h: Likewise.
* gmon/mcount.c: Adjust for new form of compare&exchange macros.
* malloc/set-freeres.c: Likewise.
* nscd/cache.c: Likewise.
* stdlib/cxa_finalize.c: Likewise.
* sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2003-03-21 08:13:51 +00:00
Ulrich Drepper
5a3ab2fc18
Update.
...
2003-03-21 Ulrich Drepper <drepper@redhat.com>
* cancellation.c: Adjust for new form of compare&exchange macros.
* cleanup_defer.c: Likewise.
* init.c: Likewise.
* libc-cancellation.c: Likewise.
* old_pthread_cond_broadcast.c: Likewise.
* old_pthread_cond_signal.c: Likewise.
* old_pthread_cond_timedwait.c: Likewise.
* old_pthread_cond_wait.c: Likewise.
* pthread_cancel.c: Likewise.
* pthread_create.c: Likewise.
* pthread_detach.c: Likewise.
* pthread_join.c: Likewise.
* pthread_key_delete.c: Likewise.
* pthread_setcancelstate.c: Likewise.
* pthread_setcanceltype.c: Likewise.
* pthread_timedjoin.c: Likewise.
* pthread_tryjoin.c: Likewise.
* sysdeps/pthread/createthread.c: Likewise.
2003-03-21 08:03:25 +00:00
Ulrich Drepper
b1aea0989d
Update.
...
2003-03-20 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Include <atomic.h>.
Remove __lll_add, __lll_dev_if_positive, and __lll_test_and_set
definitions. Replace uses with calls to atomic_* functions.
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/lowlevellock.c: Replace __lll_add and
__lll_test_and_set calls with atomic_exchange_and_add and
atomic_exchange calls respectively.
* sysdeps/unix/sysv/linux/sem_post.c: Likewise.
* sysdeps/unix/sysv/linux/sem_timedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sem_trywait.c: Likewise.
* sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/pthread_once.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sem_port.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Likewise.
* allocatestack.c (allocate_stack): Assume atomic_exchange_and_add
returns the old value.
2003-03-20 10:29:20 +00:00
Ulrich Drepper
9daba4f4b9
Replace __lll_add calls with atomic_exchange_and_add calls respectively.
2003-03-20 10:28:06 +00:00
Ulrich Drepper
7793bf7fd7
Replace __lll_add and __lll_test_and_set calls with atomic_exchange_and_add and atomic_exchange call respectively.
2003-03-20 10:23:47 +00:00
Roland McGrath
100a7100a7
* sysdeps/s390/pthread_spin_lock.c (pthread_spin_lock): Use type
...
int for variable OLDVAL and correct inline assembler contraint.
* sysdeps/s390/pthread_spin_trylock.c (pthread_spin_trylock): Use
type int for variable OLD.
* sysdeps/s390/tls.h (TLS_MULTIPLE_THREADS_IN_TCB): Define it
only for s390-32.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
(SINGLE_THREAD_P): Use global variable __local_multiple_threads
instead of multiple_threads field in the TCB.
2003-03-20 09:51:17 +00:00
Ulrich Drepper
91958edc84
(allocate_stack): Assume atomic_exchange_and_add returns the old value.
2003-03-20 08:58:35 +00:00
Ulrich Drepper
4009bf4044
Update.
...
2003-03-19 Ulrich Drepper <drepper@redhat.com>
* Makefile (distribute): Add include/atomic.h and bits/atomic.h.
* include/atomic.h: New file.
* sysdeps/i386/i486/bits/atomic.h: New file.
* sysdeps/x86_64/bits/atomic.h: New file.
* sysdeps/s390/bits/atomic.h: New file.
* sysdeps/sh/bits/atomic.h: New file.
* sysdeps/ia64/bits/atomic.h: New file.
* sysdeps/powerpc/bits/atomic.h: New file.
* sysdeps/generic/bits/atomic.h: New file.
* sysdeps/i386/i486/atomicity.h: Removed.
* sysdeps/x86_64/atomicity.h: Removed.
* sysdeps/s390/s390-32/atomicity.h: Removed.
* sysdeps/s390/s390-64/atomicity.h: Removed.
* sysdeps/ia64/atomicity.h: Removed.
* sysdeps/powerpc/powerpc32/atomicity.h: Removed.
* sysdeps/powerpc/powerpc64/atomicity.h: Removed.
* elf/dl-profile.c: Use atomic.h instead of atomicity.h. Adjust
use of macros from atomicity.h to new names and semantics.
* gmon_mcount.c: Likewise.
* malloc/set-freeres.c: Likewise.
* nscd/cache.c: Likewise.
* stdlib/cxa_finalize.c: Likewise.
* sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
* sysdeps/mips/ieee754.h: New file, suitable to replace both
* stdlib/strtod.c (INTERNAL): While eating trailing zeros handle
2003-03-20 07:19:17 +00:00
Ulrich Drepper
560a784f03
Update.
...
2003-03-19 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/Makefile: Fix cut&paste error.
2003-03-19 19:15:36 +00:00
Ulrich Drepper
95767b36d4
Update.
...
2003-03-19 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/pthread_cond_broadcast.c: Release lock before
signalling waiters.
2003-03-19 09:52:49 +00:00
Ulrich Drepper
bbb9ba4324
(__pthread_cond_broadcast): Release lock before waking waiters.
2003-03-19 09:42:14 +00:00
Roland McGrath
ca341eb2bd
(__lll_test_and_set): Fix typos.
2003-03-19 09:08:47 +00:00
Roland McGrath
9465949559
* abilist: New directory of libfoo.abilist files maintained using
...
scripts/merge-abilist.awk and "make update-abi" rules.
* Makefile (distribute): Add abilist/*.abilist.
* Makerules [$(build-shared) = yes] [$(subdir)] (tests):
Depend on check-abi.
2003-03-19 08:27:55 +00:00
Roland McGrath
043ad426e7
* Versions (libpthread: GLIBC_2.2): Remove
...
pthread_barrierattr_getpshared, never really existed.
(libpthread: GLIBC_2.0): Move __pthread_initialize to ...
(libpthread: GLIBC_PRIVATE): ... here.
2003-03-19 03:34:48 +00:00
Roland McGrath
8a477363f4
2003-03-18 Roland McGrath <roland@redhat.com>
...
* Versions (libpthread: GLIBC_2.3.2): Move pthread_tryjoin_np and
pthread_timedjoin_np to ...
(libpthread: GLIBC_2.3.3): ... here.
(libpthread: GLIBC_2.2): Move pthread_barrierattr_getpshared there too.
2003-03-19 03:25:04 +00:00
Ulrich Drepper
00bd9cc9ab
Remove unnecessary instruction in case clock_gettime isn't available.
2003-03-19 02:27:27 +00:00
Ulrich Drepper
ac9e0aa1b0
Update.
...
* Makefile (tests): Add tst-cond11.
* tst-cond11.c: New file.
2003-03-19 00:38:11 +00:00
Ulrich Drepper
604b15cf5f
Test pthread_condattr_[sg]etclock.
2003-03-19 00:34:59 +00:00
Ulrich Drepper
a14b373c5d
Update.
...
2003-03-18 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/powerpc64/memcpy.S: New file.
2003-03-18 23:00:03 +00:00
Ulrich Drepper
ee2af3e835
Reorder struct passed to cleanup handler to eliminate one more instruction.
2003-03-18 22:20:54 +00:00
Ulrich Drepper
856874c5e9
(__pthread_cond_init): Handle NULL cond_attr parameter.
2003-03-18 20:08:20 +00:00
Ulrich Drepper
24a49f38ad
Update.
...
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h
(pthrad_cond_t): Replace __unused field with __clock.
* sysdeps/pthread/pthread_cond_wait.c: Release condvar lock before
waken all waiters in cleanup handler.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
2003-03-18 18:56:16 +00:00
Ulrich Drepper
d5cb838958
Update.
...
2003-03-18 Ulrich Drepper <drepper@redhat.com>
* Versions.def: Add GLIBC_2.3.3 for libpthread.
2003-03-18 11:25:37 +00:00
Ulrich Drepper
86a9ee5e87
Update.
...
2003-03-18 Ulrich Drepper <drepper@redhat.com>
* pthread_condattr_getclock.c: New file.
* pthread_condattr_setclock.c: New file.
* sysdeps/pthread/pthread.h: Declare these new functions.
* Versions [GLIBC_2.3.3] (libpthread): Add the new functions.
* Makefile (libpthread-routines): Add the new functions.
* sysdeps/unix/sysv/linux/internaltypes.h (struct pthread_condattr):
Renamed field to value. Document use of the bits.
* pthread_condattr_getpshared.c: Adjust for struct pthread_condattr
change.
* pthread_condattr_setpshared.c: Likewise.
* sysdeps/unix/sysv/linux/lowlevelcond.sym: Add cond_clock symbol.
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_cond_t):
Add __clock field.
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
Implement clock selection.
* sysdeps/pthread/pthread_cond_timedwait.c: Likewise.
* pthread-errnos.sym: Add ENOSYS.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
_POSIX_CLOCK_SELECTION.
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove
invalid .size directive.
2003-03-18 11:17:57 +00:00
Ulrich Drepper
4773086e04
Update.
...
* sysdeps/unix/sysv/linux/ia64/pthread_once.c: Use __builtin_expect.
Use __lll_add instead of spelling it out. Use protected symbol names.
* sysdeps/unix/sysv/linux/ia64/sem_post.c: Use __builtin_expect.
Use __lll_add.
* sysdeps/unix/sysv/linux/ia64/lowlevellock.h (__lll_compare_and_swap):
Renamed from lll_compare_and_swap. Use new name where necessary.
(__lll_add): Defined.
(__lll_dec_if_positive): Defined.
(__lll_test_and_set): Defined.
* sysdeps/ia64/pthread_spin_init.c: Removed.
* sysdeps/unix/sysv/linux/ia64/lowlevelmutex.c: Removed.
* sysdeps/unix/sysv/linux/ia64/sem_trywait.c: Removed.
* sysdeps/unix/sysv/linux/ia64/sem_wait.c: Removed.
* sysdeps/unix/sysv/linux/ia64/lowlevellock.c: Removed.
* sysdeps/unix/sysv/linux/ia64/libc-lowlevellock.c: Removed.
* sysdeps/unix/sysv/linux/ia64/libc-lowlevelmutex.c: Removed.
* sysdeps/unix/sysv/linux/ia64/sem_timedwait.c: Removed.
2003-03-18 05:31:53 +00:00
Ulrich Drepper
970269474a
Update.
...
2003-03-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/libc-start.c [!SHARED &&
!LIBC_START_MAIN_AUXVEC_ARG]: Compute beginning of auxvec correctly.
2003-03-18 01:56:11 +00:00
Ulrich Drepper
09044a7360
pthread_spin_unlock implementation for Linux/i386.
2003-03-18 01:52:02 +00:00
Roland McGrath
98054a05df
* include/ctype.h: Revert last change.
2003-03-18 01:21:49 +00:00
Roland McGrath
5bfd37b634
2003-03-17 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/lowlevellock.c (__lll_lock_wait):
Formatting tweaks.
2003-03-18 01:21:42 +00:00
Ulrich Drepper
f911cc4a74
(lll_unlock_wake_cb): Correct last patch. (__lll_timedwait_tid): Don't check abstime for NULL pointer.
2003-03-18 00:50:30 +00:00
Ulrich Drepper
001bea714d
Update.
...
2003-03-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/ia64/bits/atomic.h: Add __builtin_expect where appropriate.
* sysdeps/ia64/pthread_spin_unlock.c (pthread_spin_unlock): Use
__sync_lock_release_si.
Patch by Jakub Jelinek.
* sysdeps/unix/sysv/linux/lowlevellock.c (__lll_timedlock_wait):
Fix timeout handling.
(__lll_timedwait_tid): Likewise.
(lll_unlock_wake_cb): Wake up other waiters if necessary.
Patch by Jakub Jelinek.
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Pretty printing.
2003-03-18 00:39:58 +00:00
Ulrich Drepper
bd0fa4cefd
Add __builtin_expect where appropriate.
2003-03-18 00:31:30 +00:00
Roland McGrath
de4471dd55
PowerPC port contributed by Paul Mackerras <paulus@samba.org>.
...
* sysdeps/pthread/pthread_spin_init.c: New file.
* sysdeps/pthread/pthread_spin_unlock.c: New file.
* sysdeps/powerpc/Makefile: New file.
* sysdeps/powerpc/pthread_spin_lock.c: New file.
* sysdeps/powerpc/pthread_spin_trylock.c: New file.
* sysdeps/powerpc/pthreaddef.h: New file.
* sysdeps/powerpc/tcb-offsets.sym: New file.
* sysdeps/powerpc/td_ta_map_lwp2thr.c: New file.
* sysdeps/powerpc/tls.h: New file.
* sysdeps/powerpc/bits/atomic.h: New file.
* sysdeps/unix/sysv/linux/libc-lowlevelmutex.c: New file.
* sysdeps/unix/sysv/linux/libc-lowlevellock.c: New file.
* sysdeps/unix/sysv/linux/lowlevellock.c: New file.
* sysdeps/unix/sysv/linux/lowlevelmutex.c: New file.
* sysdeps/unix/sysv/linux/sem_post.c: New file.
* sysdeps/unix/sysv/linux/sem_timedwait.c: New file.
* sysdeps/unix/sysv/linux/sem_trywait.c: New file.
* sysdeps/unix/sysv/linux/sem_wait.c: New file.
* sysdeps/unix/sysv/linux/powerpc/Makefile: New file.
* sysdeps/unix/sysv/linux/powerpc/createthread.c: New file.
* sysdeps/unix/sysv/linux/powerpc/fork.c: New file.
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file.
* sysdeps/unix/sysv/linux/powerpc/pt-vfork.S: New file.
* sysdeps/unix/sysv/linux/powerpc/pthread_once.c: New file.
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: New file.
* sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: New file.
* sysdeps/unix/sysv/linux/ia64/lowlevellock.c: Use __gettimeofday,
not gettimeofday.
* sysdeps/unix/sysv/linux/ia64/lowlevelmutex.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sem_timedwait.c: Likewise.
* sysdeps/unix/sysv/linux/s390/lowlevellock.c: Likewise.
* sysdeps/unix/sysv/linux/s390/lowlevelmutex.c: Likewise.
* sysdeps/unix/sysv/linux/s390/sem_timedwait.c: Likewise.
2003-03-17 11:25:18 +00:00
Roland McGrath
f3c13160fe
2003-03-17 Roland McGrath <roland@redhat.com>
...
PowerPC port contributed by Paul Mackerras <paulus@samba.org>.
* sysdeps/pthread/pthread_spin_init.c: New file.
* sysdeps/pthread/pthread_spin_unlock.c: New file.
* sysdeps/powerpc/Makefile: New file.
* sysdeps/powerpc/pthread_spin_lock.c: New file.
* sysdeps/powerpc/pthread_spin_trylock.c: New file.
* sysdeps/powerpc/pthreaddef.h: New file.
* sysdeps/powerpc/tcb-offsets.sym: New file.
* sysdeps/powerpc/td_ta_map_lwp2thr.c: New file.
* sysdeps/powerpc/tls.h: New file.
* sysdeps/powerpc/bits/atomic.h: New file.
* sysdeps/unix/sysv/linux/libc-lowlevelmutex.c: New file.
* sysdeps/unix/sysv/linux/libc-lowlevellock.c: New file.
* sysdeps/unix/sysv/linux/lowlevellock.c: New file.
* sysdeps/unix/sysv/linux/sem_post.c: New file.
* sysdeps/unix/sysv/linux/sem_timedwait.c: New file.
* sysdeps/unix/sysv/linux/sem_trywait.c: New file.
* sysdeps/unix/sysv/linux/powerpc/Makefile: New file.
* sysdeps/unix/sysv/linux/powerpc/createthread.c: New file.
* sysdeps/unix/sysv/linux/powerpc/fork.c: New file.
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file.
* sysdeps/unix/sysv/linux/powerpc/pt-vfork.S: New file.
* sysdeps/unix/sysv/linux/powerpc/pthread_once.c: New file.
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: New file.
* sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: New file.
2003-03-17 11:22:52 +00:00
Ulrich Drepper
5778033ffc
Update.
...
* localedata/en_ZA: Changed %x for LC_TIME to use dd/mm/ccyy.
2003-03-17 10:16:36 +00:00
Ulrich Drepper
46a32546c9
Update.
...
2003-03-17 Ulrich Drepper <drepper@redhat.com>
* localedata/en_ZA: hanged %x for LC_TIME to use dd/mm/ccyy.
Added ^ to LC_MESSAGES regex "^[yY].*".
Confirmed LC_PAPER adn LC_MEASUREMENT settings.
Added country and language names to LC_ADDRESS.
Added missing info for LC_TELEPHONE.
Patch by Dwayne Bailey <dwayne@obsidian.co.za>.
2003-03-17 10:11:31 +00:00
Ulrich Drepper
fb2ee178fa
Load correct registers.
2003-03-17 04:49:21 +00:00
Roland McGrath
796038f863
* tst-fork4.c: Include <string.h>.
...
* tst-signal2.c: Likewise.
* tst-mutex5.c (do_test): exit -> return.
* tst-mutex2.c: Include <stdlib.h>.
2003-03-17 02:48:34 +00:00
Roland McGrath
2c5567a08e
2003-03-16 Roland McGrath <roland@redhat.com>
...
* tst-fork4.c: Include <string.h>.
* tst-signal2.c: Likewise.
* tst-mutex5.c (do_test): exit -> return.
* tst-mutex2.c: Include <stdlib.h>.
2003-03-17 02:48:28 +00:00
Ulrich Drepper
25d025ce77
(__lll_lock_wait): Remove jump prediction suffix.
2003-03-17 01:53:39 +00:00
Ulrich Drepper
b6e2f87a61
Update.
...
2003-03-16 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Define tv here,
not at function level.
* sysdeps/unix/clock_gettime.c (HANDLE_REALTIME): Likewise.
2003-03-16 10:16:43 +00:00
Ulrich Drepper
51d0678c29
Update.
...
2003-03-16 Ulrich Drepper <drepper@redhat.com>
* tst-rwlock6.c: Add some more status output.
2003-03-16 08:09:26 +00:00
Ulrich Drepper
ad032aee17
Really use R12 and r13.
2003-03-16 03:49:51 +00:00
Roland McGrath
8112cc70b4
* nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r): int -> size_t
...
* nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
* nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Likewise.
* nis/nis_table.c (__create_ib_request): Likewise.
2003-03-16 03:36:32 +00:00
Roland McGrath
eb64f8cbe3
* posix/fnmatch_loop.c: Add casts for signedness.
...
* nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
* gmon/gmon.c (write_call_graph): Use u_long for FROM_LEN.
* nscd/nscd_getgr_r.c (nscd_getgr_r): Use nscd_ssize_t for CNT.
2003-03-16 03:22:41 +00:00
Ulrich Drepper
49773c1993
Update.
...
2003-03-15 Ulrich Drepper <drepper@redhat.com>
* allocatestack.c (allocate_stack): Store the exact stack size of
user allocated stacks.
2003-03-16 01:40:57 +00:00
Ulrich Drepper
580088c900
(allocate_stack): Store the exact stack size of user allocated stacks.
2003-03-16 01:39:10 +00:00
Ulrich Drepper
7abed17041
More random patches.
2003-03-15 21:46:30 +00:00
Jakub Jelinek
eec0ca9f25
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
...
(SINGLE_THREAD): Use `header' prefix instead of `header.data'.
* sysdeps/sh/tcb-offsets.sym (MULTIPLE_THREADS_OFFSET): Likewise.
* sysdeps/sh/tls.h (TLS_MULTIPLE_THREADS_IN_TCB): Define.
* sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (SINGLE_THREAD_P):
Use `header.' prefix.
* sysdeps/ia64/tcb-offsets.sym (MULTIPLE_THREADS_OFFSET): Likewise.
2003-03-15 11:44:47 +00:00
Jakub Jelinek
1419a9581c
(SINGLE_THREAD): Use header' prefix instead of
header.data'.
2003-03-15 11:43:02 +00:00
Ulrich Drepper
979f5c31de
Use 64-bit loading.
2003-03-15 09:59:21 +00:00
Ulrich Drepper
a87731e262
Update.
...
2003-03-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/pthreaddef.h (CURRENT_STACK_FRAME): Don't use
__builtin_frame_address, use stack pointer.
* sysdeps/unix/sysv/linux/jmp-unwind.c: Use CURRENT_STACK_FRAME
instead of __builtin_frame_pointer.
2003-03-15 09:51:22 +00:00
Ulrich Drepper
92ed3daf01
Update.
...
* tst-basic1.c (do_test): Add cast to avoid warning.
* tst-basic2.c (do_test): Likewise.
2003-03-15 07:54:39 +00:00
Ulrich Drepper
9b89567d85
Update.
...
* sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Use correct
amount of stack correction.
2003-03-14 23:56:44 +00:00
Ulrich Drepper
8b4a0b2f78
Use correct amount of stack correction.
2003-03-14 23:46:29 +00:00
Ulrich Drepper
e22a221d6b
Update.
...
2003-03-14 Ulrich Drepper <drepper@redhat.com>
* tst-fork4.c: Use test-skeleton.c.
* pthread_create.c (start_thread): Use CALL_THREAD_FCT if defined.
* sysdeps/i386/tls.h: Define CALL_THREAD_FCT.
2003-03-14 23:28:23 +00:00
Ulrich Drepper
42c8f44c05
(start_thread): Use CALL_THREAD_FCT if defined.
2003-03-14 23:18:42 +00:00
Roland McGrath
2e49caba0e
* init.c: Fix typo "#eli" for "#else".
2003-03-14 23:16:51 +00:00
Roland McGrath
415ef7d893
* allocatestack.c (__stack_user): Use hidden_data_def.
...
* pthread_create.c (__pthread_keys): Likewise.
* init.c [__powerpc__] (__NR_set_tid_address): Define it.
* tst-fork4.c: New file.
* Makefile (tests): Add it.
2003-03-14 23:12:09 +00:00
Roland McGrath
5228750594
* descr.h (struct pthread): Move the union out of [!TLS_DTV_AT_TP], so
...
we always define the padding space.
[!TLS_DTV_AT_TP]: Give tcbhead_t field a name, `header', since GCC
stopped supporting its own extensions fully.
[TLS_MULTIPLE_THREADS_IN_TCB]: Put `multiple_threads' inside a wrapper
struct also called `header', so `header.multiple_threads' is the field
name to use on all machines.
* allocatestack.c (allocate_stack): Use `header.' prefix.
* sysdeps/pthread/createthread.c (create_thread): Likewise.
* pthread_create.c (__pthread_create_2_1): Likewise.
* sysdeps/i386/tls.h (INSTALL_NEW_DTV, THREAD_DTV): Likewise.
(THREAD_SELF): Likewise.
* sysdeps/x86_64/tls.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
(SINGLE_THREAD_P): Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h
(SINGLE_THREAD_P): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
(SINGLE_THREAD_P): Likewise.
* sysdeps/s390/td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Use REGS[18]
value directly.
2003-03-14 22:34:30 +00:00
Roland McGrath
55c11fbdb0
2003-03-14 Roland McGrath <roland@redhat.com>
...
* descr.h (struct pthread): Move the union out of [!TLS_DTV_AT_TP], so
we always define the padding space.
[!TLS_DTV_AT_TP]: Give tcbhead_t field a name, `header', since GCC
stopped supporting its own extensions fully.
[TLS_MULTIPLE_THREADS_IN_TCB]: Put `multiple_threads' inside a wrapper
struct also called `header', so `header.multiple_threads' is the field
name to use on all machines.
* allocatestack.c (allocate_stack): Use `header.' prefix.
* sysdeps/pthread/createthread.c (create_thread): Likewise.
* pthread_create.c (__pthread_create_2_1): Likewise.
* sysdeps/i386/tls.h (INSTALL_NEW_DTV, THREAD_DTV): Likewise.
(THREAD_SELF): Likewise.
* sysdeps/x86_64/tls.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
(SINGLE_THREAD_P): Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h
(SINGLE_THREAD_P): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
(SINGLE_THREAD_P): Likewise.
2003-03-14 22:34:02 +00:00
Ulrich Drepper
0eb1828169
Update.
...
2003-03-14 Ulrich Drepper <drepper@redhat.com>
* localedata/mn_MN: New file.
Contributed by Sanlig Badral <badral@chinggis.com>.
2003-03-14 22:04:21 +00:00
Ulrich Drepper
c44bf9aa9e
Update.
...
2003-03-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/tls.h (THREAD_GETMEM): Mark asms volatile.
(THREAD_GETMEM_NC): Likewise.
2003-03-14 09:46:25 +00:00
Ulrich Drepper
7f2936863e
(THREAD_GETMEM): Makr asms volatile. (THREAD_GETMEM_NC): Likewise.
2003-03-14 09:45:53 +00:00
Ulrich Drepper
564cd8b67e
Update.
...
2003-03-13 Ulrich Drepper <drepper@redhat.com>
* posix/getconf.c: Recognize POSIX2_SYMLINKS.
* sysdeps/generic/bits/confname.h: Define _PC_2_SYMLINKS.
* sysdeps/posix/fpathconf.c: Handle _PC_2_SYMLINKS.
* sysdeps/posix/pathconf.c: Likewise.
* sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
* sysdeps/unix/sysv/linux/pathconf.c: Likewise.
* sysdeps/unix/sysv/linux/pathconf.h: Define statfs_symlinks.
* sysdeps/unix/sysv/linux/linux_fsinfo.h: Define some more magic
words.
2003-03-14 06:28:45 +00:00
Ulrich Drepper
59b28a2e4b
(allocate_stack): If MULTI_PAGE_ALIASING is defined and the size of the stack which must be allocated is a multiple, allocate one more page.
2003-03-14 06:11:06 +00:00
Roland McGrath
6461e57784
* elf/Makefile ($(objpfx)librtld.mk): Tweak regexp so that one-line
...
entries in the map file match too.
2003-03-13 21:51:07 +00:00
Roland McGrath
0579fabbe8
2003-03-13 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/unix/sysv/linux/fork.c (__libc_fork): Only declare and set
PPID if [! NDEBUG].
2003-03-13 21:00:18 +00:00
Ulrich Drepper
b5ec56172d
Update.
...
2003-03-13 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/ia64/sysdep.h (BREAK_INSN_1, BREAK_INSN,
ASM_OUTARGS_0, ASM_OUTARGS_1, ASM_OUTARGS_2, ASM_OUTARGS_3,
ASM_OUTARGS_4, ASM_OUTARGS_5, ASM_OUTARGS_6): Define.
(INTERNAL_SYSCALL, INLINE_SYSCALL): Use it. Make syscall arguments
clobbered by the syscall.
(ASM_ARGS_1, ASM_ARGS_2, ASM_ARGS_3, ASM_ARGS_4, ASM_ARGS_5,
ASM_ARGS_6): Change constraints from r to index of corresponding
output register.
* sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Swap
ptid and ctid to match kernel.
* sysdeps/unix/sysv/linux/ia64/system.c (FORK): Likewise.
* sysdeps/powerpc/powerpc64/elf/configure.in: Remove
* sysdeps/powerpc/powerpc64/elf/configure: Regenerated.
2003-03-13 04:41:39 +00:00
Ulrich Drepper
7588880f50
Update.
...
* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
libc_multiple_threads.
* sysdeps/unix/sysv/linux/libc_pthread_init.c: Move definition of
__libc_multiple_threads to...
* sysdeps/unix/sysv/linux/libc_multiple_threads.c: ...here. New file.
* sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove unnecessary
versioning.
* sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_once.S
(__pthread_once_internal): Define.
* sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Use shlib-compat.h
macros instead of .symver directly.
* sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Likewise.
2003-03-13 01:51:12 +00:00
Ulrich Drepper
959c5bbfee
Use shlib-compat.h macros instead of .symver directly.
2003-03-13 01:06:30 +00:00
Ulrich Drepper
d0369fb8a9
Update.
...
2003-03-12 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/tls.h [__ASSEMBLER__]: Include tcb-offsets.h.
* sysdeps/x86_64/tcb-offsets.sym: New file.
* sysdeps/x86_64/Makefile: New file.
* sysdeps/i386/tcb-offsets.sym: Add SELF.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Use SELF
to access own pthread_t in TCB.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: New
file.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: New
file.
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h
(pthread_cond_t): Add padding.
2003-03-12 20:03:07 +00:00
Ulrich Drepper
6aebe7340d
(pthread_cond_t): Add padding.
2003-03-12 18:44:29 +00:00
Roland McGrath
0bb2ac85a6
* pthread-errnos.sym: New file.
...
* Makefile (gen-as-const-headers): New variable, list that file.
* sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Include generated
header <pthread-errnos.h> instead of defining errno values here.
* sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/lowlevelmutex.S: Likewise.
* sysdeps/i386/i486/pthread_spin_trylock.S: Likewise.
* sysdeps/x86_64/pthread_spin_trylock.S: Likewise.
* sysdeps/sh/pthread_spin_trylock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/fork.c: Add an assert to check that
CLONE_CHILD_SETTID worked.
2003-03-12 10:30:26 +00:00
Roland McGrath
326132dbdb
2003-03-12 Roland McGrath <roland@redhat.com>
...
* pthread-errnos.sym: New file.
* Makefile (gen-as-const-headers): New variable, list that file.
* sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Include generated
header <pthread-errnos.h> instead of defining errno values here.
* sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
* sysdeps/i386/i486/pthread_spin_trylock.S: Likewise.
* sysdeps/x86_64/pthread_spin_trylock.S: Likewise.
* sysdeps/sh/pthread_spin_trylock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Likewise.
2003-03-12 10:28:07 +00:00
Ulrich Drepper
da49194d2d
Update.
...
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: New file.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: New file.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: New file.
2003-03-12 09:53:44 +00:00
Ulrich Drepper
35e148cb96
Update.
...
2003-03-12 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S
(__pthread_rwlock_timedwrlock): Add missing opcode suffix.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S
(__pthread_rwlock_timedrdlock): Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S
(__pthread_rwlock_wrlock): Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S
(__pthread_rwlock_rdlock): Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Return
result of lock re-get if it fails.
2003-03-12 08:57:35 +00:00
Ulrich Drepper
a3cd7da30f
Return result of lock re-get if it fails.
2003-03-12 08:41:10 +00:00
Ulrich Drepper
5a03acfe37
Update.
...
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Fix asm syntax.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Likewise.
* sysdeps/x86_64/tls.h (THREAD_SELF, THREAD_GETMEM, THREAD_GETMEM_NC,
THREAD_SETMEM, THREAD_SETMEM_NC): Correct asm syntax.
* allocatestack.c [! TLS_MULTIPLE_THREADS_IN_TCB] (allocate_stack):
Initialize *__libc_multiple_threads_ptr not __libc_multiple_threads.
* sysdeps/pthread/createthread.c [! TLS_MULTIPLE_THREADS_IN_TCB]
(create_thread): Likewise.
Define __pthread_multiple_threads and __libc_multiple_threads_ptr.
* init.c (__pthread_initialize_minimal_internal): Initialize
__libc_multiple_threads_ptr if necessary.
* pthreadP.h: Adjust prototype for __libc_pthread_init. Declare
__pthread_multiple_threads and __libc_multiple_threads_ptr.
* sysdeps/unix/sysv/linux/libc_pthread_init.c: Define
__libc_multiple_threads.
(__libc_pthread_init): Return pointer to __libc_pthread_init if
necessary.
* sysdeps/i386/tls.h (THREAD_SETMEM): Fix one-byte variant.
(THREAD_SETMEM_NC): Likewise.
* sysdeps/x86_64/pthread_spin_trylock.c: Removed.
* sysdeps/x86_64/pthread_spin_trylock.S: New file.
* sysdeps/x86_64/pthread_spin_unlock.c: Removed.
* sysdeps/x86_64/pthread_spin_unlock.S: New file.
* sysdeps/i386/i486/pthread_spin_trylock.S (pthread_spin_trylock):
Eliminate one entire instruction.
2003-03-12 05:45:00 +00:00
Ulrich Drepper
32a589b1ea
Update.
...
* cancellation.c (__pthread_enable_asynccancel_2): New function.
* pthreadP.h: Declare __pthread_enable_asynccancel_2.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S
(__pthread_cond_timedwait): Use __pthread_enable_asynccancel_2
instead of __pthread_enable_asynccancel.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S
(__pthread_cond_wait): Likewise.
* sysdeps/pthread/pthread_cond_timedwait.c
(__pthread_cond_timedwait): Likewise.
* sysdeps/pthread/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2003-03-11 23:26:35 +00:00
Ulrich Drepper
3e976b962a
Update.
...
2003-03-11 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S
(__condvar_cleanup): Wake up all waiters in case we got signaled
after being woken up but before disabling asynchronous
cancellation.
* sysdeps/pthread/pthread_cond_wait.c (__condvar_cleanup): Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
(__condvar_cleanup): Likewise.
* init.c (__NR_set_tid_address): If already defined, don't redefine.
Make it an error if architecture has no #if case. Add x86-64.
* sysdeps/unix/sysv/linux/x86_64/Makefile: Add flags for
pt-initfini.s generation.
* sysdeps/x86_64/tls.h: Include <asm/prctl.h>.
(TLS_INIT_TP): Fix typo.
2003-03-11 22:02:29 +00:00
Ulrich Drepper
6c477888ca
Update.
...
2003-03-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread64): Define
to __NR_pread if not defined.
(__NR_pwrite64): Define to __NR_pwrite if not defined.
2003-03-11 19:40:00 +00:00
Ulrich Drepper
f006d3a007
Update.
...
* sysdeps/unix/sysv/linux/ia64/system.c: New file.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_CLONE_THREAD_FLAGS): Define for IA-64 and s390* with
kernel >= 2.5.64.
2003-03-11 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7.
2003-03-11 19:02:26 +00:00
Ulrich Drepper
ea69482383
Update.
...
2003-03-11 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: New file.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: New file.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: New file.
2003-03-11 10:38:41 +00:00
Ulrich Drepper
0bc91edf8e
pthread_cond_wait implementation for Linux/x86-64.
2003-03-11 10:36:15 +00:00
Roland McGrath
b33e61633a
* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): If CNT == 1,
...
allocate space even for the trailing '/'.
Reported by John Reiser <jreiser@BitWagon.com>.
* sysdeps/unix/sysv/linux/ia64/sysdep.h (LOAD_ARGS_6, ASM_ARGS_6,
ASM_CLOBBERS_6): Define.
(ASM_CLOBBERS_5): Use ASM_CLOBBERS_6.
* sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Reorder arguments
to match IA-32 order.
* sysdeps/unix/sysv/linux/i386/clone.S: Fix comment.
2003-03-11 09:30:37 +00:00
Roland McGrath
5d5d5969b1
2003-03-11 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/pthread/createthread.c (ARCH_CLONE): Define if not defined.
(create_thread): Only assert PD->tcb != NULL under [TLS_TCB_AT_TP].
Use ARCH_CLONE.
* allocatestack.c (ALLOCATE_STACK_PARMS): New macro.
[NEED_SEPARATE_REGISTER_STACK] (STACK_VARIABLES,
STACK_VARIABLES_ARGS, STACK_VARIABLES_PARMS, ALLOCATE_STACK_PARMS,
ALLOCATE_STACK): New macros.
(TLS_TPADJ): New macro.
(get_cached_stack, queue_stack, __deallocate_stack): Use TLS_TPADJ.
(allocate_stack): Handle TLS_DTV_AT_TP and
NEED_SEPARATE_REGISTER_STACK. Use TLS_TPADJ.
* pthread_create.c (__pthread_create_2_1) [! TLS_TCB_AT_TP]:
Don't set PD->self.
* init.c [__ia64__] (__NR_set_tid_address): Define.
2003-03-11 09:20:36 +00:00
Ulrich Drepper
d0aacb47f9
pthread_cond_signal implementation for Linux/x86-64.
2003-03-11 08:31:35 +00:00
Ulrich Drepper
db5f2fc93d
Update.
...
* sysdeps/unix/sysv/linux/x86_64/sem_post.S: New file.
* sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: New file.
* sysdeps/unix/sysv/linux/x86_64/sem_wait.S: New file.
* sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Fix error value in
unused code.
2003-03-11 06:52:08 +00:00
Ulrich Drepper
6a4263e3d5
Update.
...
* sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: New file
* sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2003-03-11 05:52:12 +00:00
Ulrich Drepper
3de7c2a965
Update.
...
* sysdeps/unix/sysv/linux/Makefile (gen-as-const-headers): Add
lowlevelbarrier.sym.
* sysdeps/unix/sysv/linux/lowlevelbarrier.sym: New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
Include lowlevelbarrier.h and don't define offsets locally.
2003-03-11 05:26:32 +00:00
Ulrich Drepper
2a544d82ce
Update.
...
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
(__lll_mutex_lock_wait): Reverse order of first two parameters.
(__lll_mutex_timedlock_wait): Likewise.
(lll_mutex_lock): Adjust asm for that.
(lll_mutex_timedlock): Likewise. Mark cx, cc, r10 as clobbered.
(lll_lock): Adjust asm for operand order change.
* sysdeps/unix/sysv/linux/x86_64/lowlevelmutex.S: New file.
* sysdeps/unix/sysv/linux/x86_64/libc-lowlevelmutex.S: New file.
2003-03-11 04:07:00 +00:00
Ulrich Drepper
ec06436c5b
Update.
...
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_lock_wait):
Reverse order of parameters.
(__lll_timedwait_tid): Remove regparms attribute.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: New file.
* sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: New file.
2003-03-11 01:01:24 +00:00
Ulrich Drepper
3273832c67
Update.
...
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
(__lll_timedwait_tid): Remove one unnecessary instruction.
2003-03-11 00:49:38 +00:00
Ulrich Drepper
51f32ab883
Update.
...
* sysdeps/unix/sysv/linux/sh/lowlevelmutex.S: Define
__lll_mutex_timedlock_wait only for NOT_IN_libc.
* sysdeps/unix/sysv/linux/sh/libc-lowlevelmutex.S: Include
lowlevelmutex.S.
* sysdeps/unix/sysv/linux/sh/lowlevellock.S: Define
lll_unlock_wake_cb, __lll_wait_tid, and __lll_timedwait_tid only
for NOT_IN_libc.
* sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Include
lowlevellock.S.
2003-03-10 23:42:41 +00:00
Ulrich Drepper
ebf0cbc5af
Fix typo.
...
* sysdeps/unix/sysv/linux/i386/lowlevelsem.h: Not needed anymore.
2003-03-10 23:02:10 +00:00
Ulrich Drepper
fad48d9e2d
Update.
...
* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Don't define
LOCK is already defined. Don't define __lll_mutex_timedlock_wait
for libc.so.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S: Only
define LOCK here (if UP is not defined). The actual code is in
lowlevelmutex.S.
2003-03-10 22:27:01 +00:00
Ulrich Drepper
9356d063df
Update.
...
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Don't define
LOCK is already defined. Don't define lll_unlock_wake_cb and
__lll_timedwait_tid for libc.so.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Only
define LOCK here (if UP is not defined). The actual code is in
lowlevellock.S.
2003-03-10 22:11:26 +00:00
Ulrich Drepper
146fa1ee68
Update.
...
* sysdeps/unix/sysv/linux/sh/lowlevelrwlock.h: Removed.
2003-03-10 21:44:36 +00:00
Ulrich Drepper
106f6f9d9d
Update.
...
* sysdeps/unix/sysv/linux/s390/lowlevelsem.h: Likewise.
* sysdeps/unix/sysv/linux/s390/sem_post.c: Include lowlevellock.h
instead of lowlevelsem.h.
* sysdeps/unix/sysv/linux/s390/sem_timedwait.c: Likewise.
* sysdeps/unix/sysv/linux/s390/sem_trywait.c: Likewise.
* sysdeps/unix/sysv/linux/s390/sem_wait.c: Likewise.
2003-03-10 21:42:52 +00:00
Ulrich Drepper
0be8ee21f0
Update.
...
* sysdeps/unix/sysv/linux/i386/lowlevelsem.h: New needed anymore.
2003-03-10 21:32:44 +00:00
Ulrich Drepper
873010c8a4
Not needed at all.
2003-03-10 21:31:55 +00:00
Ulrich Drepper
c915e5ad56
Update.
...
* sysdeps/unix/sysv/linux/Makefile (gen-as-const-headers): Add
lowlevelrwlock.sym.
* sysdeps/unix/sysv/linux/lowlevelrwlock.sym: New file.
* sysdeps/unix/sysv/linux/i386/lowlevelrwlock.h: Removed.
2003-03-10 21:03:03 +00:00
Ulrich Drepper
4c3c2e8a6e
Update.
...
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_trylock): Fix
register loading.
* sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_trylock): Undo
last changed. D'oh.
2003-03-10 19:37:46 +00:00
Ulrich Drepper
8969b769c0
(lll_trylock): Undo last changed. D'oh.
2003-03-10 19:36:23 +00:00
Roland McGrath
d38c777e8d
* dlfcn/Makefile (libdl-routines): Add dladdr1.
...
* dlfcn/dladdr1.c: New file.
* dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1.
[__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants.
* elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and
a const ElfNN_Sym ** to fill in.
* include/dlfcn.h: Update decl. Include <link.h>.
* dlfcn/dladdr.c (dladdr): Update caller.
* malloc/mtrace.c (tr_where): Likewise.
* sysdeps/generic/elf/backtracesyms.c: Likewise.
* sysdeps/generic/elf/backtracesymsfd.c: Likewise.
* dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1.
* Versions.def (libdl): Define GLIBC_2.3.3 set.
2003-03-10 10:01:35 +00:00
Ulrich Drepper
2b30b2e51f
Update.
...
2003-03-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: New file.
* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Remove declaration
of __libc_locking_needed.
(lll_trylock): Initialize %eax to zero.
* sysdeps/unix/sysv/linux/x86_64/lowlevelcond.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Update
pthread_cond_t definition.
* sysdeps/unix/sysv/linux/x86_64/fork.c: New file.
2003-03-10 09:27:49 +00:00
Ulrich Drepper
f49d640711
Lowlevel lock definitions for x86-64/Linux.
2003-03-10 09:26:20 +00:00
Roland McGrath
e48f96382f
* sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for
...
assembler command.
* sysdeps/unix/Makefile (compile-syscall): New variable.
Pass -g0 to compiler for assembling syscall stubs from stdin.
* sysdeps/i386/sysdep.h [HAVE_CPP_ASM_DEBUGINFO]
(STABS_CURRENT_FILE, STABS_CURRENT_FILE1, STABS_FUN, STABS_FUN_END):
Define these to do nothing.
* configure.in: New check for -g on .S files.
* configure: Regenerated.
* config.make.in (have-cpp-asm-debuginfo): New variable.
* config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef.
* Makeconfig (ASFLAGS): New variable, if undefined and
$(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS).
* Makerules (compile.S, COMPILE.S): Use $(ASFLAGS).
2003-03-10 09:11:13 +00:00
Ulrich Drepper
9921a88000
(lll_trylock): Initialize %eax to zero.
2003-03-10 09:10:30 +00:00
Ulrich Drepper
acdcbad953
Remove declaration of __libc_locking_needed.
2003-03-10 09:00:47 +00:00
Ulrich Drepper
4cf82237a1
(lll_trylock): Initialize %eax to zero.
2003-03-10 08:51:08 +00:00
Roland McGrath
d4f64e1ad7
2003-03-10 Roland McGrath <roland@redhat.com>
...
* allocatestack.c (allocate_stack) [!TLS_MULTIPLE_THREADS_IN_TCB]:
Instead of setting PD->multiple_threads, set globals
__pthread_multiple_threads and __libc_multiple_threads.
* sysdeps/pthread/createthread.c (create_thread): Likewise.
* sysdeps/i386/tls.h (TLS_MULTIPLE_THREADS_IN_TCB): Define it.
* sysdeps/s390/tls.h (TLS_MULTIPLE_THREADS_IN_TCB): Likewise.
* descr.h (struct pthread): Conditionalize first member on
[!TLS_DTV_AT_TP]. Replace the `header' member with an anonymous union
containing an anonymous tcbhead_t. Move `list' member out.
[TLS_MULTIPLE_THREADS_IN_TCB]: Define a `multiple_threads' member.
* allocatestack.c: Remove use of `header.data.' prefix.
* pthread_create.c: Likewise.
* init.c (__pthread_initialize_minimal_internal): Likewise.
* sysdeps/pthread/createthread.c (create_thread): Likewise.
* sysdeps/i386/tls.h (INSTALL_DTV): Add parens.
(THREAD_SELF, THREAD_DTV, INSTALL_NEW_DTV): No `header.data.' prefix.
* sysdeps/x86_64/tls.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
(SINGLE_THREAD_P): Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h
(SINGLE_THREAD_P): Likewise.
* sysdeps/i386/tls.h (tcbhead_t): Remove `list' member.
* sysdeps/s390/tls.h (tcbhead_t): Likewise.
2003-03-10 08:50:36 +00:00
Roland McGrath
f9cd7dfd6b
2003-03-10 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/lowlevelcond.sym: New file.
* sysdeps/unix/sysv/linux/Makefile (gen-as-const-headers): Add it.
* sysdeps/unix/sysv/linux/sh/lowlevelcond.h: File removed.
* sysdeps/unix/sysv/linux/i386/lowlevelcond.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevelcond.h: Likewise.
2003-03-10 08:50:26 +00:00
Ulrich Drepper
48f3314a00
Definitions for condvar implementation on Linux/x86-64.
2003-03-10 08:06:20 +00:00
Ulrich Drepper
7b44a5e0a7
Update.
...
* sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: New file.
2003-03-10 08:00:02 +00:00
Ulrich Drepper
c2e5e08573
Update.
...
* sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Fix many
leftovers from the ia32 code.
* sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove unneccessary
memory load.
(clear_once_control): Don't load %esi.
* sysdeps/x86_64/tls.h: Remove all traces of segment descriptor
handling.
* sysdeps/unix/sysv/linux/x86_64/fork.c: New file.
2003-03-10 07:39:55 +00:00
Ulrich Drepper
cd4b2a553a
Update.
...
* sysdeps/unix/sysv/linux/s390/createthread.c: Moved to...
* sysdeps/unix/sysv/linux/createthread.c: ...here.
2003-03-10 06:32:42 +00:00
Ulrich Drepper
c37cae9e8a
Update.
...
* po/da.po: Likewise.
2003-03-09 23:59:21 +00:00
Ulrich Drepper
ccf1d5737a
Update.
...
* tst-tls2.c (do_test): Add TEMP_FAILURE_RETRY around sem_wait call.
* tst-signal3.c (do_test): Likewise.
* tst-sem5.c (do_test): Likewise.
* tst-kill6.c (do_test): Likewise.
* tst-tls3.c (do_test): Likewise. Include <errno.h>.
* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use add/sub instead
of inc/dec.
* sysdeps/unix/sysv/linux/i386/lowlevelsem.h: Likewise.
* sysdeps/unix/sysv/linux/i386/pthread_once.S: Likewise
* sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2003-03-08 10:30:42 +00:00
Ulrich Drepper
d130a34156
Update.
...
2003-03-08 Ulrich Drepper <drepper@redhat.com>
* allocatestack.c (allocate_stack): If mprotect() fails free the
TLS memory.
2003-03-08 09:41:16 +00:00
Ulrich Drepper
41d4d22399
Update.
...
* sysdeps/i386/i486/bits/atomic.h: Fix a few unused definitions.
* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Remove all trace of
lll_wake_tid. This was used only to work around kernel limits in
the early days.
* sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2003-03-07 18:37:10 +00:00
Ulrich Drepper
0a0ee8be8f
Fix a few unused definitions.
2003-03-07 18:34:43 +00:00
Ulrich Drepper
bc6389ad56
Update.
...
2003-03-07 Ulrich Drepper <drepper@redhat.com>
* init.c (__static_tls_align_m1): Renamed from __static_tls_align.
(__pthread_initialize_minimal_internal): Change initialization of
__static_tls_align_m1 appropriately.
* pthreadP.h (__static_tls_align_m1): Renamed from
__static_tls_align.
* allocatestack.c (allocate_stack): Use __static_tls_align_m1
instead of __static_tls_align-1.
2003-03-07 09:55:05 +00:00
Ulrich Drepper
923e02eae4
(__static_tls_align_m1): Renamed from __static_tls_align. (__pthread_initialize_minimal_internal): Change initialization of __static_tls_align_m1 appropriately.
2003-03-07 09:53:04 +00:00
Ulrich Drepper
181c92c2e6
Update.
2003-03-07 05:32:16 +00:00
Ulrich Drepper
0de28d5c71
Update.
...
2003-03-04 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ia64/fpu/libm-test-ulps: Regenerated.
2003-03-04 23:01:30 +00:00
Ulrich Drepper
6245b6ae6a
Update.
...
* pthread_attr_setstack.c: Moved to...
* sysdeps/pthread/pthread_attr_setstack.c: ...here. New file.
* pthread_attr_setstackaddr.c: Moved to...
* sysdeps/pthread/pthread_attr_setstackaddr.c: ...here. New file.
2003-03-04 21:28:14 +00:00
Ulrich Drepper
518b53086c
Update.
...
* pthread_create.c: Define __pthread_keys using nocommon
attribute, not by placing it explicitly in bss.
Remove DEFINE_DEALLOC definition. Not needed anymore.
* allocatestack.c: Define ARCH_MAP_FLAGS if not already defined.
Use it in mmap call to allocate stacks.
* sysdeps/pthread/createthread.c (create_thread): Fix comment.
2003-03-04 20:55:08 +00:00
Ulrich Drepper
a05be180bc
Update.
...
* misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages.
2003-03-04 19:20:26 +00:00
Ulrich Drepper
cc775edf2d
Update.
...
* sysdeps/generic/dl-sysdep.h: Add double include protection.
2003-03-04 08:56:12 +00:00
Ulrich Drepper
f04a27210a
Update.
...
* sysdeps/unix/sysv/linux/s390/dl-sysdep.h: Removed. The generic
version is just fine.
2003-03-04 07:58:19 +00:00
Ulrich Drepper
7508154210
Update.
...
* po/tr.po: Update from translation team.
2003-03-04 04:22:47 +00:00
Ulrich Drepper
87a36c0975
Update.
...
* po/tr.po: Update from translation team.
2003-03-04 04:20:46 +00:00
Ulrich Drepper
4f6f0a8fcf
Update.
...
2003-03-03 Ulrich Drepper <drepper@redhat.com>
* include/sched.h (__clone2): Use ... instead of adding all the
new parameters.
2003-03-03 22:02:13 +00:00
Ulrich Drepper
be095ffaf4
(pthread_rwlock_timedwrlock): Fix clobber of result variable by lll_futex_timed_wait call.
2003-03-03 21:26:07 +00:00
Ulrich Drepper
7ce5c1640c
Update.
...
2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
* atomic.h (atomic_exchange_and_add): Return newval, not oldval.
* sysdeps/pthread/pthread_cond_timedwait.c (__pthread_cond_timedwait):
Fix handling of cancellation and failing pthread_mutex_unlock call.
* sysdeps/pthread/pthread_cond_wait.c (__condvar_cleanup): Likewise.
(__pthread_cond_wait): Likewise.
* sysdeps/pthread/pthread_rwlock_timedrdlock.c
(pthread_rwlock_timedrdlock): Fix clobber of result variable by
lll_futex_timed_wait call.
* sysdeps/pthread/pthread_rwlock_timedwrlock.c
(pthread_rwlock_timedwrlock): Likewise.
* sysdeps/unix/sysv/linux/s390/libc-lowlevellock.c (___lll_lock):
Don't define lll_unlock_wake_cb and ___lll_timedwait_tid in libc.so.
* sysdeps/unix/sysv/linux/s390/lowlevellock.c: Remove XXX comments.
* sysdeps/unix/sysv/linux/s390/sem_post.c (__new_sem_post): Fix
check of lll_futex_wake return value.
2003-03-03 21:11:12 +00:00
Roland McGrath
ea6a015bd7
* sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.
...
* sysdeps/ia64/dl-machine.h: Update decl.
2003-03-03 08:44:46 +00:00
Roland McGrath
83f2fcbe7b
2003-03-03 Roland McGrath <roland@redhat.com>
...
* forward.c: Fix typo in __pthread_attr_init_2_0 compat_symbol decl.
2003-03-03 08:43:31 +00:00
Ulrich Drepper
1be3d6642e
Update.
...
* elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes.
2003-03-03 07:31:25 +00:00
Ulrich Drepper
5324b81cb3
(timer_create): Return correct error for CPU clocks.
2003-03-03 07:29:24 +00:00
Ulrich Drepper
885bafa14a
Update.
...
2003-03-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC.
* sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only
if not already defined. Use SYSDEP_GETRES to allow other files to
provide alternative implementations.
* sysdeps/unix/sysv/linux/clock_getres.c: New file
* sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only
if not already defined. Use SYSDEP_GETTIME to allow other files to
provide alternative implementations.
* sysdeps/unix/sysv/linux/clock_gettime.c: New file.
* sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only
if not already defined. Use SYSDEP_GETTIME to allow other files to
provide alternative implementations.
* sysdeps/unix/sysv/linux/clock_settime.c: New file.
* sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow
other files to provide alternative implementations. Rearrange
tests for invalid parameters.
* sysdeps/unix/sysv/linux/clock_nanosleep.c: New file.
* sysdeps/unix/sysv/linux/sysconf.c: New file.
* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_POSIX_TIMERS for Linux 2.4.63 and up.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
_POSIX_MONOTONIC_CLOCK.
2003-03-03 05:29:09 +00:00
Ulrich Drepper
e5497892bb
Update.
...
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
2003-03-03 05:00:33 +00:00
Ulrich Drepper
4adacf579f
Update.
...
2003-03-02 Ulrich Drepper <drepper@redhat.com>
* tst-cancel4.c (tf_sleep): Lower sleep time a bit to not upset
recent kernels.
2003-03-03 01:20:35 +00:00
Ulrich Drepper
f6fbf49230
(tf_sleep): Lower sleep time a bit to not upset recent kernels.
2003-03-03 01:19:01 +00:00
Ulrich Drepper
816a5a6a69
Typo in comment.
2003-03-02 08:44:23 +00:00
Ulrich Drepper
86bfff4d52
Update.
...
2003-03-01 Ulrich Drepper <drepper@redhat.com>
* descr.h (struct pthread): Move cleanup field to the front.
2003-03-02 07:54:30 +00:00
Ulrich Drepper
748bec0865
Update.
...
* sysdeps/i386/tcb-offsets.sym: Add CLEANUP and CLEANUP_PREV.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Inline
__pthread_cleanup_pop functionality.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
2003-03-02 07:52:31 +00:00
Ulrich Drepper
78429f1231
Add CLEANUP and CLEANUP_PREV.
2003-03-02 07:49:51 +00:00
Roland McGrath
d114938564
* configure.in: In "running configure fragment for" message,
...
omit $srcdir from the name if we prepended it.
* configure: Regenerated.
2003-03-01 22:40:30 +00:00
Ulrich Drepper
bd8bb78ba2
Update.
...
2003-03-01 Ulrich Drepper <drepper@redhat.com>
* descr.h (struct pthread): Move tid field to the front now that
it is often used.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S
(__lll_mutex_timedlock_wait): Remove.
(__lll_mutex_unlock_wake): Don't save, load, and restore %esi.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S
(__lll_mutex_unlock_wake): Don't save, load, and restore %esi.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
(lll_unlock_wake_cb): Don't save and restore %esi.
(__lll_unlock_wake): Add alignment. Don't save, load, and restore
%esi.
(__lll_timedwait_tid): Add alignment.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S
(__lll_unlock_wake): Add alignment. Don't save, load, and restore
%esi.
(__lll_timedwait_tid): Removed.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S
(__pthread_cond_broadcast): Don't save, load, and restore %esi.
* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
(pthread_barrier_wait): Don't save, load, and restore %esi for
last thread.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
(__pthread_cond_signal): Don't save, load, and restore %esi.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S
(__pthread_rwlock_unlock): Don't save, load, and restore %esi.
* sysdeps/unix/sysv/linux/i386/i486/sem_post.S (__new_sem_post):
Don't save, load, and restore %esi.
2003-03-01 09:45:23 +00:00
Ulrich Drepper
206a5cdea2
Update.
2003-02-28 03:47:32 +00:00
Ulrich Drepper
567fb22ae3
Update.
...
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
Release lock before waking up the waiters.
2003-02-27 23:45:12 +00:00
Ulrich Drepper
427f5fa1a4
Update.
...
2003-02-27 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to
code generation changes in recent gcc.
2003-02-27 22:29:25 +00:00
Ulrich Drepper
abeb300799
(do_test): Don't start more than one thread in parallel.
2003-02-27 21:48:41 +00:00
Ulrich Drepper
a2d83cfb21
Update.
...
* tst-rwlock9.c (writer_thread): Correct adding TIMEOUT.
(reader_thread): Likewise.
2003-02-27 19:49:35 +00:00
Ulrich Drepper
d2637c7053
Update.
...
2003-02-24 David Mosberger <davidm@hpl.hp.com>
* sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix
unwind info.
2003-02-27 10:32:38 +00:00
Ulrich Drepper
dbf6131c49
Update.
...
Patch by Neil Brown <neilb@cse.unsw.edu.au> [PR libc/4973].
2003-02-27 08:03:17 +00:00
Ulrich Drepper
d148ed257a
Update.
...
2003-02-27 Ulrich Drepper <drepper@redhat.com>
* sunrpc/svc_udp.c (svcudp_recv): Remove all control messages
except the PKTINFO. Reset interface in PKTINFO.
* elf/elf.h: Add new R_PPC64_* relocs for TLS.
* elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD):
Define.
* sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
2003-02-27 08:01:47 +00:00
Ulrich Drepper
695799feb3
Update.
...
* Makefile (tests): Add tst-dlsym1.
* tst-dlsym1.c: New file.
2003-02-27 04:42:04 +00:00
Ulrich Drepper
b1531183c5
Update.
...
2003-02-26 Ulrich Drepper <drepper@redhat.com>
* init.c (__pthread_initialize_minimal_internal): Set
GL(dl_error_catch_tsd) to __libc_dl_error_tsd.
* Versions (libc:GLIBC_PRIVATE): Export __libc_dl_error_tsd.
2003-02-27 04:12:53 +00:00
Ulrich Drepper
d4a763f922
(libc:GLIBC_PRIVATE): Export __libc_dl_error_tsd.
2003-02-27 04:09:48 +00:00
Ulrich Drepper
73983ece25
(sem_open): Only call __libc_close if file descriptor is valid.
2003-02-25 08:47:25 +00:00
Ulrich Drepper
3857ca787c
Update.
...
* sem_open.c (sem_open): Fix handling of O_CREAT without O_EXCL.
2003-02-25 06:19:22 +00:00
Ulrich Drepper
80d807799f
Update.
...
2003-02-24 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES
test.
2003-02-25 02:46:33 +00:00
Ulrich Drepper
8637130890
Update.
...
* tst-rwlock8.c (reader_thread): Remove unused variable.
2003-02-25 00:10:26 +00:00
Ulrich Drepper
fa05898776
(reader_thread): Remove unused variable.
2003-02-25 00:10:01 +00:00
Ulrich Drepper
20c54fe445
Bump to 0.26.
2003-02-24 10:05:02 +00:00
Ulrich Drepper
ffeb4481f4
Update.
...
* Makefile: Add rules to build and run tst-tls3.
* tst-tls3.c: New file.
* tst-tls3mod.c: New file.
2003-02-24 10:03:02 +00:00
Ulrich Drepper
18a535792b
Update.
...
* sysdeps/pthread/pthread_rwlock_rdlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_timedrdlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_timedwrlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_unlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_wrlock.c: Likewise.
2003-02-24 09:23:15 +00:00
Ulrich Drepper
3724f268b1
Update.
...
2003-02-24 Ulrich Drepper <drepper@redhat.com>
* Makefile (tests): Add tst-rwlock8 and tst-rwlock9.
* tst-rwlock8.c: New file.
* tst-rwlock9.c: New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Fix
complete broken rwlock implementation.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise.
2003-02-24 08:50:25 +00:00
Ulrich Drepper
26a526fa5e
Stress test of timed rwlock functions.
2003-02-24 08:48:33 +00:00
Roland McGrath
8915cc4099
* Makefile (nptl-version): Change regexp so case sensitivity is ok.
2003-02-24 07:19:55 +00:00
Roland McGrath
f83b9d2107
2003-02-23 Roland McGrath <roland@redhat.com>
...
* Makefile (nptl-version): Change regexp so case sensitivity is ok.
2003-02-24 07:19:44 +00:00
Ulrich Drepper
ecf289594a
Update.
...
* Makefile (tests): Add tst-context1.
* tst-context1.c: New file.
2003-02-24 04:59:26 +00:00
Ulrich Drepper
79b0a335d8
Test *context functions in threads.
2003-02-24 04:58:42 +00:00
Ulrich Drepper
5e47b76b50
Update.
...
* Makefile (tests): Add tst-tls1 and tst-tls2.
* tst-tls1.c: New file.
* tst-tls2.c: New file.
2003-02-24 03:50:46 +00:00
Ulrich Drepper
cdd8e46f88
Update.
...
* sysdeps/generic/bits/confname.h: Remove #ifs.
2003-02-24 00:12:23 +00:00
Ulrich Drepper
5a6bbb4160
Update.
...
* posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition.
* posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing.
2003-02-23 09:58:08 +00:00
Ulrich Drepper
fd1a0d0c7c
Update.
...
2003-02-23 Ulrich Drepper <drepper@redhat.com>
* resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock
element to -1.
2003-02-23 09:16:11 +00:00
Ulrich Drepper
b1b8e747d4
Update.
...
* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Shave
off 3 more bytes by using offset-less instructions when possible.
2003-02-23 07:20:34 +00:00
Ulrich Drepper
c780aa2137
Update.
...
* catgets/Makefile: Add rules to run test2.msg test.
* catgets/test2.msg: New file.
2003-02-22 23:19:31 +00:00
Ulrich Drepper
d5ca9483e8
Add dependency for $(objpfx)version.d.
2003-02-22 22:52:12 +00:00
Ulrich Drepper
757f9fcb6f
Update.
...
* iconv/iconv_prog.c (main): Unify messages.
2003-02-22 20:02:35 +00:00
Roland McGrath
5148559c88
* pthread_create.c (start_thread): Call __libc_thread_freeres.
2003-02-22 08:33:33 +00:00
Roland McGrath
12d7ca07e2
2003-02-21 Roland McGrath <roland@redhat.com>
...
* pthread_create.c (start_thread): Call __libc_thread_freeres.
2003-02-22 08:33:25 +00:00
Ulrich Drepper
71028edd8f
Update.
...
* Makefile (tests): Add tst-eintr1.
(distribute): Add eintr.c.
* tst-eintr1.c: New file.
* eintr.c: New file.
2003-02-22 05:24:39 +00:00
Ulrich Drepper
6735470f7b
Test for pthread_create and pthread_koin not returning EINTR.
2003-02-22 05:22:31 +00:00
Ulrich Drepper
9c03686dcc
Update.
...
* sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG.
2003-02-22 00:02:57 +00:00
Ulrich Drepper
1c848253fc
Update.
...
2003-02-21 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do
not chechk for errors (unless testing for 32bit variant).
* sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2003-02-22 00:00:19 +00:00
Ulrich Drepper
e814f74891
Update.
...
* pthread_cancel.c (pthread_cancel): Use tkill directly.
* sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill):
Disallow sending SIGCANCEL.
tst-kill3, tst-kill4, tst-kill5.
* tst-kill1.c: New file.
* tst-kill2.c: New file.
* tst-kill3.c: New file.
* tst-kill5.c: New file.
* tst-basic7.c: Renamed to...
* tst-kill4.c: ...this.
2003-02-21 21:07:28 +00:00
Ulrich Drepper
ab2d98e38e
Update.
...
2003-02-21 Ulrich Drepper <drepper@redhat.com>
* Makefile (tests): Remove tst-basic7. Add tst-kill1, tst-kill2,
tst-kill3, tst-kill4.
2003-02-21 20:29:49 +00:00
Roland McGrath
59fed0e26d
* Makerules: Filter $(install-lib-ldscripts) out of list of targets
...
for libfoo.so that need $(make-link) rules.
2003-02-21 10:05:25 +00:00
Ulrich Drepper
8c2e9a29b1
Update.
...
* pthreadP.h: Define INVALID_TD_P and INVALID_NOT_TERMINATED_TD_P.
* pthread_cancel.c: Use INVALID_TD_P.
* pthread_detach.c: Likewise.
* pthread_getschedparam.c: Likewise.
* pthread_setschedparam.c: Likewise.
* sysdeps/pthread/pthread_getcpuclockid.c: Likewise.
* sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
* pthread_join.c: Use INVALID_NOT_TERMINATED_TD_P.
* pthread_timedjoin.c: Likewise.
* tst-basic7.c: Include <signal.h>.
2003-02-21 10:00:33 +00:00
Ulrich Drepper
8b1a8bb409
Include <signal.h>.
2003-02-21 09:51:07 +00:00
Roland McGrath
970d0b1d86
2003-02-21 Roland McGrath <roland@redhat.com>
...
* Makefile (install-lib-ldscripts): New variable.
2003-02-21 09:30:58 +00:00
Ulrich Drepper
49dc759f94
Update.
...
2003-02-21 Ulrich Drepper <drepper@redhat.com>
* pthread_join.c (pthread_join): Limited checking for invalid
descriptors.
* pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2003-02-21 08:35:19 +00:00
Ulrich Drepper
3182090730
(pthread_join): Limited checking for invalid descriptors.
2003-02-21 08:34:16 +00:00
Ulrich Drepper
c5acd3d77e
Update.
...
* pthread_create.c (deallocate_tsd): Reset found_nonzero at the
beginning of the loop. Clear the entire first block of TSD.
2003-02-20 10:18:12 +00:00
Ulrich Drepper
12fd3c5f66
Update.
...
* pthreadP.h: Define dummy version of DEBUGGING_P.
2003-02-20 10:10:59 +00:00
Ulrich Drepper
df5803bf46
Update.
...
2003-02-20 Ulrich Drepper <drepper@redhat.com>
* pthread_create.c (deallocate_tsd): Clear the entire first block
of TSD.
* Makefile (tests): Add tst-key4.
* tst-key4.c: New file.
2003-02-20 10:10:29 +00:00
Ulrich Drepper
2f7dc59492
Update.
...
2003-02-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize
invalid file descriptors and missing access permissions.
2003-02-18 21:04:15 +00:00
Ulrich Drepper
ba25bb0f1d
Update.
...
* pthread_create.c (deallocate_tsd): Mark as internal_function.
Add some more __builtin_expect.
2003-02-18 11:12:34 +00:00
Ulrich Drepper
729924a042
Update.
...
2003-02-18 Ulrich Drepper <drepper@redhat.com>
* pthreadP.h: Define dummy versio of DEBUGGING_P.
2003-02-18 10:59:20 +00:00
Ulrich Drepper
b0db7fbeef
Update.
...
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Remnove
_POSIX_THREAD_PRIORITY_SCHEDULING.
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Remove
_XOPEN_REALTIME_THREADS.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
* sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): The
kernel returns EINVAL for PID <= 0, work around it.
2003-02-18 06:33:08 +00:00
Ulrich Drepper
46d7e2ba22
Update.
...
2003-02-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and
TTY_NAME_MAX and not the _POSIX_* minimal value macros.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
and LOGIN_NAME_MAX.
2003-02-18 03:46:54 +00:00
Ulrich Drepper
ecfda9bd44
Update.
...
* Makefile (tests): Add tst-signal5.
* tst-signal5.c: New file.
2003-02-17 23:49:52 +00:00
Ulrich Drepper
7d78ab990f
Update.
...
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX
and LOGIN_NAME_MAX.
2003-02-17 22:57:19 +00:00
Ulrich Drepper
81b5057288
Update.
...
2003-02-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/pread.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here.
* sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here.
* sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/tcsetattr.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete.
* sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete.
2003-02-17 19:15:42 +00:00
Ulrich Drepper
371a297279
Update.
...
* tst-cancel1.c (tf): Block all signals.
2003-02-17 10:47:41 +00:00
Ulrich Drepper
5430d926c5
Update.
...
2003-02-17 Ulrich Drepper <drepper@redhat.com>
* Makefile (tests): Add tst-basic6.
* tst-basic6.c: New file.
* tst-basic1.c: Add test for process ID.
* Makefile (tests): Add tst-cancel10.
* tst-cancel10.c: New file.
* Makefile (tests): Add tst-signal4.
* tst-signal4.c: New file.
* sysdeps/pthread/pthread_sigmask.c (pthread_sigmask): Use
__sigismember instead of sigismember. Add __builtin_expect.
2003-02-17 10:22:52 +00:00
Ulrich Drepper
179ff175df
Update.
...
* tst-attr1.c (do_test): Add tests for pthread_setcanceltype,
pthread_setcancelstate, and pthread_rwlock_setpshared.
2003-02-17 06:44:07 +00:00
Ulrich Drepper
e4335f9a23
Update.
...
* tst-cancel7.c (do_test): Make sure the pid file exists before
canceling the thread.
* libc-cancellation.c (__libc_enable_asynccancel): Rewrite to avoid
2003-02-16 22:11:14 +00:00
Ulrich Drepper
0a37669aa5
Update.
...
* tst-rwlock6.c: More pthread_rwlock_timedwrlock and
pthread_rwlock_timedrdlock tests.
* tst-rwlock7.c: More pthread_rwlock_timedwrlock tests.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
Check for invalid tv_nsec field.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
Likewise.
* pthread_mutex_trylock.c (__pthread_mutex_trylock): Protect
recursive mutex of overflow.
* tst-attr1.c (do_test): Add test for pthread_mutexattr_setpshared.
2003-02-16 10:57:38 +00:00
Ulrich Drepper
1564916ab9
Update.
...
2003-02-16 Ulrich Drepper <drepper@redhat.com>
* libc-cancellation.c (__libc_enable_asynccancel): Rwrite to avoid
going into an endless loop.
* Makefile (tests): Add tst-cancel9.
* tst-cancel9.c: New file.
* pthread_cancel.c (pthread_cancel): Use the result of __pthread_kill.
2003-02-16 09:18:53 +00:00
Ulrich Drepper
e9cb48ab58
(pthread_cancel): Use the result of __pthread_kill.
2003-02-16 08:52:22 +00:00
Ulrich Drepper
3a8e69f22b
To-Do list for testing.
2003-02-15 22:50:01 +00:00
Ulrich Drepper
1c82b97f96
Update.
...
* tst-mutex5.c (do_test): Add more timedlock tests.
2003-02-15 22:32:50 +00:00
Ulrich Drepper
b2f0546574
Update.
...
* tst-mutex2.c: Tests of trylock and unlock with ERROR mutexes.
2003-02-15 20:54:25 +00:00
Ulrich Drepper
c3bb9ee1bc
Update.
...
* tst-mutex3.c (do_test): Add tests for trylock with RECURSIVE mutexes.
2003-02-15 10:32:02 +00:00
Ulrich Drepper
e798b60fe4
Update.
...
* sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Don't
use INLINE_SYSCALL. Error number is returned, not -1.
2003-02-15 10:11:42 +00:00
Ulrich Drepper
90491dc4bf
Update.
...
* pthreadP.h: Mark declarations of __find_in_stack_list, __free_tcb,
and __deallocate_stack with internal_function.
* pthread_create.c: Adjust definitions appropriately.
* allocatestack.c: Likewise.
* pthread_join.c: Add one more __builtin_expect.
* pthread_timedjoin.c: Likewise.
* pthread_getspecific.c (__pthread_getspecific): Clear data->data
not data of sequence number does not match.
Add one __builtin_expect.
2003-02-15 09:49:02 +00:00
Ulrich Drepper
c6247c9d7d
Update.
...
* Makefile (tests): Add tst-clock1.
* tst-clock1.c: New file.
2003-02-15 08:34:58 +00:00
Ulrich Drepper
b270b54840
Update.
...
2003-02-15 Ulrich Drepper <drepper@redhat.com>
* pthread_setconcurrency.c (pthread_setconcurrency): Fail for
negative arguments.
* Makefile (tests): Add tst-basic5.
* tst-basic5.c: New file.
after thread is done. If then zero, call exit(0).
2003-02-15 08:21:36 +00:00
Ulrich Drepper
757de559da
Update.
...
* math/libm-test.inc (nextafter_test): New test, but disabled due
to gcc bug.
2003-02-15 07:55:59 +00:00
Ulrich Drepper
472022708e
Update.
...
2003-02-14 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread
counter and only call __exit_thread if this is not the last thread.
2003-02-14 23:31:11 +00:00
Ulrich Drepper
e320ef46a7
Update.
...
* descr.h: Define CANCELING_BIT and CANCELING_BITMASK. Introduce
after CANCELTYPE_BIT, move the other bits up. Update CANCEL_RESTMASK.
* init.c (sigcancel_handler): Also set CANCELING_BITMASK bit in newval.
* pthread_cancel.c (pthread_cancel): Likewise. Also set CANCELING_BIT
if asynchronous canceling is enabled.
* pthread_join.c (pthread_join): When recognizing circular joins,
take into account the other thread might be already canceled.
* Makefile (tests): Add tst-join5.
* tst-join5.c: New file.
2003-02-14 18:33:54 +00:00
Ulrich Drepper
700bf7af9f
Update.
...
2003-02-14 Ulrich Drepper <drepper@redhat.com>
* Makefile (tests): Add tst-join4.
* tst-join4.c: New file.
2003-02-13 Ulrich Drepper <drepper@redhat.com>
* tst-cond4.c (main): Add test of pthread_attr_getpshared.
2003-02-14 08:49:07 +00:00
Ulrich Drepper
dac0f77234
Update.
...
2003-02-13 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of
subtracting map->l_tls_offset.
2003-02-14 06:11:21 +00:00
Ulrich Drepper
a7720b5e18
Update.
...
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Fix
handling of cancellation and failung pthread_mutex_unlock call.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
* Makefile (tests): Add tst-cond8 and tst-cond9.
* tst-cond8.c: New file.
* tst-cond9.c: New file.
2003-02-14 03:26:28 +00:00
Ulrich Drepper
a1ea4c0638
Update.
...
* tst-cond7.c (do_test): Unlock the mutex before canceling the thread.
* sysdeps/pthread/pthread.h: Add missing initializers. Protect
non-standard initializers with __USE_GNU.
2003-02-14 01:12:02 +00:00
Ulrich Drepper
e8cda341a4
Update.
...
2003-02-13 Ulrich Drepper <drepper@redhat.com>
* Makefile (tests): Add tst-cleanup3.
* tst-cleanup3.c: New file.
2003-02-13 19:50:46 +00:00
Ulrich Drepper
89e78a954d
Update.
...
* Makefile (tests): Add tst-attr1 and tst-attr2.
* tst-attr1.c: New file.
* tst-attr2.c: New file.
2003-02-13 07:53:26 +00:00
Ulrich Drepper
dfdd294a2a
Update.
...
* Makefile: Add rules to build and run tst-atfork2 test.
* tst-atfork2.c: New file.
* tst-atfork2mod.c: New file.
* sysdeps/unix/sysv/linux/unregister-atfork.c
(__unregister_atfork): Free the memory allocated for the handlers
after removing them from the lists.
* sysdeps/unix/sysv/linux/register-atfork.c: Define memeory
cleanup function.
* tst-atfork1.c (do_test): Wait for the child we forked.
Report error in child.
* sysdeps/unix/sysv/linux/fork.c (__libc_fork): Fix comment.
2003-02-13 07:14:38 +00:00
Ulrich Drepper
2067577c71
Update.
...
* sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and
_CS_GNU_LIBPTHREAD_VERSION.
* posix/conststr.c: Handle these new values.
* posix/getconf.c: Likewise.
* io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember
2003-02-12 22:33:22 +00:00
Ulrich Drepper
e5ffa64a70
Update.
...
2003-02-10 Ulrich Drepper <drepper@redhat.com>
* elf/Makefile (check-textrel-CFLAGS): Pass _XOPEN_SOURCE and
_BSD_SOURCE to compiler.
* elf/check-textrel.c (SWAP): Add parenthesis to avoid warnings.
Patches by Alan Modra.
2003-02-11 06:31:57 +00:00
Ulrich Drepper
d9dd121ebe
Update.
...
* Makefile (tests): Add tst-cancel8.
* tst-cancel8.c: New file.
2003-02-11 00:48:56 +00:00
Ulrich Drepper
defd18709c
Update.
...
* Makefile (tests): Add tst-once3 and tst-once4.
* tst-once4.c: New file.
2003-02-10 23:43:49 +00:00
Ulrich Drepper
2a8a8a8461
Update.
...
2003-02-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/pthread_once.S (clear_once_control): Fix
clearing of control variable.
* Makefile (tests): Add tst-once3.
* tst-once3.c: New file.
2003-02-10 23:11:15 +00:00
Ulrich Drepper
a54e8d33d1
Update.
...
2003-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/sh/Makefile: New file.
* sysdeps/sh/bits/atomic.h: New file.
* sysdeps/sh/pthread_spin_init.c: New file.
* sysdeps/sh/pthread_spin_lock.c: New file.
* sysdeps/sh/pthread_spin_trylock.S: New file.
* sysdeps/sh/pthread_spin_unlock.S: New file.
* sysdeps/sh/pthreaddef.h: New file.
* sysdeps/sh/tcb-offsets.sym: New file.
* sysdeps/sh/td_ta_map_lwp2thr.c: New file.
* sysdeps/sh/tls.h: New file.
* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: New file.
* sysdeps/unix/sysv/linux/sh/bits/semaphore.h: New file.
* sysdeps/unix/sysv/linux/sh/createthread.c: New file.
* sysdeps/unix/sysv/linux/sh/fork.c: New file.
* sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: New file.
* sysdeps/unix/sysv/linux/sh/libc-lowlevelmutex.S: New file.
* sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: New file.
* sysdeps/unix/sysv/linux/sh/lowlevelcond.h: New file.
* sysdeps/unix/sysv/linux/sh/lowlevellock.S: New file.
* sysdeps/unix/sysv/linux/sh/lowlevellock.h: New file.
* sysdeps/unix/sysv/linux/sh/lowlevelmutex.S: New file.
* sysdeps/unix/sysv/linux/sh/lowlevelrwlock.h: New file.
* sysdeps/unix/sysv/linux/sh/pt-initfini.c: New file.
* sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_once.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: New file.
* sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: New file.
* sysdeps/unix/sysv/linux/sh/sem_post.S: New file.
* sysdeps/unix/sysv/linux/sh/sem_timedwait.S: New file.
* sysdeps/unix/sysv/linux/sh/sem_trywait.S: New file.
* sysdeps/unix/sysv/linux/sh/sem_wait.S: New file.
* sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: New file.
2003-02-10 09:24:12 +00:00
Ulrich Drepper
f954eb1691
Makefile for SH.
2003-02-10 09:08:52 +00:00
Ulrich Drepper
696e556ea9
Update.
...
2003-02-08 Ulrich Drepper <drepper@redhat.com>
* tst-cond2.c: Rearrange code to not rely on behavior undefined
according to POSIX.
* tst-basic2.c (do_test): Lock mutex before creating the thread.
2003-02-08 19:44:33 +00:00
Ulrich Drepper
c6180643ff
Update.
...
* sysdeps/x86_64/tls.h: Remove unnecessary macros, left over from x86.
(TLS_GET_FS): New #define.
(TLS_SET_FS): New #define.
Correct value of __NR_set_thread_area.
2003-02-07 09:58:39 +00:00
Ulrich Drepper
fef710d61d
Update.
...
2003-02-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/td_ta_map_lwp2thr.c: New file.
2003-02-07 09:11:24 +00:00
Ulrich Drepper
65c6899079
Update.
...
2003-02-07 Jakub Jelinek <jakub@redhat.com>
* tst-popen2.c: New test.
* Makefile (tests): Add tst-popen2.
* sysdeps/unix/sysv/linux/alpha/vfork.S (__vfork): Branch to __fork
whenever libpthread.so is loaded.
* sysdeps/unix/sysv/linux/i386/vfork.S (__vfork): Likewise.
* sysdeps/unix/sysv/linux/ia64/vfork.S (__vfork): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/vfork.S (__vfork): Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S (__vfork): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S (__vfork): Likewise.
* sysdeps/unix/sysv/linux/x86_64/vfork.S (__vfork): Likewise.
2003-02-07 06:46:21 +00:00
Ulrich Drepper
ce96c93de5
Update.
...
2002-11-24 Robert Love <rml@tech9.net>
* posix/sched.h: Second parameter of sched_setaffinity and
sched_getaffinity is `unsigned int', not `unsigned long'.
* sysdeps/generic/sched_setaffinity.c: Likewise.
* sysdeps/generic/sched_getaffinity.c: Likewise.
Reported by John Levon <levon@movementarian.org>.
2003-02-06 19:15:14 +00:00
Ulrich Drepper
11090a992d
Update.
...
2003-02-06 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Remove wrong
but inactive generalization.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
Minor optimization, remove one instruction.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
2003-02-06 08:38:56 +00:00
Ulrich Drepper
5cd09cd648
Update.
...
* sysdeps/unix/sysv/linux/posix_fadvise.c: New file.
* sysdeps/unix/sysv/linux/syscalls.list: Add posix_fadvise64 syscall.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2003-02-05 23:30:38 +00:00
Ulrich Drepper
a88c926368
Update.
...
2003-02-05 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/bits/libc-lock.h (__libc_once): Set control
variable for non-libpthread case to the same value the
pthread_once function would use.
2003-02-05 09:54:24 +00:00
Ulrich Drepper
ec609a8e77
Update.
...
* atomic.h: Add a couple more default implementations.
(atomic_compare_and_exchange_acq): Use
2003-02-05 07:22:09 +00:00
Ulrich Drepper
d45e874013
Update.
...
* atomic.h (atomic_compare_and_exchange_acq): Use
__arch_compare_and_exchange_32_acq in return value definition. It
always exists.
(atomic_bit_set): Renamed from atomic_set_bit.
2003-02-05 07:10:33 +00:00
Ulrich Drepper
0289bef9a6
Update.
...
* atomic.h (atomic_bit_set): Renamed from atomic_set_bit.
Add missing atomic_ prefixes.
2003-02-05 07:00:46 +00:00
Ulrich Drepper
e3ec8904db
Update.
...
* atomic.h: Add missing atomic_ prefixes.
2003-02-05 06:56:56 +00:00
Ulrich Drepper
6f1cff95e7
Update.
...
2003-02-04 Ulrich Drepper <drepper@redhat.com>
* iconvdata/Makefile: Add rules to build and run bug-iconv3.
* iconvdata/bug-iconv3.c: New file.
2003-02-05 00:03:02 +00:00
Ulrich Drepper
e1798f551d
(allocate_stack): Use __getpagesize instead of __sysconf to determine pagesize.
2003-02-04 00:28:45 +00:00
Ulrich Drepper
a37818b3ec
Fix typo.
...
(__lll_lock_wait): Add branch prediction.
2003-02-03 21:59:40 +00:00
Ulrich Drepper
3e4fc359f4
Update.
...
2003-01-31 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c:
Include kernel-features.h
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2003-02-03 21:57:42 +00:00
Ulrich Drepper
4f088329f3
Update.
...
2003-02-03 Ulrich Drepper <drepper@redhat.com>
* allocatestack.c (allocate_stack): Implement coloring of the
allocated stack memory. Rename pagesize to pagesize_m1. It's the
size minus one. Adjust users.
2003-02-03 20:53:19 +00:00
Ulrich Drepper
4301f7e2f0
Update.
...
* allocatestack.c: Improve comment throughout the file.
2003-02-03 06:11:58 +00:00
Ulrich Drepper
2f42e8be4c
Update.
...
2003-02-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
(__lll_lock_wait): Add branch predicition.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S
(__lll_lock_wait): Likewise.
(lll_unlock_wake_cb): Removed.
2003-02-03 03:51:24 +00:00
Ulrich Drepper
4a7d6545ce
Update.
...
2003-01-31 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Remove
_POSIX_THREAD_PRIORITY_SCHEDULING.
2003-02-01 03:26:11 +00:00
Ulrich Drepper
886d5973b7
Update.
...
2002-10-07 Wolfram Gloger <wg@malloc.de>
* malloc/malloc.c (sYSMALLOc): Only check for breakage due
to foreign sbrk()'s if arena is contiguous. Bug report from
Bruno Haible <bruno@clisp.org>.
2003-01-30 Jakub Jelinek <jakub@redhat.com>
* sysdeps/s390/libc-tls.c: Include stdlib.h.
2003-01-30 Jakub Jelinek <jakub@redhat.com>
* stdio-common/vfprintf.c (vfprintf): Only subtract lowest 3 bits of
ps.__count.
2003-01-30 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Fix storing and
restoring of %r6.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise. Use
64-bit load.
Patch by Martin Schwidefsky <schwidefsky@de.ibm.com>.
2003-01-30 Jakub Jelinek <jakub@redhat.com>
* elf/dl-reloc.c (CHECK_STATIC_TLS): Move _dl_signal_error...
(allocate_static_tls): ...here. Add __attribute_noinline__.
Don't return on failure.
(_dl_reloc_bad_type): Add __attribute_noinline__.
* elf/do-rel.h (elf_dynamic_do_rel): Add
__attribute__((always_inline)).
* elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative,
elf_machine_lazy_rel): Add prototypes with
__attribute__((always_inline)).
2003-01-29 David Mosberger <davidm@hpl.hp.com>
* elf/dl-support.c (_dl_aux_init): Handle AT_SYSINFO.
2003-01-30 18:41:47 +00:00
Ulrich Drepper
a7d9b3e092
Remove umask item.
2003-01-30 01:39:08 +00:00
Ulrich Drepper
e474ca7824
Update.
...
2003-01-29 Ulrich Drepper <drepper@redhat.com>
* Makefile (tests): Add tst-umask1.
(tst-umask1-ARGS): Define.
* tst-umask1.c: New file.
2003-01-30 01:38:09 +00:00
Ulrich Drepper
e2f52c1f78
Test for umask handling.
2003-01-30 01:36:17 +00:00
Ulrich Drepper
6cf26f4168
Update.
...
* Makefile (libpthread-routines): Remove lowlevelrwlock. Add
pthread_rwlock_rdlock, pthread_rwlock_timedrdlock,
pthread_rwlock_wrlock, pthread_rwlock_timedwrlock, and
pthread_rwlock_unlock.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Removed
* sysdeps/unix/sysv/linux/i386/i586/lowlevelrwlock.S: Removed
* sysdeps/unix/sysv/linux/i386/i686/lowlevelrwlock.S: Removed
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: New file.
2003-01-29 00:39:03 +00:00
Ulrich Drepper
4a99d1604d
Update.
...
* sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Removed
* sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S: Removed
* sysdeps/unix/sysv/linux/i386/i586/lowlevelsem.S: Removed
* sysdeps/unix/sysv/linux/i386/i586/lowlevelcond.S: Removed
* sysdeps/unix/sysv/linux/i386/i686/lowlevelsem.S: Removed
* sysdeps/unix/sysv/linux/i386/i686/lowlevelcond.S: Removed
* sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/sem_post.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/sem_post.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/sem_post.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: New file.
* sysdeps/unix/sysv/linux/i386/lowlevelcond.h: New file.
2003-01-29 00:01:01 +00:00
Ulrich Drepper
1d087a7e39
Update.
...
* Makefile (libpthread-routines): Remove lowlevelcond and
lowlevelsem. Add sem_wait, sem_trywait, sem_timedwait, sem_post,
pthread_cond_wait, pthread_cond_timedwait, pthread_cond_signal,
and pthread_cond_broadcast.
* sysdeps/unix/sysv/linux/i486/lowlevelsem.S: Removed
* sysdeps/unix/sysv/linux/i486/lowlevelcond.S: Removed
* sysdeps/unix/sysv/linux/i586/lowlevelsem.S: Removed
* sysdeps/unix/sysv/linux/i586/lowlevelcond.S: Removed
* sysdeps/unix/sysv/linux/i686/lowlevelsem.S: Removed
* sysdeps/unix/sysv/linux/i686/lowlevelcond.S: Removed
* sysdeps/unix/sysv/linux/i486/sem_wait.S: New file.
* sysdeps/unix/sysv/linux/i486/sem_trywait.S: New file.
* sysdeps/unix/sysv/linux/i486/sem_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i486/sem_post.S: New file.
* sysdeps/unix/sysv/linux/i486/pthread_cond_wait.S: New file.
* sysdeps/unix/sysv/linux/i486/pthread_cond_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i486/pthread_cond_signal.S: New file.
* sysdeps/unix/sysv/linux/i486/pthread_cond_broadcast.S: New file.
* sysdeps/unix/sysv/linux/i586/sem_wait.S: New file.
* sysdeps/unix/sysv/linux/i586/sem_trywait.S: New file.
* sysdeps/unix/sysv/linux/i586/sem_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i586/sem_post.S: New file.
* sysdeps/unix/sysv/linux/i586/pthread_cond_wait.S: New file.
* sysdeps/unix/sysv/linux/i586/pthread_cond_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i586/pthread_cond_signal.S: New file.
* sysdeps/unix/sysv/linux/i586/pthread_cond_broadcast.S: New file.
* sysdeps/unix/sysv/linux/i686/sem_wait.S: New file.
* sysdeps/unix/sysv/linux/i686/sem_trywait.S: New file.
* sysdeps/unix/sysv/linux/i686/sem_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i686/sem_post.S: New file.
* sysdeps/unix/sysv/linux/i686/pthread_cond_wait.S: New file.
* sysdeps/unix/sysv/linux/i686/pthread_cond_timedwait.S: New file.
* sysdeps/unix/sysv/linux/i686/pthread_cond_signal.S: New file.
* sysdeps/unix/sysv/linux/i686/pthread_cond_broadcast.S: New file.
2003-01-28 23:52:31 +00:00
Ulrich Drepper
e6ebd2e4db
Update.
...
2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
* elf/elf.h: Add new s390 relocs.
* elf/tls-macros.h: Add s390 versions.
* sysdeps/s390/Versions [GLIBC_2.3] (ld): Export __tls_get_offset.
* sysdeps/s390/dl-tls.h: New file.
* sysdeps/s390/libc-tls.c: New file.
* sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class): Add TLS
relocs for class PLT.
(elf_machine_rela): Handle TLS relocs.
* sysdeps/s390/s390-64/dl-machine.h: Likewise.
* sysdeps/s390/s390-32/elf/configure.in: Add TLS check.
* sysdeps/s390/s390-64/elf/configure.in: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Add support for
CLONE_CHILD_*TID flags.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Use branch with 32
bit offset.
* sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error):
Support USE___THREAD. Define RTLD_PRIVATE_ERRNO variant.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error):
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
(SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER.
(SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
variants.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h:
(SYSCALL_ERROR_LABEL): Move define next to SYSCALL_ERROR_HANDLER. Use
direct branch to syscall_error for !PIC and PIC && !_LIBC_REENTRANT.
(SYSCALL_ERROR_HANDLER): Add USE___THREAD and RTLD_PRIVATE_ERRNO
variants.
2003-01-28 10:42:28 +00:00
Ulrich Drepper
0566b130fb
Update.
...
2003-01-21 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define.
2003-01-28 08:30:50 +00:00
Ulrich Drepper
e6fb884634
Update.
...
* stdio-common/bug14.c: Use official name for the locale.
2003-01-28 07:32:19 +00:00
Ulrich Drepper
a15698cb7e
Update.
...
2003-01-27 Steven Munroe <sjmunroe@us.ibm.com>
* stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check.
2003-01-28 07:27:15 +00:00
Ulrich Drepper
1fc469088e
Update.
...
* stdio-common/vfprintf.c [USE_IN_LIBIO]: Use _IO_cleanup_region_start
instead of __libc_cleanup_region_start and _IO_cleanup_region_end
instead of __libc_cleanup_region_end.
* sysdeps/unix/sysv/linux/i386/system.c (CLEANUP_HANDLER): Pass 1
as first parameter to __libc_cleanup_region_start.
2003-01-28 06:46:50 +00:00
Roland McGrath
1c8bee542b
add item about pgrp
2003-01-22 11:30:53 +00:00
Ulrich Drepper
8824b0a1bf
Update.
...
2003-01-17 Ulrich Drepper <drepper@redhat.com>
* Makefile (headers): Add bits/semaphore.h.
2003-01-17 10:07:21 +00:00
Ulrich Drepper
850dcfcafe
Update.
...
2003-01-16 Jakub Jelinek <jakub@redhat.com>
* elf/dl-load.c (_dl_map_object_from_fd): Use
GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has
been already initialized.
2003-01-16 18:24:32 +00:00
Ulrich Drepper
a1f8ec97fd
Update.
...
2003-01-15 Dmitry V. Levin <ldv@altlinux.org>
* sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment.
2003-01-16 18:14:10 +00:00
Ulrich Drepper
a8d87c92cd
Update.
...
2003-01-14 Ulrich Drepper <drepper@redhat.com>
* manual/install.texi: Correct description of header preparation for
Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941].
2003-01-15 07:15:24 +00:00
Ulrich Drepper
574b892ef1
Update.
...
2003-01-14 Guido Guenther <agx@sigxcpu.org>
* sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL,
INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define.
2003-01-14 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
(INTERNAL_SYSCALL): Make use of ERR parameter.
(INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
(INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file.
Patch by Denis Zaitsev <zzz@cd-club.ru>.
that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>.
2003-01-15 01:23:02 +00:00
Ulrich Drepper
47805511c4
Update.
...
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Don't export
lll_unlock_wake_cb.
2003-01-14 04:10:53 +00:00
Ulrich Drepper
fb48047afe
Update.
...
2003-01-13 Ulrich Drepper <drepper@redhat.com>
* Makefile (libpthread-routines): Add version. Add rules to build
version.os and banner.h.
* version.c: New file.
2003-01-14 04:04:05 +00:00
Ulrich Drepper
115bb61ddb
Update.
...
2003-01-14 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before
defining.
2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it
here.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise.
2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions
from here...
(PSEUDO): ... to here.
* sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction
from here...
(PSEUDO): ... to here.
* elf/dl-close.c (_dl_close): Fix typo, must be == not = in
2003-01-14 01:31:26 +00:00
Ulrich Drepper
db0a052cec
Update.
...
2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-32/pt-initfini.c: Avoid
unterminated string literals.
* sysdeps/unix/sysv/linux/s390/s390-64/pt-initfini.c: Likewise.
2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
(PSEUDO): Code reordering. Move CENABLE and CDISABLE literals from
PSEUDO_END to PSEUDO.
(PSEUDO_END): Remove.
(SINGLE_THREAD_P): Save an instruction.
* sysdeps/unix/sysv/linux/s390/s390-32/vfork.S (__vfork): Add missing
parameter to SINGLE_THREAD_P call.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO):
Code reordering.
2003-01-14 01:20:41 +00:00
Ulrich Drepper
0c5d3ed9ed
(CFLAGS-pthread_self.c): New definition.
2003-01-14 00:34:21 +00:00
Ulrich Drepper
6aca81bb9d
Update.
...
2003-01-08 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL,
INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Add err
argument.
(INTERNAL_SYSCALL_DECL): Define.
2003-01-06 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/ia64/sysdep.h (INTERNAL_SYSCALL,
INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Add err
argument.
(INTERNAL_SYSCALL_DECL): Define.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
(INLINE_SYSCALL): Adjust.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* elf/dl-misc.c (_dl_debug_vdprintf): Add INTERNAL_SYSCALL_DECL,
add err argument to INTERNAL_SYSCALL* macros.
* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
* sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Likewise.
* sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
* sysdeps/unix/sysv/linux/m68k/getpagesize.c (__getpagesize):
Likewise.
* sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Use
INLINE_SYSCALL instead of INTERNAL_SYSCALL and setting errno.
2003-01-09 04:19:03 +00:00
Ulrich Drepper
b5facfdac0
Update.
...
2003-01-06 Philip Blundell <philb@gnu.org>
* sysdeps/unix/arm/sysdep.S (syscall_error): Optimise a little.
[__LIBC_REENTRANT]: Unify PIC and non-PIC cases.
* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Remove .type
directive.
(PSEUDO_RET): Use SYSCALL_ERROR in place of __syscall_error.
(SYSCALL_ERROR): New.
(SYSCALL_ERROR_HANDLER) [NOT_IN_libc]: Provide local copy of error
handling code.
(INTERNAL_SYSCALL): Define.
(INLINE_SYSCALL): Use it.
(INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.
* sysdeps/unix/sysv/linux/arm/socket.S (__socket): Use
SYSCALL_ERROR in place of __syscall_error.
2003-01-07 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ia64/bits/byteswap.h [__GNUC__ >= 2] (__bswap_16,
__bswap_32, __bswap_64): Put x into temporary variable
to avoid warnings.
[!__GNUC__] (__bswap_16, __bswap_32, __bswap_64): Change into static
(inline) functions.
* sysdeps/s390/bits/byteswap.h [__GNUC__ >= 2] (__bswap_16,
__bswap_32, __bswap_64): Put x into temporary variable
to avoid warnings.
[!__GNUC__] (__bswap_16, __bswap_32, __bswap_64): Change into static
(inline) functions.
* sysdeps/i386/bits/byteswap.h [!__GNUC__] (__bswap_16, __bswap_32):
Likewise.
2003-01-07 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/alpha/adjtime.c (ntp_adjtime): New weak
alias.
2003-01-08 00:22:00 +00:00
Ulrich Drepper
e9c7764ec9
Update.
...
2003-01-07 Jakub Jelinek <jakub@redhat.com>
* elf/rtld.c (_rtld_global): Remove _dl_dynamic_weak initializer.
* elf/dl-support.c (_dl_dynamic_weak): Initialize to 0.
2003-01-07 18:54:08 +00:00
Ulrich Drepper
bef1e42fb8
Update.
...
2003-01-06 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/alpha/sysdep.h (PSEUDO): Use PSEUDO_PREPARE_ARGS.
* sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add cancellation
handling.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2003-01-07 00:49:44 +00:00
Ulrich Drepper
52f3d21331
Update.
...
2003-01-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Add branch hint.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Add cancellation
support.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Remove
ftruncate64, truncate64, pread64 and pwrite64 entries.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
(INLINE_SYSCALL): Add __builtin_expect.
(LOADARGS_n): Add argument size safety checks.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: New file.
2003-01-06 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Define.
* sysdeps/generic/creat.c: Include sysdep-cancel.h.
(LIBC_CANCEL_HANDLED): Add.
* sysdeps/unix/sysv/linux/alpha/sysdep.h
(inline_syscall_r0_constraint): Rename to...
(inline_syscall_r0_out_constraint): ... this. Add =.
(inline_syscall[0-6]): Use inline_syscall_r0_out_constraint.
2003-01-07 00:42:43 +00:00
Ulrich Drepper
d7e650c008
Bump to 0.15.
2003-01-05 20:17:57 +00:00
Ulrich Drepper
a73ab6df85
Update.
...
* tst-cancel-wrappers.sh: Invoke gawk not awk since we use GNU awk
features. Reported by Marijn Ros <marijn@mad.scientist.com>.
2003-01-05 20:10:01 +00:00
Ulrich Drepper
c97c64de01
Update.
...
Patch by Marijn Ros <marijn@mad.scientist.com>.
2003-01-05 19:35:35 +00:00
Ulrich Drepper
bbd1745596
Update.
...
2003-01-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/sh/clone.S (__clone): Use
SYSCALL_ERROR_HANDLER.
* sysdeps/unix/sysv/linux/sh/pipe.S (__libc_pipe): Likewise.
* sysdeps/unix/sysv/linux/sh/socket.S (__socket): Likewise.
Add support for cancellation handling.
* sysdeps/unix/sysv/linux/sh/syscall.S (__syscall): Use
SYSCALL_ERROR_HANDLER.
* sysdeps/unix/sysv/linux/sh/vfork.S (__vfork): Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Likewise.
Add support for cancellation handling.
(SYSCALL_ERROR_HANDLER): Define PIC variants.
2003-01-05 11:26:28 +00:00
Ulrich Drepper
73e9ae887f
Update.
...
2003-01-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile: New file.
2003-01-05 10:55:15 +00:00
Ulrich Drepper
b74121ae4b
Update.
...
* Makefile (tests): Add tst-cancel7.
(tst-cancel7-ARGS): New variable.
2003-01-05 04:58:18 +00:00
Ulrich Drepper
29bc410c29
Update.
...
* old_pthread_cond_broadcast.c: Optimize initialization a bit to work
around gcc defficiencies.
* old_pthread_cond_signal.c: Likewise.
* old_pthread_cond_timedwait.c: Likewise.
* old_pthread_cond_wait.c: Likewise.
2003-01-04 09:45:01 +00:00
Ulrich Drepper
d27a78be34
Update.
...
2003-01-04 Ulrich Drepper <drepper@redhat.com>
* pthreadP.h (pthread_cond_2_0_t): Remove unneeded lock element.
2003-01-04 08:01:29 +00:00
Ulrich Drepper
7edb2ae36f
Update.
...
* Makefile (tests): Add tst-cond7.
* tst-cond7.c: New file.
2003-01-04 02:52:17 +00:00
Ulrich Drepper
b1151300d6
Update.
...
* sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S
(condvar_cleanup): Get condvar address from the right place.
2003-01-04 02:12:26 +00:00
Ulrich Drepper
1cb990bc19
Update.
...
2003-01-03 Andreas Jaeger <aj@suse.de>, Jakub Jelinek <jakub@redhat.com>
* resolv/res_libc.c: Provide declaration for __res_init_weak and
reorder declarations.
2003-01-03 Art Haas <ahaas@airmail.net>
* localedata/tests-mbwc/dat_iswalnum.c: Convert GCC extension
initiailzer syntax to C99.
* localedata/tests-mbwc/dat_iswalpha.c: Likewise.
* localedata/tests-mbwc/dat_iswcntrl.c: Likewise.
* localedata/tests-mbwc/dat_iswctype.c: Likewise.
* localedata/tests-mbwc/dat_iswdigit.c: Likewise.
* localedata/tests-mbwc/dat_iswgraph.c: Likewise.
* localedata/tests-mbwc/dat_iswlower.c: Likewise.
* localedata/tests-mbwc/dat_iswprint.c: Likewise.
* localedata/tests-mbwc/dat_iswpunct.c: Likewise.
* localedata/tests-mbwc/dat_iswspace.c: Likewise.
* localedata/tests-mbwc/dat_iswupper.c: Likewise.
* localedata/tests-mbwc/dat_iswxdigit.c: Likewise.
* localedata/tests-mbwc/dat_mblen.c: Likewise.
* localedata/tests-mbwc/dat_mbrlen.c: Likewise.
* localedata/tests-mbwc/dat_mbrtowc.c: Likewise.
* localedata/tests-mbwc/dat_mbsrtowcs.c: Likewise.
* localedata/tests-mbwc/dat_mbstowcs.c: Likewise.
* localedata/tests-mbwc/dat_mbtowc.c: Likewise.
* localedata/tests-mbwc/dat_strcoll.c: Likewise.
* localedata/tests-mbwc/dat_strfmon.c: Likewise.
* localedata/tests-mbwc/dat_strxfrm.c: Likewise.
* localedata/tests-mbwc/dat_swscanf.c: Likewise.
* localedata/tests-mbwc/dat_towctrans.c: Likewise.
* localedata/tests-mbwc/dat_towlower.c: Likewise.
* localedata/tests-mbwc/dat_towupper.c: Likewise.
* localedata/tests-mbwc/dat_wcrtomb.c: Likewise.
* localedata/tests-mbwc/dat_wcscat.c: Likewise.
* localedata/tests-mbwc/dat_wcschr.c: Likewise.
* localedata/tests-mbwc/dat_wcscmp.c: Likewise.
* localedata/tests-mbwc/dat_wcscoll.c: Likewise.
* localedata/tests-mbwc/dat_wcscpy.c: Likewise.
* localedata/tests-mbwc/dat_wcscspn.c: Likewise.
* localedata/tests-mbwc/dat_wcslen.c: Likewise.
* localedata/tests-mbwc/dat_wcsncat.c: Likewise.
* localedata/tests-mbwc/dat_wcsncmp.c: Likewise.
* localedata/tests-mbwc/dat_wcsncpy.c: Likewise.
* localedata/tests-mbwc/dat_wcspbrk.c: Likewise.
* localedata/tests-mbwc/dat_wcsrtombs.c: Likewise.
* localedata/tests-mbwc/dat_wcsspn.c: Likewise.
* localedata/tests-mbwc/dat_wcsstr.c: Likewise.
* localedata/tests-mbwc/dat_wcstod.c: Likewise.
* localedata/tests-mbwc/dat_wcstok.c: Likewise.
* localedata/tests-mbwc/dat_wcstombs.c: Likewise.
* localedata/tests-mbwc/dat_wcswidth.c: Likewise.
* localedata/tests-mbwc/dat_wcsxfrm.c: Likewise.
* localedata/tests-mbwc/dat_wctob.c: Likewise.
* localedata/tests-mbwc/dat_wctomb.c: Likewise.
* localedata/tests-mbwc/dat_wctrans.c: Likewise.
* localedata/tests-mbwc/dat_wctype.c: Likewise.
* localedata/tests-mbwc/dat_wcwidth.c: Likewise.
2003-01-03 Richard Henderson <rth@redhat.com>
* sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall_r0_asm): New.
(inline_syscall_r0_constraint): New.
(inline_syscall[0-6]): Use them.
2003-01-03 22:32:41 +00:00
Ulrich Drepper
733f25e6d3
Update.
...
2003-01-03 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/ldsodefs.h (_dl_allocate_tls, _dl_deallocate_tls):
Add rtld_hidden_proto.
* sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Add rtld_hidden_def.
(_dl_allocate_tls): Likewise. Remove INTDEF.
2003-01-03 21:15:43 +00:00
Ulrich Drepper
686b7223d5
Update.
...
2003-01-03 Jakub Jelinek <jakub@redhat.com>
* Makefile ($(objpfx)libpthread.so): Depend on ld.so.
2003-01-03 20:44:14 +00:00
Ulrich Drepper
997256dd68
Update.
...
* pthreadP.h (pthread_cond_2_0_t): New type.
(struct pthread_functions): Use new type for 2.0 condvar callbacks.
Use new type for the 2.0 condvar function prototypes.
* forward.c: Use pthread_cond_2_0_t for 2.0 condvar functions.
* old_pthread_cond_init.c: Use pthread_cond_2_0_t for condvar
parameter.
* old_pthread_cond_destroy.c: Likewise.
* old_pthread_cond_broadcast.c: Likewise. Lock appropriately.
* old_pthread_cond_signal.c: Likewise.
* old_pthread_cond_timedwait.c: Likewise.
* old_pthread_cond_wait.c: Likewise.
2003-01-03 19:13:49 +00:00
Ulrich Drepper
842d281752
Update.
...
* sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S
(__pthread_cond_wait): Don't save cancellation mode and seq value
in same location.
2003-01-03 08:14:47 +00:00
Ulrich Drepper
0e07706e5b
Update.
...
2003-01-03 Ulrich Drepper <drepper@redhat.com>
* herrno.c (__h_errno_location): Don't define as weak.
2003-01-03 08:11:20 +00:00
Ulrich Drepper
bf293afeca
Update.
...
2003-01-02 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/arm/sigaction.c (__sigaction,
sigaction): Protect weak_alias and libc_hidden_weak with
#ifndef LIBC_SIGACTION.
* sysdeps/unix/sysv/linux/ia64/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/x86_64/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction,
sigaction): Likewise. Remove SIGCANCEL handling here.
* sysdeps/unix/sysv/linux/sigaction.c (__sigaction, sigaction):
Likewise.
2003-01-03 01:35:14 +00:00
Ulrich Drepper
05df18c347
Update.
...
2003-01-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/bits/pthreadtypes.h (pthread_cond_t): Add padding.
* condvar.c: Add symbol versioning. The compatibility versions
are the same as the change in the interface does not effect this
implementation.
* Versions [libpthread]: Add definitions for new pthread_cond_*
interfaces for version GLIBC_2.3.2.
2003-01-02 11:01:30 +00:00
Ulrich Drepper
caf7a87232
Not needed anymore.
2003-01-02 10:13:48 +00:00
Ulrich Drepper
fd8979e483
Update.
...
2003-01-01 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Avoid
unnecessary zero offset when addressing MUTEX.
2003-01-02 07:12:51 +00:00
Ulrich Drepper
6ff19c8125
Pretty printing.
2003-01-02 06:29:48 +00:00
Ulrich Drepper
6d6ee629af
Update.
...
2002-12-31 Ulrich Drepper <drepper@redhat.com>
* malloc/thread-m.h [SHARED] (thread_atfork): Assume __dso_handle
is available.
* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Re-add
2002-12-31 21:10:07 +00:00
Ulrich Drepper
a4baf360be
Update.
...
* io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct stat.
* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Adjust for
nsec resolution changes.
(xstat64_conv): Likewise.
(xstat32_conv): Likewise.
* sysdeps/unix/sysv/linux/kernel_stat.h: Add nsec resolution for
struct kernel_stat.
* sysdeps/unix/sysv/linux/bits/stat.h: Add nsec resolution for
structs stat and stat64.
* time/time.h (__timespec_defined): Define for __USE_MISC.
2002-12-31 Ulrich Drepper <drepper@redhat.com>
* include/signal.h: Add libc_hidden_proto for __libc_current_sigrtmin
and __libc_current_sigrtmax.
2002-12-31 Jakub Jelinek <jakub@redhat.com>
* include/errno.h (__errno_location): Add prototype.
Use libc_hidden_proto unconditionally.
* include/netdb.h (__h_errno_location): Use libc_hidden_proto
unconditionally.
* include/resolv.h (__res_state): Likewise.
* hurd/errno-loc.c (__errno_location): Add libc_hidden_def.
* include/sys/socket.h (accept): Add libc_hidden_proto.
* include/errno.h (__errno_location): Likewise.
* include/netdb.h (__h_errno_location): Likewise.
* include/resolv.h (__res_state): Likewise.
* include/unistd.h (__lseek): Likewise.
* sysdeps/generic/errno-loc.c (__errno_location): Add libc_hidden_def.
* sysdeps/generic/herrno-loc.c (__h_errno_location): Likewise.
* sysdeps/generic/res-state.c (__res_state): Likewise.
* sysdeps/generic/accept.c (accept): Likewise.
* sysdeps/generic/lseek.c (__lseek): Likewise.
* sysdeps/generic/allocrtsig.c (__libc_current_sigrtmin,
__libc_current_sigrtmax): Likewise.
* sysdeps/mach/hurd/accept.c (accept): Likewise.
* sysdeps/mach/hurd/lseek.c (__lseek): Likewise.
* sysdeps/unix/sysv/aix/accept.c (accept): Likewise.
* sysdeps/unix/sysv/aix/lseek.c (__lseek): Likewise.
* sysdeps/unix/sysv/linux/accept.S (accept): Likewise.
* sysdeps/unix/inet/syscalls.list (__GI_accept): New alias to accept.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (__GI_accept): Likewise.
* sysdeps/unix/sysv/linux/hppa/syscalls.list (__GI_accept): Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (__GI___lseek): New
alias to llseek.
(__GI_accept): New alias to accept.
* sysdeps/unix/sysv/linux/mips/syscalls.list (__GI_accept): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__GI___lseek):
New alias to llseek.
(__GI_accept): New alias to accept.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__GI_accept):
Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (__GI_accept):
Likewise.
* sysdeps/unix/syscalls.list (__GI___lseek): New alias to lseek.
* sysdeps/alpha/setjmp.S : Use libc_hidden_def(name) instead of
strong_alias (name, __GI_name).
* sysdeps/arm/bsd-_setjmp.S : Likewise.
* sysdeps/hppa/bsd-_setjmp.S : Likewise.
* sysdeps/i386/bsd-_setjmp.S : Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S : Likewise.
* sysdeps/mips/bsd-_setjmp.S : Likewise.
* sysdeps/powerpc/powerpc32/bsd-_setjmp.S : Likewise.
* sysdeps/powerpc/powerpc64/setjmp.S : Likewise.
* sysdeps/s390/s390-32/elf/setjmp.S : Likewise.
* sysdeps/s390/s390-32/bsd-_setjmp.S : Likewise.
* sysdeps/s390/s390-64/elf/setjmp.S : Likewise.
* sysdeps/s390/s390-64/bsd-_setjmp.S : Likewise.
* sysdeps/sh/bsd-_setjmp.S : Likewise.
* sysdeps/sparc/sparc32/setjmp.S : Likewise.
* sysdeps/unix/arm/fork.S : Likewise.
* sysdeps/unix/bsd/hp/m68k/vfork.S : Likewise.
* sysdeps/unix/bsd/i386/vfork.S : Likewise.
* sysdeps/unix/bsd/osf/alpha/fork.S : Likewise.
* sysdeps/unix/bsd/sun/m68k/vfork.S : Likewise.
* sysdeps/unix/bsd/ultrix4/mips/vfork.S : Likewise.
* sysdeps/unix/bsd/vax/vfork.S : Likewise.
* sysdeps/unix/i386/fork.S : Likewise.
* sysdeps/unix/mips/fork.S : Likewise.
* sysdeps/unix/sparc/fork.S : Likewise.
* sysdeps/unix/sparc/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/arm/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/cris/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/i386/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/ia64/fork.S : Likewise.
* sysdeps/unix/sysv/linux/ia64/setjmp.S : Likewise.
* sysdeps/unix/sysv/linux/ia64/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/m68k/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/sh/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/fork.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/x86_64/vfork.S : Likewise.
* sysdeps/unix/fork.S : Likewise.
* sysdeps/vax/bsd-_setjmp.S : Likewise.
* sysdeps/x86_64/bsd-_setjmp.S : Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep.h: Guard against multiple
inclusion.
2002-12-31 20:46:11 +00:00