kopensolaris-gnu/glibc.git
16 years ago2003-12-21 Roland McGrath <roland@frob.com>
roland [Mon, 22 Dec 2003 06:58:09 +0000 (06:58 +0000)]
2003-12-21  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/dl-sysdep.c (_exit): Define with attribute_hidden.

16 years agoUpdate.
drepper [Mon, 22 Dec 2003 06:52:35 +0000 (06:52 +0000)]
Update.

16 years ago(tests): Add new tests.
drepper [Mon, 22 Dec 2003 06:46:08 +0000 (06:46 +0000)]
(tests): Add new tests.

16 years ago(tests): Add new tests.
drepper [Mon, 22 Dec 2003 06:45:54 +0000 (06:45 +0000)]
(tests): Add new tests.

16 years ago(check_dst_limits_calc_pos): Fix formatting.
drepper [Mon, 22 Dec 2003 06:45:38 +0000 (06:45 +0000)]
(check_dst_limits_calc_pos): Fix formatting.
(group_nodes_into_DFAstates): For CHARACTER with
NEXT_{,NOT}WORD_CONSTRAINT check word_char bit.

16 years ago(parse_dup_op): Return NULL if dup_elem is NULL,
drepper [Mon, 22 Dec 2003 06:45:04 +0000 (06:45 +0000)]
(parse_dup_op): Return NULL if dup_elem is NULL,
after checking syntax.  Optimize.
(calc_first): Fix comment.

(duplicate_node, duplicate_node_closure): Revert 2003-11-24 changes.

16 years ago.
roland [Mon, 22 Dec 2003 06:19:32 +0000 (06:19 +0000)]
.

16 years ago2003-12-21 Roland McGrath <roland@redhat.com>
roland [Mon, 22 Dec 2003 06:19:25 +0000 (06:19 +0000)]
2003-12-21  Roland McGrath  <roland@redhat.com>

* manual/arith.texi (Parsing of Integers): Typo fix.

16 years ago2003-12-20 Roland McGrath <roland@frob.com>
roland [Mon, 22 Dec 2003 06:19:22 +0000 (06:19 +0000)]
2003-12-20  Roland McGrath  <roland@frob.com>

* sysdeps/generic/ifreq.c (__ifreq) [_HAVE_SA_LEN]: Fix typo:
add missing dereference of IFREQS before counting loop.

16 years agoUpdate.
drepper [Sun, 21 Dec 2003 20:05:47 +0000 (20:05 +0000)]
Update.

16 years ago(tests): Add tst-eintr5.
drepper [Sun, 21 Dec 2003 20:05:16 +0000 (20:05 +0000)]
(tests): Add tst-eintr5.

16 years agoCheck that EINTR is not returned for pthread_cond_wait and
drepper [Sun, 21 Dec 2003 20:04:57 +0000 (20:04 +0000)]
Check that EINTR is not returned for pthread_cond_wait and
pthread_cond_timedwait.

16 years ago(eintr_source): Prevent sending signal to self.
drepper [Sun, 21 Dec 2003 20:04:02 +0000 (20:04 +0000)]
(eintr_source): Prevent sending signal to self.

16 years ago(tf1): Improve error message.
drepper [Sun, 21 Dec 2003 19:52:55 +0000 (19:52 +0000)]
(tf1): Improve error message.

16 years ago.
schwab [Sun, 21 Dec 2003 17:32:28 +0000 (17:32 +0000)]
.

16 years agoAvoid matching memory constraints.
schwab [Sun, 21 Dec 2003 17:31:58 +0000 (17:31 +0000)]
Avoid matching memory constraints.

16 years agoUpdate.
drepper [Sat, 20 Dec 2003 23:39:42 +0000 (23:39 +0000)]
Update.

16 years agoAdd comment explaining use of PID field.
drepper [Sat, 20 Dec 2003 23:38:56 +0000 (23:38 +0000)]
Add comment explaining use of PID field.

16 years agoHandle case where PID is temporarily negative.
drepper [Sat, 20 Dec 2003 23:38:32 +0000 (23:38 +0000)]
Handle case where PID is temporarily negative.

16 years agoNegate PID field of parent temporarily to signal the field must not be
drepper [Sat, 20 Dec 2003 23:37:13 +0000 (23:37 +0000)]
Negate PID field of parent temporarily to signal the field must not be
relied on and updated by getpid().

16 years agoUse abs() when comparing PID and TID fields.
drepper [Sat, 20 Dec 2003 23:35:43 +0000 (23:35 +0000)]
Use abs() when comparing PID and TID fields.

16 years agoAdd comment explaining use of PID field.
drepper [Sat, 20 Dec 2003 23:34:58 +0000 (23:34 +0000)]
Add comment explaining use of PID field.

16 years agoUpdate.
drepper [Sat, 20 Dec 2003 22:43:09 +0000 (22:43 +0000)]
Update.

16 years agoRewrite to not store PID if old value is negative.
drepper [Sat, 20 Dec 2003 19:24:00 +0000 (19:24 +0000)]
Rewrite to not store PID if old value is negative.

16 years agoUpdate.
drepper [Sat, 20 Dec 2003 09:58:33 +0000 (09:58 +0000)]
Update.

16 years ago(CFLAGS-getpid.c): Define.
drepper [Sat, 20 Dec 2003 09:57:54 +0000 (09:57 +0000)]
(CFLAGS-getpid.c): Define.

16 years agogetpid implementation for Linux with nptl.
drepper [Sat, 20 Dec 2003 09:57:38 +0000 (09:57 +0000)]
getpid implementation for Linux with nptl.

16 years ago(dl_main): Optimize order or subexpressions in if().
drepper [Sat, 20 Dec 2003 09:04:30 +0000 (09:04 +0000)]
(dl_main): Optimize order or subexpressions in if().

16 years agoUpdate.
drepper [Sat, 20 Dec 2003 06:34:59 +0000 (06:34 +0000)]
Update.

16 years agoTest that pthread_barrier_wait never returns EINTR.
drepper [Sat, 20 Dec 2003 06:34:30 +0000 (06:34 +0000)]
Test that pthread_barrier_wait never returns EINTR.

16 years agoTest that pthread_join never returns EINTR.
drepper [Sat, 20 Dec 2003 06:33:53 +0000 (06:33 +0000)]
Test that pthread_join never returns EINTR.

16 years agoAdjust for change to setup_eintr.
drepper [Sat, 20 Dec 2003 06:33:20 +0000 (06:33 +0000)]
Adjust for change to setup_eintr.

16 years ago(setup_eintr): Add new parameter. Pass to thread function.
drepper [Sat, 20 Dec 2003 06:32:59 +0000 (06:32 +0000)]
(setup_eintr): Add new parameter.  Pass to thread function.
(eintr_source): If ARG != NULL, use pthread_kill.

16 years ago(tests): Add tst-cancel22 and tst-cancel23.
drepper [Sat, 20 Dec 2003 06:32:45 +0000 (06:32 +0000)]
(tests): Add tst-cancel22 and tst-cancel23.
(tests-reverse): Add tst-cancel23.

(tests): Add tst-eintr3 and tst-eintr4.

16 years agoCheck that disabling cancellation really works.
drepper [Sat, 20 Dec 2003 06:32:20 +0000 (06:32 +0000)]
Check that disabling cancellation really works.

16 years ago(__librt_enable_asynccancel): Don't cancel if CANCELSTATE_BITMASK is set.
drepper [Sat, 20 Dec 2003 06:31:48 +0000 (06:31 +0000)]
(__librt_enable_asynccancel): Don't cancel if CANCELSTATE_BITMASK is set.

16 years ago(__libc_enable_asynccancel): Don't cancel if CANCELSTATE_BITMASK is set.
drepper [Sat, 20 Dec 2003 06:31:25 +0000 (06:31 +0000)]
(__libc_enable_asynccancel): Don't cancel if CANCELSTATE_BITMASK is set.

16 years agoUpdate.
drepper [Fri, 19 Dec 2003 04:25:14 +0000 (04:25 +0000)]
Update.

16 years ago(vfprintf): Pass use_outdigits flags to __printf_fp.
drepper [Fri, 19 Dec 2003 04:23:33 +0000 (04:23 +0000)]
(vfprintf): Pass use_outdigits flags to __printf_fp.

16 years ago(__printf_fp): Add support to use alternative decimal digits.
drepper [Fri, 19 Dec 2003 04:22:46 +0000 (04:22 +0000)]
(__printf_fp): Add support to use alternative decimal digits.

16 years agoFix typo.
drepper [Fri, 19 Dec 2003 03:51:06 +0000 (03:51 +0000)]
Fix typo.

16 years agoUpdate.
drepper [Fri, 19 Dec 2003 01:37:13 +0000 (01:37 +0000)]
Update.

16 years agoInclude stdint.h.
drepper [Fri, 19 Dec 2003 01:36:40 +0000 (01:36 +0000)]
Include stdint.h.
(_JMPBUF_CFA_UNWINDS): Remove.
(_JMPBUF_CFA_UNWINDS_ADJ, _JMPBUF_UNWINDS_ADJ): Define.

16 years agoSetjmp buffer unwinding helper code for x86-64.
drepper [Fri, 19 Dec 2003 01:36:23 +0000 (01:36 +0000)]
Setjmp buffer unwinding helper code for x86-64.

16 years agoSetjmp buffer unwinding helper code for SPARC32.
drepper [Fri, 19 Dec 2003 01:36:09 +0000 (01:36 +0000)]
Setjmp buffer unwinding helper code for SPARC32.

16 years agoSetjmp buffer unwinding helper code for SH.
drepper [Fri, 19 Dec 2003 01:35:46 +0000 (01:35 +0000)]
Setjmp buffer unwinding helper code for SH.

16 years agoSetjmp buffer unwinding helper code for s390.
drepper [Fri, 19 Dec 2003 01:35:37 +0000 (01:35 +0000)]
Setjmp buffer unwinding helper code for s390.

16 years agoSetjmp buffer unwinding helper code for ppc.
drepper [Fri, 19 Dec 2003 01:35:28 +0000 (01:35 +0000)]
Setjmp buffer unwinding helper code for ppc.

16 years agoSetjmp buffer unwinding helper code for ia32.
drepper [Fri, 19 Dec 2003 01:35:18 +0000 (01:35 +0000)]
Setjmp buffer unwinding helper code for ia32.

16 years agoSetjmp buffer unwinding helper code for Alpha.
drepper [Fri, 19 Dec 2003 01:35:07 +0000 (01:35 +0000)]
Setjmp buffer unwinding helper code for Alpha.

16 years ago(FRAME_LEFT): Add adj argument. Subtract it from each comparison operand.
drepper [Fri, 19 Dec 2003 01:34:28 +0000 (01:34 +0000)]
(FRAME_LEFT): Add adj argument.  Subtract it from each comparison operand.
(unwind_stop): Use _JMPBUF_CFA_UNWINDS_ADJ macro instead of
_JMPBUF_CFA_UNWINDS.  Adjust FRAME_LEFT invocations.

16 years ago(tests): Add tst-cancel20 and tst-cancelx20.
drepper [Fri, 19 Dec 2003 01:34:09 +0000 (01:34 +0000)]
(tests): Add tst-cancel20 and tst-cancelx20.
(CFLAGS-tst-cancelx20.c): Set.

(tests): Add tst-cancel21 and tst-cancelx21.
(CFLAGS-tst-cancelx21.c): Set.

(tests): Add tst-eintr2.

16 years ago(__pthread_initialize_minimal_internal): Initialize pd->stackblock_size.
drepper [Fri, 19 Dec 2003 01:33:33 +0000 (01:33 +0000)]
(__pthread_initialize_minimal_internal): Initialize pd->stackblock_size.

16 years agoNot needed anymore.
drepper [Fri, 19 Dec 2003 01:33:14 +0000 (01:33 +0000)]
Not needed anymore.

16 years agoFix last changes.
drepper [Fri, 19 Dec 2003 01:32:36 +0000 (01:32 +0000)]
Fix last changes.

16 years agoTest of cancellation of the main thread with exceptions from alternate stack.
drepper [Fri, 19 Dec 2003 01:32:24 +0000 (01:32 +0000)]
Test of cancellation of the main thread with exceptions from alternate stack.

16 years agoTest of cancellation of the main thread from alternate stack.
drepper [Fri, 19 Dec 2003 01:31:58 +0000 (01:31 +0000)]
Test of cancellation of the main thread from alternate stack.

16 years agoTest of cancellation with exceptions from alternate stack.
drepper [Fri, 19 Dec 2003 01:31:41 +0000 (01:31 +0000)]
Test of cancellation with exceptions from alternate stack.

16 years agoTest of cancellation from alternate stack.
drepper [Fri, 19 Dec 2003 01:31:18 +0000 (01:31 +0000)]
Test of cancellation from alternate stack.

16 years agoTest of cancellation from alternate stack.
drepper [Fri, 19 Dec 2003 01:31:08 +0000 (01:31 +0000)]
Test of cancellation from alternate stack.

16 years agoCheck that mutex locking functions do not return EINTR.
drepper [Fri, 19 Dec 2003 00:11:49 +0000 (00:11 +0000)]
Check that mutex locking functions do not return EINTR.

16 years agoBetter error messages.
drepper [Thu, 18 Dec 2003 21:19:22 +0000 (21:19 +0000)]
Better error messages.

16 years agoUpdate.
drepper [Thu, 18 Dec 2003 06:07:27 +0000 (06:07 +0000)]
Update.

16 years ago(__clone) [PIC]: Save PIC, reload PIC if we need to call __syscall_error,
drepper [Thu, 18 Dec 2003 06:05:03 +0000 (06:05 +0000)]
(__clone) [PIC]: Save PIC, reload PIC if we need to call __syscall_error,
cleanup asm.

16 years agoUpdate.
drepper [Thu, 18 Dec 2003 04:02:31 +0000 (04:02 +0000)]
Update.

16 years ago(fesetexceptflag): Set enable bits not raised exception bits.
drepper [Thu, 18 Dec 2003 03:58:26 +0000 (03:58 +0000)]
(fesetexceptflag): Set enable bits not raised exception bits.

16 years ago(feraiseexcept): Add delayed exception flushing, FE_UNDERFLOW is DBL_MIN/3.0,
drepper [Thu, 18 Dec 2003 03:58:09 +0000 (03:58 +0000)]
(feraiseexcept): Add delayed exception flushing, FE_UNDERFLOW is DBL_MIN/3.0,
FE_INEXACT is triggered by M_PI/69.69 converted to single precision.

16 years ago(feupdateenv): Read raised exception bits, OR with envp, pass to fesetenv.
drepper [Thu, 18 Dec 2003 03:57:50 +0000 (03:57 +0000)]
(feupdateenv): Read raised exception bits, OR with envp, pass to fesetenv.

16 years ago(fesetenv): Use asm 'ma,' completer, and gcc '+r' constraint.
drepper [Thu, 18 Dec 2003 03:57:31 +0000 (03:57 +0000)]
(fesetenv): Use asm 'ma,' completer, and gcc '+r' constraint.

16 years ago(feholdexcept): Use asm 'ma,' completer, and gcc '+r' constraint.
drepper [Thu, 18 Dec 2003 03:57:14 +0000 (03:57 +0000)]
(feholdexcept): Use asm 'ma,' completer, and gcc '+r' constraint.

16 years ago(fegetenv): use asm 'ma,' completer, and gcc '+r' constraint.
drepper [Thu, 18 Dec 2003 03:56:50 +0000 (03:56 +0000)]
(fegetenv): use asm 'ma,' completer, and gcc '+r' constraint.

16 years ago(feclearexcept): Right shift FE_ALL_EXCEPT before complimenting.
drepper [Thu, 18 Dec 2003 03:56:15 +0000 (03:56 +0000)]
(feclearexcept): Right shift FE_ALL_EXCEPT before complimenting.

16 years agoDL_LOOKUP_ADDRESS must clear PLABEL32 bits, define DL_AUTO_FUNCTION_ADDRESS and
drepper [Thu, 18 Dec 2003 03:53:47 +0000 (03:53 +0000)]
DL_LOOKUP_ADDRESS must clear PLABEL32 bits, define DL_AUTO_FUNCTION_ADDRESS and
DL_STATIC_FUNCTION_ADDRESS, DL_DT_INIT_ADDRESS and DL_DT_FINI_ADDRESS use the
previous two macros.

16 years ago(_dl_symbol_address): Use _dl_make_ftpr, remove const qualifier for map.
drepper [Thu, 18 Dec 2003 03:53:22 +0000 (03:53 +0000)]
(_dl_symbol_address): Use _dl_make_ftpr, remove const qualifier for map.
(_dl_function_address): Removed.

16 years agoNot needed anymore.
drepper [Thu, 18 Dec 2003 03:53:02 +0000 (03:53 +0000)]
Not needed anymore.

16 years agoConfiguration for hppa function descriptor handling.
drepper [Thu, 18 Dec 2003 03:52:28 +0000 (03:52 +0000)]
Configuration for hppa function descriptor handling.

16 years agoAdd dl-symaddr and dl-fptr to the correct build strings.
drepper [Thu, 18 Dec 2003 03:51:49 +0000 (03:51 +0000)]
Add dl-symaddr and dl-fptr to the correct build strings.

16 years ago.
roland [Thu, 18 Dec 2003 02:51:10 +0000 (02:51 +0000)]
.

16 years ago2003-12-02 Roland McGrath <roland@redhat.com>
roland [Thu, 18 Dec 2003 02:51:04 +0000 (02:51 +0000)]
2003-12-02  Roland McGrath  <roland@redhat.com>

* thread_dbP.h (DB_FUNCTION): New macro.
* structs.def: Use it for __nptl_create_event and __nptl_death_event.
* db_info.c (DB_FUNCTION): New macro.
* td_symbol_list.c (DB_FUNCTION): New macro, prepend "." to symbol
name under [HAVE_ASM_GLOBAL_DOT_NAME].
(td_lookup) [HAVE_ASM_GLOBAL_DOT_NAME]: If lookup fails with PS_NOSYM
and name starts with a dot, try it without the dot.

16 years agoUpdate.
drepper [Thu, 18 Dec 2003 02:27:57 +0000 (02:27 +0000)]
Update.

16 years ago(__pthread_initialize_minimal_internal): Don't treat architectures
drepper [Thu, 18 Dec 2003 02:27:11 +0000 (02:27 +0000)]
(__pthread_initialize_minimal_internal): Don't treat architectures
with separate register stack special here when computing default stack
size.

16 years ago.
roland [Thu, 18 Dec 2003 02:22:12 +0000 (02:22 +0000)]
.

16 years ago2003-11-25 Roland McGrath <roland@redhat.com>
roland [Thu, 18 Dec 2003 02:22:04 +0000 (02:22 +0000)]
2003-11-25  Roland McGrath  <roland@redhat.com>

* td_symbol_list.c (symbol_list_arr) [HAVE_ASM_GLOBAL_DOT_NAME]:
Prepend "." to symbol names for functions.

16 years ago.
roland [Thu, 18 Dec 2003 02:17:52 +0000 (02:17 +0000)]
.

16 years ago2003-12-17 Roland McGrath <roland@redhat.com>
roland [Thu, 18 Dec 2003 02:17:43 +0000 (02:17 +0000)]
2003-12-17  Roland McGrath  <roland@redhat.com>

* Makefile (tst-cancelx7-ARGS): New variable.
Reportd by Greg Schafer <gschafer@zip.com.au>.

16 years agoUpdate.
drepper [Wed, 17 Dec 2003 23:52:56 +0000 (23:52 +0000)]
Update.

16 years ago(tests): Add tst-stack3. Depend on $(objpfx)tst-stack3-mem.
drepper [Wed, 17 Dec 2003 23:52:14 +0000 (23:52 +0000)]
(tests): Add tst-stack3.  Depend on $(objpfx)tst-stack3-mem.
(generated): Add tst-stack3.mtrace and tst-stack3-mem.
(tst-stack3-ENV): Set.
($(objpfx)tst-stack3-mem): New.

16 years agoCheck for memory leak in thread handling.
drepper [Wed, 17 Dec 2003 23:51:51 +0000 (23:51 +0000)]
Check for memory leak in thread handling.

16 years agoUpdate.
drepper [Wed, 17 Dec 2003 23:48:39 +0000 (23:48 +0000)]
Update.

16 years agoCheck for memory leak in thread handling.
drepper [Wed, 17 Dec 2003 23:48:08 +0000 (23:48 +0000)]
Check for memory leak in thread handling.

16 years ago(tests): Add tst-stack1. Depend on $(objpfx)tst-stack1-mem.
drepper [Wed, 17 Dec 2003 23:47:29 +0000 (23:47 +0000)]
(tests): Add tst-stack1.  Depend on $(objpfx)tst-stack1-mem.
(generated): Add tst-stack1.mtrace and tst-stack1-mem.
(tst-stack1-ENV): Set.
($(objpfx)tst-stack1-mem): New.

16 years ago(__pthread_initialize_manager): Call _dl_deallocate_tls on error.
drepper [Wed, 17 Dec 2003 23:47:11 +0000 (23:47 +0000)]
(__pthread_initialize_manager): Call _dl_deallocate_tls on error.
(pthread_onexit_process): Update comment.

16 years ago(pthread_free): Call _dl_deallocate_tls even for p_userstack threads.
drepper [Wed, 17 Dec 2003 23:46:53 +0000 (23:46 +0000)]
(pthread_free): Call _dl_deallocate_tls even for p_userstack threads.

16 years agoUpdate.
drepper [Wed, 17 Dec 2003 23:43:50 +0000 (23:43 +0000)]
Update.

16 years ago(__posix_memalign): If __memalign_hook != NULL, call it directly instead of
drepper [Wed, 17 Dec 2003 23:31:28 +0000 (23:31 +0000)]
(__posix_memalign): If __memalign_hook != NULL, call it directly instead of
memalign_internal.

16 years ago(tr_old_memalign_hook): New variable.
drepper [Wed, 17 Dec 2003 23:31:04 +0000 (23:31 +0000)]
(tr_old_memalign_hook): New variable.
(tr_memalignhook): New function.
(mtrace): Register tr_memalignhook.
(muntrace): Deregister tr_memalignhook.

16 years agoChange encoding to match recently change decoder.
drepper [Wed, 17 Dec 2003 23:29:02 +0000 (23:29 +0000)]
Change encoding to match recently change decoder.

16 years agoCorrect definition of vrregset_t.
drepper [Wed, 17 Dec 2003 23:11:15 +0000 (23:11 +0000)]
Correct definition of vrregset_t.

16 years ago[!__PPC64_ELF_H]: Extent conditional to include typedef elf_vrreg_t.
drepper [Wed, 17 Dec 2003 23:09:34 +0000 (23:09 +0000)]
[!__PPC64_ELF_H]: Extent conditional to include typedef elf_vrreg_t.

16 years agoUpdate.
drepper [Wed, 17 Dec 2003 23:04:50 +0000 (23:04 +0000)]
Update.