]> sourceware.org Git - glibc.git/log
glibc.git
22 years agoUpdate.
Ulrich Drepper [Sun, 8 Dec 2002 09:28:13 +0000 (09:28 +0000)]
Update.

* pt-fcntl.c (__fcntl): Initialize oldtype to avoid warning.

* pthread_join.c: Likewise.
* pthread_timedjoin.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Sun, 8 Dec 2002 08:25:05 +0000 (08:25 +0000)]
Update.

* scripts/output-format.sed: Fix bug in one of the s expressions
which used / for one too many things.

22 years agoUpdate.
Ulrich Drepper [Sun, 8 Dec 2002 08:05:25 +0000 (08:05 +0000)]
Update.

2002-12-08  Ulrich Drepper  <drepper@redhat.com>

* include/unistd.h: Declare __libc_close.

22 years agoUpdate.
Ulrich Drepper [Sun, 8 Dec 2002 03:13:06 +0000 (03:13 +0000)]
Update.

2002-12-07  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/bits/stdio-lock.h (_IO_lock_trylock): New define.

22 years agoUpdate.
Ulrich Drepper [Sun, 8 Dec 2002 00:47:12 +0000 (00:47 +0000)]
Update.

2002-12-07  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/raise.c: Use libc_hidden_def for raise.

22 years agoUse libc_hidden_def for raise.
Ulrich Drepper [Sun, 8 Dec 2002 00:46:49 +0000 (00:46 +0000)]
Use libc_hidden_def for raise.

22 years ago* sysdeps/generic/libc-tls.c (__libc_setup_tls): Reintroduce changes
Roland McGrath [Sat, 7 Dec 2002 21:55:56 +0000 (21:55 +0000)]
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Reintroduce changes

from 2002-12-06, but remove unnecessary memset call without removing
necessary copy of initialization image.

* Makerules ($(common-objpfx)format.lds): New target.
(common-generated): Add it.
($(inst_libdir)/libc.so): Depend on that, and cat it into the result.
* scripts/output-format.sed: New file.
* Makefile (distribute): Add it.

2002-12-07  Kenneth W. Chen  <kenneth.w.chen@intel.com>

22 years ago2002-12-07 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 7 Dec 2002 21:55:12 +0000 (21:55 +0000)]
2002-12-07  Roland McGrath  <roland@redhat.com>

* Makerules ($(common-objpfx)format.lds): New target.
(common-generated): Add it.
($(inst_libdir)/libc.so): Depend on that, and cat it into the result.
* scripts/output-format.sed: New file.
* Makefile (distribute): Add it.

22 years agoUpdate.
Ulrich Drepper [Sat, 7 Dec 2002 18:46:53 +0000 (18:46 +0000)]
Update.

2002-12-07  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/libc-tls.c: Include <sys/param.h>.
Reported by Art Haas <ahaas@airmail.net>.

2002-12-07  Kenneth W. Chen  <kenneth.w.chen@intel.com>.

22 years agoUpdate.
Ulrich Drepper [Sat, 7 Dec 2002 09:03:23 +0000 (09:03 +0000)]
Update.

2002-12-07  Kenneth W. Chen <kenneth.w.chen@intel.com>.

* sysdeps/ia64/strncpy.S (strncpy): Clear ar.ec.  Fix .recovery4.

2002-12-07  Jakub Jelinek  <jakub@redhat.com>

* string/test-strncpy.c (do_random_tests): Improve test coverage.

22 years agoUpdate.
Ulrich Drepper [Sat, 7 Dec 2002 05:39:20 +0000 (05:39 +0000)]
Update.

* test-skeleton.c (timeout_handler): Allow expected signal to be
SIGALRM.

22 years agoUpdate.
Ulrich Drepper [Sat, 7 Dec 2002 04:21:51 +0000 (04:21 +0000)]
Update.

2002-12-06  Ulrich Drepper  <drepper@redhat.com>

* wctype/wcfuncs.c: Add libc_hidden_def for iswalnum.

* sysdeps/posix/raise.c: Add libc_hidden_def for raise.

22 years agoUpdate.
Ulrich Drepper [Sat, 7 Dec 2002 02:12:17 +0000 (02:12 +0000)]
Update.

2002-12-07  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [RTLD_PRIVATE_ERRNO]
(SYSCALL_ERROR_HANDLER): Fix a pasto.
Reported by Jeff Bailey <jbailey@nisa.net>.

22 years agoUpdate.
Ulrich Drepper [Sat, 7 Dec 2002 01:24:46 +0000 (01:24 +0000)]
Update.

* sysdeps/generic/libc-tls.c: Undo last patch.

22 years agoUpdate.
Ulrich Drepper [Fri, 6 Dec 2002 23:38:01 +0000 (23:38 +0000)]
Update.

* include/wctype.h: Define iswalnum with libc_hidden_proto.

* include/signal.h: Define raise with libc_hidden_proto.

* sysdeps/unix/sysv/linux/fexecve.c (fexecve): Use __snprintf and
__execve instead of snprintf and execve.

22 years agoUpdate.
Ulrich Drepper [Fri, 6 Dec 2002 22:29:26 +0000 (22:29 +0000)]
Update.

2002-12-06  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/x86_64/fpu/libm-test-ulps: Relax errors for float and double
again a bit.

22 years agoRelax errors for flaot and double again a bit.
Ulrich Drepper [Fri, 6 Dec 2002 22:26:57 +0000 (22:26 +0000)]
Relax errors for flaot and double again a bit.

22 years ago* posix/Makefile (annexc.out): Add -I../dir for all sorted-dirs.
Roland McGrath [Fri, 6 Dec 2002 22:08:25 +0000 (22:08 +0000)]
* posix/Makefile (annexc.out): Add -I../dir for all sorted-dirs.

* posix/annexc.c (fmt, testfmt): Remove -D_LIBC.

22 years ago(fmt, testfmt): Remove -D_LIBC.
Ulrich Drepper [Fri, 6 Dec 2002 21:28:23 +0000 (21:28 +0000)]
(fmt, testfmt): Remove -D_LIBC.

22 years agoUpdate.
Ulrich Drepper [Fri, 6 Dec 2002 21:15:46 +0000 (21:15 +0000)]
Update.

* init.c (__pthread_initialize_minimal): Correct INIT_LIST_HEAD use.

22 years agoUpdate.
Ulrich Drepper [Fri, 6 Dec 2002 11:49:42 +0000 (11:49 +0000)]
Update.

2002-12-06  Ulrich Drepper  <drepper@redhat.com>

* misc/syslog.c (log_cleanup): New function.
(openlog): Use log_cleanup instead of __libc_mutex_unlock.
(closelog): Likewise.

* elf/dl-close.c: Use __rtld_lock_* macros instead of __libc_lock_*.
* elf/dl-iteratephdr.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-misc.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/dl-support.c: Likewise.
* elf/rtld.c: Likewise.
* sysdeps/generic/ldsodefs.h: Likewise.
* sysdeps/generic/bits/libc-lock.h: Define __rtld_lock_* macros.
* sysdeps/mach/bits/libc-lock.h: Likewise.
* sysdeps/mach/hurd/bits/libc-lock.h: Likewise.

* dirent/bug-readdir1.c (main): Don't call closedir, just close

22 years ago(log_cleanup): New function. (openlog): Use log_cleanup instead of __libc_mutex_unloc...
Ulrich Drepper [Fri, 6 Dec 2002 11:31:06 +0000 (11:31 +0000)]
(log_cleanup): New function. (openlog): Use log_cleanup instead of __libc_mutex_unlock. (closelog): Likewise.

22 years ago* sysdeps/generic/libc-tls.c (__libc_setup_tls): Cope with zero ALIGN.
Roland McGrath [Fri, 6 Dec 2002 11:15:07 +0000 (11:15 +0000)]
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Cope with zero ALIGN.

* malloc/hooks.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]
(malloc_starter, memalign_starter, free_starter): Don't define these.
* malloc/malloc.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]:
Don't declare them either.
* malloc/arena.c (ptmalloc_init) [_LIBC && USE_TLS]: Don't call
__pthread_initialize, so no need to set hooks to *_starter.
(ptmalloc_init_minimal): New function, broken out of ptmalloc_init.
[_LIBC && SHARED && USE_TLS && !USE___THREAD]
(__libc_malloc_pthread_startup): New function.
* malloc/Versions (libc: GLIBC_PRIVATE): New set, add that function.

* malloc/hooks.c (memalign_starter): New function.
* malloc/malloc.c: Declare it.
* malloc/arena.c (save_memalign_hook): New variable.
(ptmalloc_init): Set __memalign_hook to memalign_starter.

* elf/dl-minimal.c (free): Clear the memory.
(calloc): Just call malloc, knowing all memory it returns is cleared.

* sysdeps/generic/dl-tls.c (allocate_dtv): Use calloc instead of
malloc and memset; calloc can avoid the zeroing when redundant.
(_dl_tls_setup): Likewise.
* elf/dl-load.c (decompose_rpath): Likewise.
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Comment out memset
call, since memory from sbrk at startup is already zero.

* elf/rtld.c (_dl_start, dl_main): TLS_INIT_TP macro now returns an
error string for failure, null for success.  Update callers.
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Likewise.
* elf/dl-load.c (_dl_map_object_from_fd): Likewise.

22 years ago2002-12-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 6 Dec 2002 11:11:08 +0000 (11:11 +0000)]
2002-12-06  Roland McGrath  <roland@redhat.com>

* malloc/hooks.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]
(malloc_starter, memalign_starter, free_starter): Don't define these.
* malloc/malloc.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]:
Don't declare them either.
* malloc/arena.c (ptmalloc_init) [_LIBC && USE_TLS]: Don't call
__pthread_initialize, so no need to set hooks to *_starter.
(ptmalloc_init_minimal): New function, broken out of ptmalloc_init.
[_LIBC && SHARED && USE_TLS && !USE___THREAD]
(__libc_malloc_pthread_startup): New function.
* malloc/Versions (libc: GLIBC_PRIVATE): New set, add that function.

22 years agoAlso ignore names such as autom4te-2.53.cache.
Ulrich Drepper [Fri, 6 Dec 2002 11:07:54 +0000 (11:07 +0000)]
Also ignore names such as autom4te-2.53.cache.

22 years ago* sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Change
Roland McGrath [Thu, 5 Dec 2002 23:47:33 +0000 (23:47 +0000)]
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Change

args to i:iipi.
(readahead): Change args to i:iii.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list (readahead):
Change args to i:iii.
* sysdeps/unix/sysv/linux/mips/syscalls.list (readahead): Change
args to i:iiii.

22 years ago* stdlib/cxa_finalize.c (__cxa_finalize): When given a null argument,
Roland McGrath [Thu, 5 Dec 2002 22:34:59 +0000 (22:34 +0000)]
* stdlib/cxa_finalize.c (__cxa_finalize): When given a null argument,

call all functions rather than none.
Reported by Mark P. Mitchell <mark@codesourcery.com>.

22 years ago* sysdeps/unix/sysv/linux/i386/createthread.c (create_thread): Add
Roland McGrath [Thu, 5 Dec 2002 20:56:43 +0000 (20:56 +0000)]
* sysdeps/unix/sysv/linux/i386/createthread.c (create_thread): Add

missing & here too.

22 years ago2002-12-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 5 Dec 2002 20:56:25 +0000 (20:56 +0000)]
2002-12-05  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/i386/createthread.c (create_thread): Add
missing & here too.

22 years agoUpdate.
Ulrich Drepper [Thu, 5 Dec 2002 20:04:54 +0000 (20:04 +0000)]
Update.

2002-12-05  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
lowlevellock.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: New file.
* sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: New file.
* sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: New file.
* sysdeps/pthread/bits/libc-lock.h: Use lowlevellock implementation
for __libc_lock_* macros.
* Makefile (routines): Add libc-lowlevellock.

2002-10-09  Roland McGrath  <roland@redhat.com>

* sysdeps/pthread/bits/libc-lock.h (__libc_maybe_call): New macro.
Under [__PIC__], call the function via the pointer fetched for
comparison rather than a call by name that uses the PLT.
(__libc_lock_init, __libc_rwlock_init, __libc_lock_fini)
(__libc_rwlock_fini, __libc_lock_lock, __libc_rwlock_rdlock)
(__libc_rwlock_wrlock, __libc_lock_trylock, __libc_rwlock_tryrdlock)
(__libc_rwlock_trywrlock, __libc_lock_unlock, __libc_rwlock_unlock)
(__libc_key_create, __libc_getspecific, __libc_setspecific): Use it.

22 years agoLow level locks for i486 in libc.
Ulrich Drepper [Thu, 5 Dec 2002 19:46:41 +0000 (19:46 +0000)]
Low level locks for i486 in libc.

22 years ago* locale/localeinfo.h [NL_CURRENT_INDIRECT]: Use attribute_tls_model_ie
Roland McGrath [Thu, 5 Dec 2002 11:06:49 +0000 (11:06 +0000)]
* locale/localeinfo.h [NL_CURRENT_INDIRECT]: Use attribute_tls_model_ie

on _nl_current_LC_* variables.

22 years ago2002-12-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 5 Dec 2002 11:03:55 +0000 (11:03 +0000)]
2002-12-04  Roland McGrath  <roland@redhat.com>

* locale/localeinfo.h [NL_CURRENT_INDIRECT]: Use attribute_tls_model_ie
on _nl_current_LC_* variables.

22 years agoUpdate.
Ulrich Drepper [Thu, 5 Dec 2002 10:45:13 +0000 (10:45 +0000)]
Update.

2002-12-05  Ulrich Drepper  <drepper@redhat.com>

* dirent/bug-readdir1.c (main): Don't call closedir, just close on
the file descriptor.  This is testing what the bug report was about.

22 years agoUpdate.
Ulrich Drepper [Thu, 5 Dec 2002 06:14:03 +0000 (06:14 +0000)]
Update.

* po/be.po: New file.

22 years agoBelarusian translation for GNU libc messages.
Ulrich Drepper [Thu, 5 Dec 2002 06:12:07 +0000 (06:12 +0000)]
Belarusian translation for GNU libc messages.

22 years ago* forward.c (pthread_self): Use FORWARD3 macro to correct return type.
Roland McGrath [Thu, 5 Dec 2002 05:15:35 +0000 (05:15 +0000)]
* forward.c (pthread_self): Use FORWARD3 macro to correct return type.

* sysdeps/i386/td_ta_map_lwp2thr.c: Moved from ../nptl_db.
* sysdeps/generic/td_ta_map_lwp2thr.c: New file.

* pthread_create.c (start_thread): Add missing & on __nptl_last_event.

22 years ago* td_thr_get_info.c (td_thr_get_info): ti_tid is pthread_t, not a PID.
Roland McGrath [Thu, 5 Dec 2002 03:45:55 +0000 (03:45 +0000)]
* td_thr_get_info.c (td_thr_get_info): ti_tid is pthread_t, not a PID.

* thread_db.h (td_thrinfo_t): Comment fix.

* td_ta_map_lwp2thr.c: Moved to ../nptl/sysdeps/i386/.

22 years ago2002-12-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 5 Dec 2002 03:45:22 +0000 (03:45 +0000)]
2002-12-04  Roland McGrath  <roland@redhat.com>

* td_thr_get_info.c (td_thr_get_info): ti_tid is pthread_t, not a PID.

22 years agoUpdate.
Ulrich Drepper [Thu, 5 Dec 2002 01:09:19 +0000 (01:09 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: (struct sigevent):
Change type of _attribute to void*.
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.

22 years agoUpdate.
Ulrich Drepper [Thu, 5 Dec 2002 00:44:01 +0000 (00:44 +0000)]
Update.

2002-12-05  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/tls.h: Include stdlib.h.
* sysdeps/x86_64/tls.h: Likewise.

22 years agoUpdate.
Ulrich Drepper [Wed, 4 Dec 2002 23:42:21 +0000 (23:42 +0000)]
Update.

2002-12-04  Ulrich Drepper  <drepper@redhat.com>

* td_ta_thr_iter.c (iterate_thread_list): At end of iteration read
pointer to the next element from inferior.

22 years agoUpdate.
Ulrich Drepper [Wed, 4 Dec 2002 19:53:08 +0000 (19:53 +0000)]
Update.

2002-12-04  Ulrich Drepper  <drepper@redhat.com>

* argp/Makefile (tests): Add tst-argp1.

22 years agoBump to 0.11.
Ulrich Drepper [Wed, 4 Dec 2002 19:10:58 +0000 (19:10 +0000)]
Bump to 0.11.

22 years ago* sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS]
Roland McGrath [Wed, 4 Dec 2002 12:30:40 +0000 (12:30 +0000)]
* sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS]

members to the end, so a libpthread compiled with !USE_TLS will still
find other members properly.

* sysdeps/i386/i486/bits/string.h (__strcpy_g): Add dummy output
operand for DEST memory.  Fix dummy input operand to use SRC.
Reported by Davin McCall <davmac@ozonline.com.au>.

* sysdeps/generic/libc-tls.c (__libc_setup_tls): Account for TCB
alignment when initializing the DTV entry.

* elf/dl-load.c (_dl_map_object_from_fd): If we hit a TLS segment
when TLS has not been set up, try to set it up if we can.
* elf/tst-tls4.c: Revert last change.
* elf/tst-tls5.c: Likewise.
* elf/tst-tls6.c: Likewise.
* elf/tst-tls7.c: Likewise.
* elf/tst-tls8.c: Likewise.
* elf/tst-tls9.c: Likewise.

* sysdeps/generic/dl-tls.c [SHARED] (_dl_tls_setup): New function.
* sysdeps/generic/ldsodefs.h: Declare it.
* elf/Versions (ld: GLIBC_PRIVATE): Add it.
* sysdeps/generic/libc-tls.c (init_slotinfo): New static inline
function, broken out of __libc_setup_tls.
(init_static_tls): Likewise.
(__libc_setup_tls): Call them.
(_dl_tls_setup): New function, uses new subroutines.

* elf/dl-close.c (free_slotinfo): Make argument pointer to pointer.
Clear the pointer when returning true.
(libc_freeres_fn) [SHARED]: If GL(dl_initial_dtv) is null, free the
first element of the slotinfo list too.

* sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Define only if
[SHARED].

* sysdeps/generic/ldsodefs.h (_dl_next_tls_modid): Declare as hidden.
(_dl_determine_tlsoffset): Likewise.

* elf/rtld.c (_dl_initial_error_catch_tsd): Renamed from
startup_error_tsd, made global.
(dl_main): Update initialization.
* elf/dl-tsd.c: Likewise.
* sysdeps/generic/ldsodefs.h: Declare it.

22 years ago2002-12-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 4 Dec 2002 12:27:20 +0000 (12:27 +0000)]
2002-12-04  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS]
members to the end, so a libpthread compiled with !USE_TLS will still
find other members properly.
* sysdeps/generic/dl-tls.c [SHARED] (_dl_tls_setup): New function.
* sysdeps/generic/ldsodefs.h: Declare it.
* elf/Versions (ld: GLIBC_PRIVATE): Add it.
* sysdeps/generic/libc-tls.c (init_slotinfo): New static inline
function, broken out of __libc_setup_tls.
(init_static_tls): Likewise.
(__libc_setup_tls): Call them.
(_dl_tls_setup): New function, uses new subroutines.
* sysdeps/generic/ldsodefs.h (_dl_next_tls_modid): Declare as hidden.
(_dl_determine_tlsoffset): Likewise.
* elf/rtld.c (_dl_initial_error_catch_tsd): Renamed from
startup_error_tsd, made global.
(dl_main): Update initialization.
* elf/dl-tsd.c: Likewise.
* sysdeps/generic/ldsodefs.h: Declare it.

22 years agoUpdate.
Ulrich Drepper [Wed, 4 Dec 2002 09:52:26 +0000 (09:52 +0000)]
Update.

2002-12-04  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Mark asms as
volatile and add memory clobbers to lock operations.

22 years agoUpdate.
Ulrich Drepper [Wed, 4 Dec 2002 06:33:29 +0000 (06:33 +0000)]
Update.

2002-12-03  Ulrich Drepper  <drepper@redhat.com>

* manual/texinfo.tex: Update from latest upstream version.

22 years agoUpdate from latest upstream version.
Ulrich Drepper [Wed, 4 Dec 2002 06:08:27 +0000 (06:08 +0000)]
Update from latest upstream version.

22 years ago* sysdeps/generic/libc-tls.c (__libc_setup_tls): Include static TLS
Roland McGrath [Wed, 4 Dec 2002 04:20:40 +0000 (04:20 +0000)]
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Include static TLS

area surplus in calculation for sbrk call.

22 years ago2002-12-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 4 Dec 2002 04:20:07 +0000 (04:20 +0000)]
2002-12-03  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/libc-tls.c (__libc_setup_tls): Include static TLS
area surplus in calculation for sbrk call.

22 years agoUpdate.
Ulrich Drepper [Wed, 4 Dec 2002 00:55:29 +0000 (00:55 +0000)]
Update.

* sysdeps/i386/i686/bits/atomic.h: Use i486 version.
* sysdeps/i386/i486/bits/atomic.h: New file.
* sysdeps/i386/i586/bits/atomic.h: New file.
* sysdeps/i386/i686/pthread_spin_trylock.S: Define HAVE_CMOV and
include i486 version.
* sysdeps/i386/i486/pthread_spin_trylock.S: New file.
* sysdeps/i386/i586/pthread_spin_trylock.S: New file.
Patch by Marjin Ros <marjin@mad.scientist.com>.

22 years agoi486 specific atomic operations.
Ulrich Drepper [Wed, 4 Dec 2002 00:54:06 +0000 (00:54 +0000)]
i486 specific atomic operations.

22 years ago* iconvdata/cp1125.c: New file.
Roland McGrath [Tue, 3 Dec 2002 21:52:23 +0000 (21:52 +0000)]
* iconvdata/cp1125.c: New file.

* iconvdata/Makefile (distribute): Add it.
(modules): Add CP1125.
(gen-8bit-gap-modules): Add cp1125.
* iconvdata/gconv-modules: Add CP1125, alias RUSCII.
* iconvdata/tst-tables.sh: Add CP1125 to the list to test.

22 years ago2002-12-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 3 Dec 2002 20:56:06 +0000 (20:56 +0000)]
2002-12-03  Roland McGrath  <roland@redhat.com>

* charmaps/CP1125: New file.
* CHECKSUMS: Add it.

22 years agoDefine HAVE_CMOV and include i486 version.
Ulrich Drepper [Tue, 3 Dec 2002 20:21:08 +0000 (20:21 +0000)]
Define HAVE_CMOV and include i486 version.

22 years agoUpdate.
Ulrich Drepper [Tue, 3 Dec 2002 20:07:12 +0000 (20:07 +0000)]
Update.

* allocatestack.c (get_cached_stack): Don't crash if we first
found a stack with a larger size then needed.
Reported by Hui Huang <hui.huang@sun.com>.

22 years ago(get_cached_stack): Don't crash if we first found a stack with a larger size then...
Ulrich Drepper [Tue, 3 Dec 2002 20:06:21 +0000 (20:06 +0000)]
(get_cached_stack): Don't crash if we first found a stack with a larger size then needed.

22 years ago* sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
Andreas Jaeger [Tue, 3 Dec 2002 15:39:42 +0000 (15:39 +0000)]
* sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.

22 years agoRegenerated.
Andreas Jaeger [Tue, 3 Dec 2002 15:39:37 +0000 (15:39 +0000)]
Regenerated.

22 years agoUpdate.
Ulrich Drepper [Tue, 3 Dec 2002 10:34:23 +0000 (10:34 +0000)]
Update.

2002-12-03  Ulrich Drepper  <drepper@redhat.com>

* Makefile (tests): Add tst-sysconf.
* tst-sysconf.c: New file.

* sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine
PTHREAD_THREADS_MAX.

22 years agoUpdate.
Ulrich Drepper [Tue, 3 Dec 2002 09:01:03 +0000 (09:01 +0000)]
Update.

2002-12-03  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/system.c (do_system): Make signal handler
installation thread safe.

22 years agoCorrect rule to create tst-locale1.
Ulrich Drepper [Tue, 3 Dec 2002 08:57:59 +0000 (08:57 +0000)]
Correct rule to create tst-locale1.

22 years ago* sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): Change
Roland McGrath [Tue, 3 Dec 2002 07:28:17 +0000 (07:28 +0000)]
* sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): Change

caller from EXTRA to -.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.

22 years ago2002-12-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 3 Dec 2002 07:28:09 +0000 (07:28 +0000)]
2002-12-02  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): Change
caller from EXTRA to -.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.

22 years agoUpdate.
Ulrich Drepper [Tue, 3 Dec 2002 06:27:43 +0000 (06:27 +0000)]
Update.

* Makefile (tests): Add tst-locale1.  If buid-static is yes link
statically.
* tst-locale1.c: New file.

22 years agoTest use of locale functions in statically linked apps.
Ulrich Drepper [Tue, 3 Dec 2002 06:01:38 +0000 (06:01 +0000)]
Test use of locale functions in statically linked apps.

22 years ago* sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both
Roland McGrath [Tue, 3 Dec 2002 02:50:58 +0000 (02:50 +0000)]
* sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both

bits of RM are cleared.

22 years ago* elf/tst-tls4.c: Define an unused TLS variable here, so that no lazy
Roland McGrath [Tue, 3 Dec 2002 01:51:07 +0000 (01:51 +0000)]
* elf/tst-tls4.c: Define an unused TLS variable here, so that no lazy

TLS setup is required.
* elf/tst-tls5.c: Likewise.
* elf/tst-tls6.c: Likewise.
* elf/tst-tls7.c: Likewise.
* elf/tst-tls8.c: Likewise.
* elf/tst-tls9.c: Likewise.

* elf/rtld.c (dl_main): Remove [! SHARED] conditional from
`if (GL(dl_tls_max_dtv_idx) > 0)' tests for doing TLS setup.
* elf/dl-close.c (libc_freeres_fn): Check GL(dl_tls_dtv_slotinfo_list)
for being null before calling free_slotinfo.
* elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: For PT_TLS in
dynamic loading, bail with error if GL(dl_tls_max_dtv_idx) is zero.

22 years agoAdd some items, tweak another.
Roland McGrath [Tue, 3 Dec 2002 00:54:55 +0000 (00:54 +0000)]
Add some items, tweak another.

22 years agoUpdate.
Ulrich Drepper [Mon, 2 Dec 2002 22:39:58 +0000 (22:39 +0000)]
Update.

2002-11-30  Bruno Haible  <bruno@clisp.org>

* iconv/gconv.h (__gconv_btowc_fct): New typedef.
(struct __gconv_step): New field __btowc_fct.
* wcsmbs/btowc.c (__btowc): Use the __btowc_fct shortcut if possible.
* iconv/gconv_int.h (__BUILTIN_TRANSFORM): Renamed from
__BUILTIN_TRANS.
(__gconv_btwoc_ascii): New declaration.
* iconv/gconv_simple.c (BUILTIN_TRANSFORMATION): Add BtowcFct argument.
(__gconv_btwoc_ascii): New function.
* iconv/gconv_builtin.h: Add BtowcFct argument to all
BUILTIN_TRANSFORMATION invocations.
* iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Add BtowcFct argument.
* iconv/iconvconfig.c (BUILTIN_TRANSFORMATION): Likewise.
* iconv/gconv_builtin.c (map): New field btowc_fct.
(BUILTIN_TRANSFORMATION): Add BtowcFct argument. Use it to initialize
btowc_fct field.
(__gconv_get_builtin_trans): Initialize __btowc_fct field.
* iconv/gconv_cache.c (find_module): Initialize __btowc_fct field.
* iconv/gconv_db.c (gen_steps, increment_counter): Likewise.
* wcsmbs/wcsmbsload.c (to_wc, to_mb): Likewise.
* iconv/skeleton.c: Document STORE_REST and FROM_ONEBYTE.
(gconv_init): Initialize __btowc_fct field.
Undefine EXTRA_LOOP_ARGS and FROM_ONEBYTE at the end.
* iconv/loop.c: Document ONEBYTE_BODY.
(gconv_btowc, FROM_ONEBYTE): Define if ONEBYTE_BODY is defined.
Undefine ONEBYTE_BODY at the end.
* iconvdata/8bit-generic.c (ONEBYTE_BODY): New macro.
* iconvdata/8bit-gap.c (NONNUL): New macro.
(BODY for FROM_LOOP): Use it.
(ONEBYTE_BODY): New macro.
* iconvdata/isiri-3342.c (HAS_HOLES): Set to 1.
(NONNUL): New macro.
* iconvdata/ansi_x3.110.c (ONEBYTE_BODY): New macro.
* iconvdata/armscii-8.c (ONEBYTE_BODY): New macro.
* iconvdata/cp1255.c (ONEBYTE_BODY): New macro.
* iconvdata/cp1258.c (ONEBYTE_BODY): New macro.
* iconvdata/tcvn5712-1.c (ONEBYTE_BODY): New macro.
* iconvdata/big5.c (ONEBYTE_BODY): New macro.
* iconvdata/big5hkscs.c (ONEBYTE_BODY): New macro.
* iconvdata/euc-cn.c (ONEBYTE_BODY): New macro.
* iconvdata/euc-jp.c (ONEBYTE_BODY): New macro.
* iconvdata/euc-jisx0213.c (ONEBYTE_BODY): New macro.
* iconvdata/euc-kr.c (ONEBYTE_BODY): New macro.
* iconvdata/euc-tw.c (ONEBYTE_BODY): New macro.
* iconvdata/gbk.c (ONEBYTE_BODY): New macro.
* iconvdata/gb18030.c (ONEBYTE_BODY): New macro.
* iconvdata/ibm932.c: Include <stdbool.h>.
(TRUE, FALSE): Remove macros.
(BODY for FROM_LOOP): Remove unused variable rp1.
(ONEBYTE_BODY): New macro.
(BODY for TO_LOOP): Use bool.
* iconvdata/ibm932.h (__ibm932sb_to_ucs4_idx): Remove array.
* iconvdata/ibm943.c: Include <stdbool.h>.
(TRUE, FALSE): Remove macros.
(BODY for FROM_LOOP): Remove unused variable rp1.
(ONEBYTE_BODY): New macro.
(BODY for TO_LOOP): Use bool.
* iconvdata/ibm943.h (__ibm943sb_to_ucs4_idx): Remove array.
* iconvdata/iso8859-1.c (ONEBYTE_BODY): New macro.
* iconvdata/iso_6937-2.c (ONEBYTE_BODY): New macro.
* iconvdata/iso_6937.c (ONEBYTE_BODY): New macro.
* iconvdata/johab.c (ONEBYTE_BODY): New macro.
* iconvdata/sjis.c (ONEBYTE_BODY): New macro.
* iconvdata/shift_jisx0213.c (ONEBYTE_BODY): New macro.
* iconvdata/t.61.c (ONEBYTE_BODY): New macro.
* iconvdata/uhc.c (ONEBYTE_BODY): New macro.
* iconvdata/gbbig5.c: Tweak comment.

22 years ago(__gconv_btowc_fct): New typedef. (struct __gconv_step): New field __btowc_fct.
Ulrich Drepper [Mon, 2 Dec 2002 21:44:26 +0000 (21:44 +0000)]
(__gconv_btowc_fct): New typedef. (struct __gconv_step): New field __btowc_fct.

22 years ago* sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition
Roland McGrath [Mon, 2 Dec 2002 21:21:32 +0000 (21:21 +0000)]
* sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition

testing getdents64 return value.

22 years ago2002-12-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 2 Dec 2002 21:01:50 +0000 (21:01 +0000)]
2002-12-01  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition
testing getdents64 return value.

22 years agoUpdate.
Ulrich Drepper [Mon, 2 Dec 2002 19:19:37 +0000 (19:19 +0000)]
Update.

* pthread_cond_timedwait.c: Include <stdlib.h>.

22 years agoUpdate.
Ulrich Drepper [Mon, 2 Dec 2002 18:14:24 +0000 (18:14 +0000)]
Update.

2002-12-02  Ulrich Drepper  <drepper@redhat.com>

* po/fi.po: Update from translation team.

22 years agoUpdate.
Ulrich Drepper [Mon, 2 Dec 2002 09:06:27 +0000 (09:06 +0000)]
Update.

2002-12-02  Ulrich Drepper  <drepper@redhat.com>

* Makefile (tests): Add tst-fork2 and tst-fork3.
* tst-fork2.c: New file.
* tst-fork3.c: New file.

22 years agoTests for getppid in MT applications.
Ulrich Drepper [Mon, 2 Dec 2002 08:07:18 +0000 (08:07 +0000)]
Tests for getppid in MT applications.

22 years ago* scripts/versions.awk: Don't pass -n flag to sort command.
Roland McGrath [Mon, 2 Dec 2002 06:31:28 +0000 (06:31 +0000)]
* scripts/versions.awk: Don't pass -n flag to sort command.

22 years ago* posix/bug-regex13.c: Include <string.h>.
Roland McGrath [Sun, 1 Dec 2002 23:17:11 +0000 (23:17 +0000)]
* posix/bug-regex13.c: Include <string.h>.

22 years ago* sysdeps/generic/libc-start.c (__libc_start_main): Do
Roland McGrath [Sun, 1 Dec 2002 22:14:57 +0000 (22:14 +0000)]
* sysdeps/generic/libc-start.c (__libc_start_main): Do

DL_SYSDEP_OSCHECK here.
* sysdeps/unix/sysv/linux/init-first.c (init): Not here.
* sysdeps/unix/sysv/linux/dl-osinfo.h: Include <fcntl.h>.

* sysdeps/generic/libc-tls.c (__libc_setup_tls): Bail if
argument TCBSIZE <= TLS_INIT_TCB_SIZE, not just if it's zero.

* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Check l_tls_offset
instead of l_type to decide whether to use TLS_DTV_UNALLOCATED.

* include/link.h: Comment typo fix.

2002-12-01  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_FSYNC): Set to 200112L.
(_POSIX_SPAWN, _POSIX_MAPPED_FILES, _POSIX_MEMLOCK_RANGE,
_POSIX_MEMORY_PROTECTION): Likewise.
(_POSIX_POLL, _POSIX_SELECT): Removed.

22 years ago2002-12-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 1 Dec 2002 22:13:42 +0000 (22:13 +0000)]
2002-12-01  Roland McGrath  <roland@redhat.com>

* include/link.h: Comment typo fix.

22 years agoUpdate.
Ulrich Drepper [Fri, 29 Nov 2002 02:17:58 +0000 (02:17 +0000)]
Update.

2002-11-28  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define macros which
require it to 200112L.  Remove _POSIX_POLL and _POSIX_SELECT.

22 years agoDefine macros which require it to 200112L. Remove _POSIX_POLL and _POSIX_SELECT.
Ulrich Drepper [Fri, 29 Nov 2002 01:45:10 +0000 (01:45 +0000)]
Define macros which require it to 200112L.  Remove _POSIX_POLL and _POSIX_SELECT.

22 years agoAdd autom4te.cache.
Andreas Schwab [Fri, 29 Nov 2002 00:38:06 +0000 (00:38 +0000)]
Add autom4te.cache.

22 years agoDefine HAVE_CMOV.
Ulrich Drepper [Thu, 28 Nov 2002 23:52:24 +0000 (23:52 +0000)]
Define HAVE_CMOV.

22 years agoUpdate.
Ulrich Drepper [Thu, 28 Nov 2002 23:01:45 +0000 (23:01 +0000)]
Update.

2002-11-28  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/alpha/sysdep.S: Change defined(USE___THREAD) to
USE___THREAD.
* sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall*): Avoid
"=v" constraints.

22 years agoUpdate.
Ulrich Drepper [Thu, 28 Nov 2002 10:11:51 +0000 (10:11 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/bits/semaphore.h: New file.

22 years agoUpdate.
Ulrich Drepper [Thu, 28 Nov 2002 10:08:49 +0000 (10:08 +0000)]
Update.

2002-11-28  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/pthread_once.S: New file.

* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: New file.

* sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: New file.

22 years agoUpdate.
Ulrich Drepper [Thu, 28 Nov 2002 08:32:24 +0000 (08:32 +0000)]
Update.

2002-11-28  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/vfork.S: Don't trash the CPU's
branch prediction buffers by using unpaired call/ret.

22 years agoUpdate.
Ulrich Drepper [Thu, 28 Nov 2002 05:23:05 +0000 (05:23 +0000)]
Update.

2002-11-27  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Fix typo in
first parameters constraint string.
(ASMFMT_3): Likewise.  Patch by stefan.lauterbach@mincom.de.

22 years agoUpdate.
Ulrich Drepper [Thu, 28 Nov 2002 01:50:27 +0000 (01:50 +0000)]
Update.

* sysdeps/x86_64/bits/atomic.h: New file.

* sysdeps/i386/i686/bits/atomic.h: Fix asm syntax for 8- and
16-bit operations.

22 years agoUpdate.
Ulrich Drepper [Thu, 28 Nov 2002 00:56:18 +0000 (00:56 +0000)]
Update.

* sysdeps/unix/sysv/linux/raise.c (raise): Use INTERNAL_SYSCALL if
possible since gettid cannot fail.

22 years agoUpdate.
Ulrich Drepper [Thu, 28 Nov 2002 00:53:12 +0000 (00:53 +0000)]
Update.

* sysdeps/x86_64/pthreaddef.h: New file.

* sysdeps/i386/pthreaddef.h (gettid): Removed.

* sysdeps/x86_64/pthread_spin_init.c: New file.
* sysdeps/x86_64/pthread_spin_lock.c: New file.
* sysdeps/x86_64/pthread_spin_trylock.c: New file.
* sysdeps/x86_64/pthread_spin_unlock.c: New file.

* sysdeps/i386/i686/pthread_spin_trylock.S (pthread_spin_trylock):
Add missing lock prefix.  Minute optimization.

* tst-spin2.c (main): Also check successful trylock call.

* sysdeps/pthread/pthread_sigmask.c (pthread_sigmask): Use correct
syscall.  Fix typo in case INTERNAL_SYSCALL is not used.

* sysdeps/i386/pthread_spin_destroy.c: Moved to...
* sysdeps/pthread/pthread_spin_destroy.c: ...here.  New file.

* sysdeps/i386/pthread_sigmask.c: Removed.  Use the generic code.
* sysdeps/pthread/pthread_sigmask.c (pthread_sigmask): Return correct
value in case of an error.  Add support for INTERNAL_SYSCALL.

22 years agoUpdate.
Ulrich Drepper [Wed, 27 Nov 2002 23:00:16 +0000 (23:00 +0000)]
Update.

2002-11-27  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regcomp.c (parse_expression): Set the bit since the back
reference is used in the regular expression.
* posix/regex_internal.c (re_node_set_init_1): Make it clean in case
of malloc failure.
(re_node_set_init_copy): Likewise.
* posix/regex_internal.h (state_array_t): New structure.
(re_sub_match_last_t): Likewise.
(re_sub_match_top_t): Likewise.
(re_match_context_t): Add new members.
(re_dfa_t): Likewise.
* posix/regexec.c (re_search_internal): Invoke prune_impossible_nodes
to check the matching is really correct, and retry if failed.
Move the routin pruning the impossible nodes from here, ...
(prune_impossible_nodes): To this function.
(check_matching): Invoke check_subexp_matching_top, and replace
redundant checking with transit_state_bkref invocation.
(proceed_next_node): Replace strncmp with memcmp.  Reported by
Paolo Bonzini  <bonzini@gnu.org>.
(update_cur_sifted_state): Remove search_subexp invocation.
(search_subexp): Remove this function.
(check_dst_limits_calc_pos): Use search_cur_bkref_entry for
optimization.
(sift_states_bkref): Use search_cur_bkref_entry for optimization.
Remove unused invocation of match_ctx_add_entry.
(transit_state): Invoke check_subexp_matching_top.
(check_subexp_matching_top): New function.
(transit_state_bkref): Remove unused array.
Merge transit_state_bkref_loop.
(transit_state_bkref_loop): Use get_subexp instead of
sift_states_backward.  Use search_cur_bkref_entry for optimization.
Merge this function to transit_state_bkref.
(get_subexp): New function.
(get_subexp_sub): Likewise.
(find_subexp_node): Likewise.
(check_arrival): Likewise.
(check_arrival_expand_ecl): Likewise.
(check_arrival_expand_ecl_sub): Likewise.
(expand_bkref_cache): Likewise.
(match_ctx_init): Initialize new members.
(match_ctx_clean): New function.
(match_ctx_free): Release new members.
(match_ctx_free_subtops): New function.
(match_ctx_add_entry): Fix indent.
(search_cur_bkref_entry): New function.
(match_ctx_add_subtop): Likewise.
(match_ctx_add_sublast): Likewise.

22 years agoUpdate.
Ulrich Drepper [Wed, 27 Nov 2002 19:58:24 +0000 (19:58 +0000)]
Update.

* sysdeps/x86_64/pthread_sigmask.c: New file.

* sysdeps/i386/pthread_sigmask.c (pthread_sigmask): Return correct
value in case of an error.

22 years agoUpdate.
Ulrich Drepper [Wed, 27 Nov 2002 08:55:35 +0000 (08:55 +0000)]
Update.

2002-11-27  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/x86_64/tls.h: New file.

22 years agoUpdate.
Ulrich Drepper [Wed, 27 Nov 2002 07:09:18 +0000 (07:09 +0000)]
Update.

* sysdeps/i386/tls.h (THREAD_GETMEM_NC): Change interface.  It now
takes the array member name and the index as parameters.
(THREAD_SETMEM_NC): Likewise.
* pthread_getspecific.c: Use new THREAD_GETMEM_NC interface.
* pthread_setspecific.c: Use new THREAD_GETMEM_NC and THREAD_SETMEM_NC
interfaces.

* sysdeps/i386/tls.h (THREAD_SETMEM): Use size of member element
to decide which code to use.
(THREAD_SETMEM_NC): Likewise.

22 years agoInitial revision cvs/initial
Ulrich Drepper [Tue, 26 Nov 2002 22:50:54 +0000 (22:50 +0000)]
Initial revision

2002-11-26  Ulrich Drepper  <drepper@redhat.com>
* allocatestack.c (queue_stack): Don't remove stack from list here.
Do it in the caller.  Correct condition to prematurely terminate
loop to free stacks.
(__deallocate_stack): Remove stack from list here.
2002-11-26  Ulrich Drepper  <drepper@redhat.com>
* Makefile (tests): Add tst-stack1.
* tst-stack1.c: New file.
* allocatestack.c (allocate_stack): Initialize the TCB on a user
provided stack.
* pthread_attr_getstack.c: Return bottom of the thread area.
2002-11-25  Ulrich Drepper  <drepper@redhat.com>
* Makefile (libpthread-routines): Add pt-allocrtsig and
pthread_kill_other_threads.
* pt-allocrtsig.c: New file.
* pthread_kill_other_threads.c: New file.
* sysdeps/unix/sysv/linux/allocrtsig.c: Add additional aliases for
all three functions.
* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
allocrtsig.
* sysdeps/unix/sysv/linux/Versions (libc:GLIBC_PRIVATE): Export
__libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
and __libc_allocate_rtsig_private.
* Versions (libpthread): Export pthread_kill_other_threads_np,
__libc_current_sigrtmin, and __libc_current_sigrtmax.
2002-11-24  Ulrich Drepper  <drepper@redhat.com>

* allocatestack.c (allocate_stack): stackaddr in attribute points to
the end of the stack.  Adjust computations.
When mprotect call fails dequeue stack and free it.
* pthread_attr_setstack.c: Store top of the stack in stackaddr
attribute.
* pthread_getattr_np.c: Likewise.

* descr.h (IS_DETACHED): Add some more parenthesis to prevent
surprises.

2002-11-23  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/pthread.h (pthread_self): __THROW must come before
attribute definitions.  Patch by Luca Barbieri <ldb@ldb.ods.org>.

2002-11-22  Ulrich Drepper  <drepper@redhat.com>

* pthread_getspecific.c: Optimize access to first 2nd-level array.
* pthread_setspecific.c: Likewise.

2002-11-21  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/createthread.c: Remove CLONE_ flags
definitions.  Get them from the official place.
* sysdeps/unix/sysv/linux/i386/fork.c: Likewise.

* sysdeps/unix/sysv/linux/i386/createthread.c: Update CLONE_* flags.
Use new CLONE_ flags in clone() calls.

* sysdeps/unix/sysv/linux/fork.c: Use ARCH_FORK to actually fork.
* sysdeps/unix/sysv/linux/i386/fork.c: New file.

* Versions: Add pthread_* functions for libc.
* forward.c: New file.

* sysdeps/pthread/Makefile (libpthread-sysdeps_routines): Add
errno-loc.
* herrno.c: New file.
* res.c: New file.

* Makefile (libpthread-routines): Remove sem_post, sem_wait,
sem_trywait, and sem_timedwait.  Add herrno and res.
* sem_init.c: Don't initialize lock and waiters members.
* sem_open.c: Likewise.
* sem_post.c: Removed.
* sem_wait.c: Removed.
* sem_trywait.c: Removed.
* sem_timedwait.c: Removed.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Complete rewrite.
Includes full implementations of sem_post, sem_wait, sem_trywait,
and sem_timedwait.
* sysdeps/unix/sysv/linux/i386/lowlevelsem.h (lll_sem_post): Adjust
for new implementation.
* sysdeps/unix/sysv/linux/internaltypes.h (struct sem): Remove lock
and waiters fields.

* tst-sem3.c: Improve error message.
* tst-signal3.c: Likewise.

* init.c (__pthread_initialize_minimal): Use set_tid_address syscall
to tell the kernel about the termination futex and to initialize tid
member.  Don't initialize main_thread.
* descr.h (struct pthread): Remove main_thread member.
* cancelllation.c (__do_cancel): Remove code handling main thread.
The main thread is not special anymore.

* allocatestack.c (__reclaim_stacks): Mark stacks as unused.  Add
size of the stacks to stack_cache_actsize.

* pt-readv.c: Add missing "defined".
* pt-sigwait.c: Likewise.
* pt-writev.c: Likewise.

2002-11-09  Ulrich Drepper  <drepper@redhat.com>

* Versions: Export __connect from libpthread.
Patch by Luca Barbieri <ldb@ldb.ods.org>.

* Makefile (libpthread-routines): Add pt-raise.
* sysdeps/unix/sysv/linux/raise.c: New file.
* sysdeps/unix/sysv/linux/pt-raise.c: New file.
* sysdeps/generic/pt-raise.c: New file.

* pthread_cond_init.c: Initialize all data elements of the condvar
structure.  Patch by Luca Barbieri <ldb@ldb.ods.org>.

* pthread_attr_init.c: Actually implement 2.0 compatibility version.
* pthread_create.c: Likewise.

* Makefile (tests): Add tst-key1, tst-key2, tst-key3.
* tst-key1.c: New file.
* tst-key2.c: New file.
* tst-key3.c: New file.

* Versions: Export pthread_detach for version GLIBC_2.0.
Reported by Saurabh Desai <sdesai@austin.ibm.com>.

2002-11-08  Ulrich Drepper  <drepper@redhat.com>

* pthread_key_create.c: Terminate search after an unused key was found.
Patch by Luca Barbieri <ldb@ldb.ods.org>.

* sysdeps/unix/sysv/linux/i386/pthread_once.S: Return zero.
Patch by Luca Barbieri <ldb@ldb.ods.org>.

2002-10-10  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Use slow generic
dynamic lookup for errno in PIC.

* allocatestack.c (get_cached_stack): Rearrange code slightly to
release the stack lock as soon as possible.
Call _dl_allocate_tls_init for TCB from the cache to re-initialize
the static TLS block.
(allocate_stack): Call _dl_allocate_tls_init for user-provided stack.

* cancellation.c: Renamed from cancelation.c.
* Makefile: Adjust accordingly.
* pthreadP.h (CANCELLATION_P): Renamed from CANCELATION_P.
* cleanup_defer.c: Use CANCELLATION_P.
* pthread_testcancel.c: Likewise.
* descr.h: Fix spelling in comments.
* init.c: Likewise.
* pthread_getattr_np.c: Likewise.
* pthread_getschedparam.c: Likewise.
* pthread_setschedparam.c: Likewise.
* Versions: Likewise.

* pt-pselect.c: New file.
* Makefile (libpthread-routines): Add pt-pselect.
* Versions: Add pselect.

* tst-cancel4.c: New file.
* Makefile (tests): Add tst-cancel4.

2002-10-09  Ulrich Drepper  <drepper@redhat.com>

* pthread_mutex_lock.c: Always record lock ownership.
* pthread_mutex_timedlock.c: Likewise.
* pthread_mutex_trylock.c: Likewise.

* pt-readv.c: New file.
* pt-writev.c: New file.
* pt-creat.c: New file.
* pt-msgrcv.c: New file.
* pt-msgsnd.c: New file.
* pt-poll.c: New file.
* pt-select.c: New file.
* pt-sigpause.c: New file.
* pt-sigsuspend.c: New file.
* pt-sigwait.c: New file.
* pt-sigwaitinfo.c: New file.
* pt-waitid.c: New file.
* Makefile (libpthread-routines): Add pt-readv, pt-writev, pt-creat,
pt-msgrcv, pt-msgsnd, pt-poll, pt-select, pt-sigpause, pt-sigsuspend,
pt-sigwait, pt-sigwaitinfo, and pt-waitid.
* Versions: Add all the new functions.

* tst-exit1.c: New file.
* Makefile (tests): Add tst-exit1.

* sem_timedwait.c: Minor optimization for more optimal fastpath.

2002-10-08  Ulrich Drepper  <drepper@redhat.com>

* pt-fcntl.c: Only enable asynchronous cancellation for F_SETLKW.

* pthread_join.c: Enable asynchronous cancellation around lll_wait_tid
call.  pthread_join is an official cancellation point.
* pthread_timedjoin.c: Likewise.

* pthread_cond_wait.c: Revert order in which internal lock are dropped
and the condvar's mutex are retrieved.
* pthread_cond_timedwait.c: Likewise.
Reported by dice@saros.East.Sun.COM.

2002-10-07  Ulrich Drepper  <drepper@redhat.com>

* pthreadP.h: Cut out all type definitions and move them...
* sysdeps/unix/sysv/linux/internaltypes.h: ...here.  New file.
* pthreadP.h: Include <internaltypes.h>.

* sysdeps/unix/sysv/linux/i386/lowlevelsem.h (lll_sem_post): Little
performance tweaks.

* sem_trywait.c: Shuffle #includes around to get right order.
* sem_timedwait.c: Likewise.
* sem_post.c: Likewise.
* sem_wait.c: Likewise.

* nptl 0.3 released.

* Makefile (tests): Add tst-signal3.
* tst-signal3.c: New file.

2002-10-05  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/lowlevelsem.h: Tell the compiler that
the asms modify the sem object.
(__lll_sem_timedwait): Now takes struct sem* as first parameter.

* sysdeps/unix/sysv/linux/i386/bits/semaphore.h (sem_t): Don't expose
the actual members.
* pthreadP.h (struct sem): New type.  Actual semaphore type.
* semaphoreP.h: Include pthreadP.h.
* sem_getvalue.c: Adjust to sem_t change.
* sem_init.c: Likewise.
* sem_open.c: Likewise.
* sem_post.c: Likewise.
* sem_timedwait.c: Likewise.
* sem_trywait.c: Likewise.
* sem_wait.c: Likewise.

2002-10-04  Ulrich Drepper  <drepper@redhat.com>

* Makefile (tests): Add tst-basic2, tst-exec1, tst-exec3, tst-exec3.
* tst-basic2.c: New file.
* tst-exec1.c: New file.
* tst-exec2.c: New file.
* tst-exec3.c: New file.

* tst-fork1.c: Remove extra */.

* nptl 0.2 released.  The API for IA-32 is complete.

22 years ago* inet/test-ifaddrs.c (main: addr_string): Handle null SA.
Roland McGrath [Tue, 26 Nov 2002 03:29:06 +0000 (03:29 +0000)]
* inet/test-ifaddrs.c (main: addr_string): Handle null SA.

Grok AF_LINK if defined.
From Momchil Velikov <velco@fadata.bg>.

* sysdeps/gnu/ifaddrs.c (getifaddrs): If ioctl fails for netmask,
brdaddr, or dstaddr, just set those pointers to null and don't fail.
Reported by Momchil Velikov <velco@fadata.bg>.

* sysdeps/generic/ifreq.h (__if_nextreq) [_HAVE_SA_LEN]: If sa_len
is > sizeof IFR->ifa_addr, advance past the whole longer length.
(__ifreq): Count up NIFS that way too.
Reported by Momchil Velikov <velco@fadata.bg>.

* sysdeps/mach/hurd/lchmod.c: Include <fcntl.h>.

This page took 0.082971 seconds and 5 git commands to generate.