platform/upstream/glibc.git
20 years agoUpdate.
Ulrich Drepper [Mon, 29 Dec 2003 17:59:41 +0000 (17:59 +0000)]
Update.

2003-12-29  Jakub Jelinek  <jakub@redhat.com>

* posix/regexec.c (re_copy_regs): Revert comment change.
Avoid memory leak if realloc fails.
(proceed_next_node): Return -2 if re_node_set_insert fails.
Return -2 if push_fail_stack fails.
(push_fail_stack): Change fs->alloc only after successful
realloc.
(pop_fail_stack): Formatting.
(set_regs): If proceed_next_node returns -2, free eps_via_nodes
and fs.
(check_arrival_add_next_nodes): Merge identical statements
from if branches.

* signal/Makefile (tests): Add tst-raise.
* signal/tst-raise.c: New test.

20 years agoUpdate.
Ulrich Drepper [Mon, 29 Dec 2003 00:42:16 +0000 (00:42 +0000)]
Update.

* posix/regcomp.c (mark_opt_subexp_iter): Declare IDX as int.

* posix/regexec.c (re_copy_regs): Fix testing for failed allocation.
_IO_peekc_unlocked, _IO_putc_unlocked, _IO_getwc_unlocked, and

20 years agoUpdate.
Ulrich Drepper [Sun, 28 Dec 2003 23:33:48 +0000 (23:33 +0000)]
Update.

* posix/regexec.c (re_copy_regs): Allocate start and end array in
one block.
(push_fail_stack): Add missing check for failed memory allocation.

_IO_peekc_unlocked, _IO_ptc_unlocked, _IO_getwc_unlocked, and
overflow for 0 as argument. Raise Invalid exception for negative args.

20 years agoUpdate.
Ulrich Drepper [Sun, 28 Dec 2003 22:49:12 +0000 (22:49 +0000)]
Update.

2003-12-28  Ulrich Drepper  <drepper@redhat.com>

* libio/libio.h: Use __builtin_expect in _IO_getc_unlocked,
_IO_peekc_unlocked, _IO_ptc_unlcoked, _IO_getwc_unlocked, and
_IO_putwc_unlocked.

20 years agoUse __builtin_expect in _IO_getc_unlocked, _IO_peekc_unlocked, _IO_ptc_unlcoked,...
Ulrich Drepper [Sun, 28 Dec 2003 22:47:59 +0000 (22:47 +0000)]
Use __builtin_expect in _IO_getc_unlocked, _IO_peekc_unlocked, _IO_ptc_unlcoked, _IO_getwc_unlocked, and _IO_putwc_unlocked.

20 years ago(yn_test): Expect invalid exception for negative arguments. (y0_test): Likewise....
Andreas Jaeger [Sun, 28 Dec 2003 20:51:48 +0000 (20:51 +0000)]
(yn_test): Expect invalid exception for negative arguments. (y0_test): Likewise. (y1_test): Likewise.

20 years agoUpdate.
Andreas Jaeger [Sun, 28 Dec 2003 20:51:20 +0000 (20:51 +0000)]
Update.

* sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise only
overflow for 0 as argument. Raise Invalid exception for negative
args.
* sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
* sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y0): Likewise.
* sysdeps/ieee754/ldb-128/e_jnl.c (__ieee754_ynl): Likewise.
* sysdeps/ieee754/ldb-128/e_j0l.c (__ieee754_y0l): Likewise.
* sysdeps/ieee754/ldb-128/e_j1l.c (__ieee754_y1l): Likewise.
* sysdeps/ieee754/ldb-96/e_jnl.c (__ieee754_ynl): Likewise.
* sysdeps/ieee754/ldb-96/e_j0l.c (__ieee754_y0l): Likewise.
* sysdeps/ieee754/ldb-96/e_j1l.c (__ieee754_y1l): Likewise.
* sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
* sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
* sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.

* math/libm-test.inc (yn_test): Expect invalid exception for
negative arguments.
(y0_test): Likewise.
(y1_test): Likewise.

20 years agoUpdate.
Andreas Jaeger [Sun, 28 Dec 2003 18:58:13 +0000 (18:58 +0000)]
Update.

2003-12-28  Andreas Jaeger  <aj@suse.de>

* sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not raise
execptions for exp(NaN).

20 years agoDo not raise execptions for exp(NaN).
Andreas Jaeger [Sun, 28 Dec 2003 18:57:35 +0000 (18:57 +0000)]
Do not raise execptions for exp(NaN).

20 years agoUpdate.
Ulrich Drepper [Sat, 27 Dec 2003 23:40:06 +0000 (23:40 +0000)]
Update.

2003-12-23  Paolo Bonzini  <bonzini@gnu.org>

* posix/regex_internal.c (re_dfa_add_node): Initialize opt_subexp.
* posix/regex_internal.h (re_token_type_t): Put OP_DUP_PLUS
among the tokens, rather than among the epsilon-transiting nodes.
(re_token_t): Add the opt_subexp flag.
* posix/regcomp.c (optimize_utf8, calc_first,
calc_next, calc_epsdest): Don't consider OP_DUP_PLUS.
(mark_opt_subexp, mark_opt_subexp_iter): New functions.
(parse_dup_op): Mostly rewritten, lowering OP_DUP_PLUS to
OP_DUP_ASTERISK and marking optional subexpressions
as such using mark_opt_subexp.
* posix/regexec.c (set_regs): Initialize PREV_INDEX_MATCH
and pass it to update_regs.
(update_regs): Use the PREV_INDEX_MATCH parameter, together
with the opt_subexp flag, in order to discard a final empty
match of a repeated subexpression.
* posix/BOOST.tests: Adjust test vectors.
* posix/PCRE.tests: Likewise.
* posix/rxspencer/tests: Likewise.

2003-12-17  Paolo Bonzini  <bonzini@gnu.org>
2003-12-16  Paolo Bonzini  <bonzini@gnu.org>
2003-12-17  Paolo Bonzini  <bonzini@gnu.org>
2003-12-16  Jakub Jelinek  <jakub@redhat.com>
2003-04-06  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2003-02-20  Paolo Bonzini  <bonzini@gnu.org>
2003-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2003-01-09  Richard Henderson  <rth@redhat.com>
2003-01-09  Richard Henderson  <rth@redhat.com>
2003-01-03  Paul Eggert  <eggert@twinsun.com>

20 years agoUpdate.
Ulrich Drepper [Sat, 27 Dec 2003 07:38:25 +0000 (07:38 +0000)]
Update.

2003-12-23  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/raise.c (raise): Protect pid = selftid
setting with __ASSUME_TGKILL || defined __NR_tgkill.
If pid is 0, set it to selftid.
* sysdeps/unix/sysv/linux/getpid.c (really_getpid): Make inline.
Don't set self->pid but self->tid.  If self->pid == 0 and self->tid
!= 0, return self->tid without doing a syscall.
* descr.h (struct pthread): Move pid field after tid.

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

20 years agoUpdate.
Ulrich Drepper [Sat, 27 Dec 2003 06:09:01 +0000 (06:09 +0000)]
Update.

2003-12-26  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/pthread/pthread.h (pthread_setcancelstate,
pthread_setcanceltype, pthread_cancel, pthread_testcancel): Remove
__THROW.
* semaphore.h (sem_wait, sem_timedwait): Likewise.

20 years agoRemove __THROW from cancellation points.
Ulrich Drepper [Sat, 27 Dec 2003 06:08:32 +0000 (06:08 +0000)]
Remove __THROW from cancellation points.

20 years ago* locales/en_ZA: Correcty typo in changelog (Sofware -> Software).
Roland McGrath [Wed, 24 Dec 2003 02:39:43 +0000 (02:39 +0000)]
* locales/en_ZA: Correcty typo in changelog (Sofware -> Software).

* locales/hr_HR: Correct the email address of Tomislav Vujec.
* locales/ja_JP: Document EUC-JP as the recommended charset.
* locales/ko_KR: List Won-kyu Park as the author/contact for the
locale.
* locales/ru_UA: Correct the email address of Denis V. Dmitrienko.

20 years ago* sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Avoid using ?:
Roland McGrath [Wed, 24 Dec 2003 01:10:17 +0000 (01:10 +0000)]
* sysdeps/i386/fpu/bits/mathinline.h (__expm1_code): Avoid using ?:

with omitted middle operand.

20 years ago* tst-oddstacklimit.c: New file.
Roland McGrath [Tue, 23 Dec 2003 23:07:41 +0000 (23:07 +0000)]
* tst-oddstacklimit.c: New file.

* Makefile (tests): Add it.
(tst-oddstacklimit-ENV): New variable.

* init.c (__pthread_initialize_minimal_internal): Round stack rlimit
value up to page size for __default_stacksize.

20 years ago2003-12-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 23 Dec 2003 23:07:09 +0000 (23:07 +0000)]
2003-12-23  Roland McGrath  <roland@redhat.com>

* init.c (__pthread_initialize_minimal_internal): Round stack rlimit
value up to page size for __default_stacksize.

20 years agoUpdate.
Ulrich Drepper [Tue, 23 Dec 2003 02:29:44 +0000 (02:29 +0000)]
Update.

2003-12-22  Jakub Jelinek  <jakub@redhat.com>

* posix/regcomp.c: Remove C99-ism.
* posix/tst-rxspencer.c: Likewise.
Based on a patch by Alex Davis <alex14641@yahoo.com>.

2002-12-17  Paolo Bonzini  <bonzini@gnu.org>

* posix/regex_internal.h [!_LIBC] (internal_function): Define.
(re_string_allocate, re_string_construct, re_string_reconstruct,
re_string_realloc_buffers, build_wcs_buffer,
build_wcs_upper_buffer, build_upper_buffer,
re_string_translate_buffer, re_string_destruct,
re_string_elem_size_at, re_string_char_size_at,
re_string_wchar_at, re_string_context_at,
re_node_set_alloc, re_node_set_init_1
re_node_set_init_2, re_node_set_init_copy,
re_node_set_add_intersect, re_node_set_init_union,
re_node_set_merge, re_node_set_insert
re_node_set_compare, re_node_set_contains
re_node_set_remove_at, re_dfa_add_node,
re_acquire_state, re_acquire_state_context,
free_state): Add internal_function to declaration.

* posix/regexec.c (match_ctx_init, match_ctx_clean,
match_ctx_free, match_ctx_free_subtops,
match_ctx_add_entry, search_cur_bkref_entry,
match_ctx_clear_flag, match_ctx_add_subtop,
match_ctx_add_sublast, sift_ctx_init,
re_search_internal, re_search_2_stub, re_search_stub,
re_copy_regs, acquire_init_state_context,
prune_impossible_nodes, check_matching,
check_halt_node_context, check_halt_state_context
update_regs, proceed_next_node, push_fail_stack,
pop_fail_stack, set_regs, free_fail_stack_return,
sift_states_iter_mb, sift_states_backward
update_cur_sifted_state, add_epsilon_src_nodes,
sub_epsilon_src_nodes, check_dst_limits,
check_dst_limits_calc_pos, check_subexp_limits,
sift_states_bkref, clean_state_log_if_need,
merge_state_array, transit_state,
check_subexp_matching_top, transit_state_sb,
transit_state_mb, transit_state_bkref,
get_subexp, get_subexp_sub, find_subexp_node,
check_arrival, check_arrival_add_next_nodes,
find_collation_sequence_value, check_arrival_expand_ecl,
check_arrival_expand_ecl_sub, expand_bkref_cache,
build_trtable, check_node_accept_bytes, extend_buffers,
group_nodes_into_DFAstates, check_node_accept): Likewise.

* posix/regex_internal.c (re_string_construct_common,
re_string_skip_chars, create_newstate_common,
register_state, create_ci_newstate, create_cd_newstate,
calc_state_hash): Likewise.
(re_string_peek_byte_case, re_fetch_byte_case): Change
declaration from ANSI to K&R.

2002-12-16  Paolo Bonzini  <bonzini@gnu.org>

* posix/regexec.c (build_trtable): Don't allocate the trtable
until state->word_trtable is known.  Don't hardcode UINT_BITS
iterations on each bitset item.

20 years ago(build_trtable): Don't allocate the trtable until state->word_trtable is known. ...
Ulrich Drepper [Tue, 23 Dec 2003 01:43:19 +0000 (01:43 +0000)]
(build_trtable): Don't allocate the trtable until state->word_trtable is known.  Don't hardcode UINT_BITS iterations on each bitset item.

(match_ctx_init, match_ctx_clean,
match_ctx_free, match_ctx_free_subtops,
match_ctx_add_entry, search_cur_bkref_entry,
match_ctx_clear_flag, match_ctx_add_subtop,
match_ctx_add_sublast, sift_ctx_init,
re_search_internal, re_search_2_stub, re_search_stub,
re_copy_regs, acquire_init_state_context,
prune_impossible_nodes, check_matching,
check_halt_node_context, check_halt_state_context
update_regs, proceed_next_node, push_fail_stack,
pop_fail_stack, set_regs, free_fail_stack_return,
sift_states_iter_mb, sift_states_backward
update_cur_sifted_state, add_epsilon_src_nodes,
sub_epsilon_src_nodes, check_dst_limits,
check_dst_limits_calc_pos, check_subexp_limits,
sift_states_bkref, clean_state_log_if_need,
merge_state_array, transit_state,
check_subexp_matching_top, transit_state_sb,
transit_state_mb, transit_state_bkref,
get_subexp, get_subexp_sub, find_subexp_node,
check_arrival, check_arrival_add_next_nodes,
find_collation_sequence_value, check_arrival_expand_ecl,
check_arrival_expand_ecl_sub, expand_bkref_cache,
build_trtable, check_node_accept_bytes, extend_buffers,
group_nodes_into_DFAstates, check_node_accept): Likewise.

20 years ago* sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init):
Roland McGrath [Mon, 22 Dec 2003 20:30:32 +0000 (20:30 +0000)]
* sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init):

Initialize REF before passing it to _dl_lookup_symbol.

20 years ago* sysdeps/mach/hurd/dl-sysdep.c (_exit): Define with attribute_hidden.
Roland McGrath [Mon, 22 Dec 2003 06:58:32 +0000 (06:58 +0000)]
* sysdeps/mach/hurd/dl-sysdep.c (_exit): Define with attribute_hidden.

20 years ago2003-12-21 Roland McGrath <roland@frob.com>
Roland McGrath [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.

20 years agoUpdate.
Ulrich Drepper [Mon, 22 Dec 2003 06:52:35 +0000 (06:52 +0000)]
Update.

2003-12-21  Jakub Jelinek  <jakub@redhat.com>

* posix/regcomp.c (duplicate_node, duplicate_node_closure): Revert
2003-11-24 changes.
* posix/regexec.c (group_nodes_into_DFAstates): For CHARACTER with
NEXT_{,NOT}WORD_CONSTRAINT check word_char bit.
* posix/bug-regex19.c (tests): Add new tests.

* posix/regexec.c (check_dst_limits_calc_pos): Fix formatting.

* posix/regcomp.c (parse_dup_op): Return NULL if dup_elem is NULL,
after checking syntax.  Optimize.
(calc_first): Fix comment.
* posix/bug-regex13.c (tests): Add new tests.

20 years ago(parse_dup_op): Return NULL if dup_elem is NULL, after checking syntax. Optimize...
Ulrich 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.

20 years ago* manual/arith.texi (Parsing of Integers): Typo fix.
Roland McGrath [Mon, 22 Dec 2003 06:19:32 +0000 (06:19 +0000)]
* manual/arith.texi (Parsing of Integers): Typo fix.

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.

* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [!__PPC64_ELF_H]: Extend

20 years ago2003-12-20 Roland McGrath <roland@frob.com>
Roland McGrath [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.

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

2003-12-21  Ulrich Drepper  <drepper@redhat.com>

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

* eintr.c (eintr_source): Prevent sending signal to self.

* tst-eintr2.c (tf1): Improve error message.

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

20 years ago* sysdeps/m68k/m68020/bits/atomic.h: Avoid matching memory
Andreas Schwab [Sun, 21 Dec 2003 17:32:28 +0000 (17:32 +0000)]
* sysdeps/m68k/m68020/bits/atomic.h: Avoid matching memory

constraints.

* elf/rtld.c (dl_main): Optimize order of subexpressions in if().

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

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

2003-12-20  Ulrich Drepper  <drepper@redhat.com>

* elf/rtld.c (dl_main): Optimize order or subexpressions in if().

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

2003-12-20  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/Makefile (CFLAGS-getpid.c): Define.
* sysdeps/unix/sysv/linux/getpid.c: New file.

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

2003-12-19  Ulrich Drepper  <drepper@redhat.com>

* eintr.c (setup_eintr): Add new parameter.  Pass to thread function.
(eintr_source): If ARG != NULL, use pthread_kill.
* tst-eintr1.c: Adjust for this change.
* tst-eintr2.c: Likewise.
* Makefile (tests): Add tst-eintr3 and tst-eintr4.
* tst-eintr3.c: New file.
* tst-eintr4.c: New file.

2003-12-19  Jakub Jelinek  <jakub@redhat.com>

* libc-cancellation.c (__libc_enable_asynccancel): Don't cancel
if CANCELSTATE_BITMASK is set.
* sysdeps/pthread/librt-cancellation.c (__librt_enable_asynccancel):
Likewise.

* Makefile (tests): Add tst-cancel22 and tst-cancel23.
(tests-reverse): Add tst-cancel23.
* tst-cancel22.c: New test.
* tst-cancel23.c: New test.

20 years agoUpdate.
Ulrich Drepper [Fri, 19 Dec 2003 04:25:14 +0000 (04:25 +0000)]
Update.

2003-12-18  Ulrich Drepper  <drepper@redhat.com>

* stdio-common/printf_fp.c: Add support to use alternative decimal
digits.
* stdio-common/vfprintf.c (vfprintf): Pass use_outdigits flags to
__printf_fp.  Patch by Hamed Malek <hamed@bamdad.org>.

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

* sysdeps/unix/sysv/linux/ia64/jmpbuf-unwind.h: Include stdint.h.

20 years agoUpdate.
Ulrich Drepper [Fri, 19 Dec 2003 01:37:13 +0000 (01:37 +0000)]
Update.

2003-12-18  Ulrich Drepper  <drepper@redhat.com>

* tst-eintr1.c: Better error messages.

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

2003-12-18  Jakub Jelinek  <jakub@redhat.com>

* Makefile (tests): Add tst-cancel21 and tst-cancelx21.
(CFLAGS-tst-cancelx21.c): Set.
* tst-cancel21.c: New test.
* tst-cancelx21.c: New test.

* unwind.c (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.
* pt-longjmp.c: Include jmpbuf-unwind.h.
(__pthread_cleanup_upto): Use _JMPBUF_UNWINDS_ADJ macro instead of
_JMPBUF_UNWINDS.  Adjust compared pointers.
* init.c (__pthread_initialize_minimal_internal): Initialize
pd->stackblock_size.
* sysdeps/pthread/jmpbuf-unwind.h: Removed.
* sysdeps/alpha/jmpbuf-unwind.h: New file.
* sysdeps/i386/jmpbuf-unwind.h: New file.
* sysdeps/powerpc/jmpbuf-unwind.h: New file.
* sysdeps/s390/jmpbuf-unwind.h: New file.
* sysdeps/sh/jmpbuf-unwind.h: New file.
* sysdeps/sparc/sparc32/jmpbuf-unwind.h: New file.
* sysdeps/x86_64/jmpbuf-unwind.h: New file.
* sysdeps/ia64/jmpbuf-unwind.h: Include stdint.h.
(_JMPBUF_CFA_UNWINDS): Remove.
(_JMPBUF_CFA_UNWINDS_ADJ, _JMPBUF_UNWINDS_ADJ): Define.

2003-12-12  Jakub Jelinek  <jakub@redhat.com>

* Makefile (tests): Add tst-cancel20 and tst-cancelx20.
(CFLAGS-tst-cancelx20.c): Set.
* tst-cancel20.c: New test.
* tst-cancelx20.c: New test.

20 years agoUpdate.
Ulrich Drepper [Thu, 18 Dec 2003 06:07:27 +0000 (06:07 +0000)]
Update.

2003-12-18  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/unix/sysv/linux/hppa/clone.S (__clone) [PIC]: Save PIC,
reload PIC if we need to call __syscall_error, cleanup asm.

20 years agoUpdate.
Ulrich Drepper [Thu, 18 Dec 2003 04:02:31 +0000 (04:02 +0000)]
Update.

2003-12-17  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/hppa/fpu/fclrexcpt.c (feclearexcept): Right shift
FE_ALL_EXCEPT before complimenting.
* sysdeps/hppa/fpu/fegetenv.c (fegetenv): Use asm 'ma,' completer,
and gcc '+r' constraint.
* sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
* sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Read raised
exception bits, OR with envp, pass to fesetenv.
* sysdeps/hppa/fpu/fraiseexcpt.c (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.
* sysdeps/hppa/fpu/fsetexcptflg.c (fesetexceptflag): Set enable
bits not raised exception bits.

* sysdeps/hppa/Makefile: Add dl-symaddr and dl-fptr to the
correct build strings.
* sysdeps/hppa/dl-fptr.h: New file.
* sysdeps/hppa/dl-fptr.c: Removed.
* sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Use _dl_make_ftpr,
remove const qualifier for map.
(_dl_function_address): Removed.
* sysdeps/hppa/dl-lookupcfg.h: 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.

* misc/mntent_r.c: Change encoding to match recently changed decoder.

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

20 years ago* thread_dbP.h (DB_FUNCTION): New macro.
Roland McGrath [Thu, 18 Dec 2003 02:51:10 +0000 (02:51 +0000)]
* 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.

20 years ago2003-12-02 Roland McGrath <roland@redhat.com>
Roland McGrath [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.

20 years agoUpdate.
Ulrich Drepper [Thu, 18 Dec 2003 02:27:57 +0000 (02:27 +0000)]
Update.

2003-12-17  Ulrich Drepper  <drepper@redhat.com>

* init.c (__pthread_initialize_minimal_internal): Don't treat
architectures with separate register stack special here when
computing default stack size.

20 years ago(__pthread_initialize_minimal_internal): Don't treat architectures with separate...
Ulrich 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.

20 years ago2003-11-25 Roland McGrath <roland@redhat.com>
Roland McGrath [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.

20 years ago* Makefile (tst-cancelx7-ARGS): New variable.
Roland McGrath [Thu, 18 Dec 2003 02:17:52 +0000 (02:17 +0000)]
* Makefile (tst-cancelx7-ARGS): New variable.

Reportd by Greg Schafer <gschafer@zip.com.au>.

20 years ago2003-12-17 Roland McGrath <roland@redhat.com>
Roland McGrath [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>.

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Dec 2003 23:52:56 +0000 (23:52 +0000)]
Update.

2003-12-17  Jakub Jelinek  <jakub@redhat.com>

* malloc/mtrace.c (tr_old_memalign_hook): New variable.
(tr_memalignhook): New function.
(mtrace): Register tr_memalignhook.
(muntrace): Deregister tr_memalignhook.
* malloc/malloc.c (__posix_memalign): If __memalign_hook != NULL,
call it directly instead of memalign_internal.

2003-12-17  Ulrich Drepper  <drepper@redhat.com>

* misc/mntent_r.c: Change encoding to match recently change decoder.
Patch by Alexander Achenbach <xela@slit.de>.

2003-12-16  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Correct definition of
vrregset_t.

2003-12-16  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [!__PPC64_ELF_H]: Extent
conditional to include typedef elf_vrreg_t.

2002-12-17  Paolo Bonzini  <bonzini@gnu.org>

* posix/regexec.c (re_search_internal): Limit search to the
beginning of the buffer if the initial states are empty for
contexts that do not include CONTEXT_BEGBUF or, if
!preg->newline_anchor, that do not include any one of
CONTEXT_BEGBUF and CONTEXT_NEWLINE.

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Dec 2003 23:04:50 +0000 (23:04 +0000)]
Update.

2003-12-16  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/tcb-offsets.sym [!__powerpc64__]: Remove
conditional so MULTIPLE_THREADS_OFFSET is generated for both.
* sysdeps/powerpc/tls.h [!__powerpc64__]: Remove conditional
so TLS_MULTIPLE_THREADS_IN_TCB is generated for both.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
Include tls.h.

20 years ago(re_search_internal): Limit search to the beginning of the buffer if the initial...
Ulrich Drepper [Wed, 17 Dec 2003 22:58:24 +0000 (22:58 +0000)]
(re_search_internal): Limit search to the beginning of the buffer if the initial states are empty for contexts that do not include CONTEXT_BEGBUF or, if !preg->newline_anchor, that do not include any one of CONTEXT_BEGBUF and CONTEXT_NEWLINE.

20 years ago* sysdeps/generic/system.c (__libc_system): Fix typo, reported by
Andreas Jaeger [Wed, 17 Dec 2003 09:25:26 +0000 (09:25 +0000)]
* sysdeps/generic/system.c (__libc_system): Fix typo, reported by

Kevin Pedretti <pedretti@ieee.org>.

20 years ago* sysdeps/generic/system.c (__libc_system): Fix typo, reported by
Andreas Jaeger [Wed, 17 Dec 2003 09:24:19 +0000 (09:24 +0000)]
* sysdeps/generic/system.c (__libc_system): Fix typo, reported by

Kevin Pedretti <pedretti@ieee.org>.

20 years agoUpdate.
Ulrich Drepper [Wed, 17 Dec 2003 08:36:34 +0000 (08:36 +0000)]
Update.

2003-12-17  Ulrich Drepper  <drepper@redhat.com>

* elf/rtld.c: Don't use strong_alias to define _rtld_local.  This
removes the visibility attributes which might be defined earlier
for some gcc versions.  Instead spell out what strong_alias does
plus the visibility.

20 years agoUpdate.
Ulrich Drepper [Tue, 16 Dec 2003 19:52:22 +0000 (19:52 +0000)]
Update.

2003-12-16  Petter Reinholdtsen  <pere@hungry.com>

* posix/regex_internal.h: Make sure the regex code compile
with non-GCC compilers by hiding attributes.

20 years agoUpdate.
Ulrich Drepper [Tue, 16 Dec 2003 18:58:47 +0000 (18:58 +0000)]
Update.

2002-12-16  Jakub Jelinek  <jakub@redhat.com>
            Paolo Bonzini  <bonzini@gnu.org>

* posix/regexec.c (group_nodes_into_DFAstates): Never produce
dests_ch items that are empty.

20 years agoUpdate.
Ulrich Drepper [Tue, 16 Dec 2003 06:16:27 +0000 (06:16 +0000)]
Update.

* posix/regexec.c (check_arrival): Remove duplicate test.

2003-12-15  Ulrich Drepper  <drepper@redhat.com>

* posix/regcomp.c: Make !RE_ENABLE_I18N work again.
* posix/regex_internal.c: Likewise.
* posix/regexec.c: Likewise.
Patch by Paolo Bonzini.

2003-12-14  Paolo Bonzini  <bonzini@gnu.org>

20 years agoUpdate.
Ulrich Drepper [Mon, 15 Dec 2003 00:56:30 +0000 (00:56 +0000)]
Update.

2003-12-14  Paolo Bonzini  <bonzini@gnu.org>

* posix/regex_internal.c (re_acquire_state_context):
        Compare the node sets after all the other comparisons.

2003-12-13  Paolo Bonzini  <bonzini@gnu.org>

* posix/regexec.c (find_subexp_node, check_arrival,
check_arrival_add_next_nodes, check_arrival_expand_ecl,
check_arrival_expand_ecl_sub, expand_bkref_cache):
Rename the FL_OPEN parameter to TYPE, which is either
OP_OPEN_SUBEXP or OP_CLOSE_SUBEXP.  Callers adjusted.

* Makeconfig (gnulib): If have-cc-with-libunwind is "yes", also
2003-11-12  David Mosberger  <davidm@hpl.hp.com>

20 years ago(find_subexp_node, check_arrival, check_arrival_add_next_nodes, check_arrival_expand_...
Ulrich Drepper [Sun, 14 Dec 2003 23:40:44 +0000 (23:40 +0000)]
(find_subexp_node, check_arrival, check_arrival_add_next_nodes, check_arrival_expand_ecl, check_arrival_expand_ecl_sub, expand_bkref_cache): Rename the FL_OPEN parameter to TYPE, which is either OP_OPEN_SUBEXP or OP_CLOSE_SUBEXP.  Callers adjusted.

20 years agoUpdate.
Andreas Jaeger [Fri, 12 Dec 2003 11:02:21 +0000 (11:02 +0000)]
Update.

2003-12-12  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/syscall.S: Pass also 6th argument
to syscall.

20 years agoPass also 6th argument to syscall.
Andreas Jaeger [Fri, 12 Dec 2003 11:02:04 +0000 (11:02 +0000)]
Pass also 6th argument to syscall.

20 years agoUpdate.
Ulrich Drepper [Fri, 12 Dec 2003 04:32:41 +0000 (04:32 +0000)]
Update.

2003-12-11  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/kernel-features.h: Remove __ASSUME_VSYSCALL.
There might always be processes which have no vDSO.
* sysdeps/generic/dl-sysdep.c: Remove __ASSUME_VSYSCALL uses.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.

20 years agoUpdate.
Ulrich Drepper [Thu, 11 Dec 2003 22:18:39 +0000 (22:18 +0000)]
Update.

2003-12-11  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/generic/dl-fptr.c (COMPARE_AND_SWAP): Pass new and old
in the right order.

20 years agoUpdate.
Ulrich Drepper [Thu, 11 Dec 2003 20:46:47 +0000 (20:46 +0000)]
Update.

2003-12-01  Jes Sorensen  <jes@wildopensource.com>

* rt/tst-clock.c (do_test): Print message when skipping
CLOCK_PROCESS_CPUTIME_ID test.

* sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c: New file.
Provide CLOCK_PROCESS_CPUTIME_ID only if /proc/sal/itc_drift is 0.

peek_token.  This avoids some copying and reduces code size.
(init_dfa): Initialize map_notascii.
(build_wcs_upper_buffer): If map_notascii is zero use simplified

20 years agoUpdate.
Ulrich Drepper [Thu, 11 Dec 2003 09:41:41 +0000 (09:41 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_futex_wait):
Likewise.
(lll_futex_wake): Likewise.

20 years agoUpdate.
Ulrich Drepper [Thu, 11 Dec 2003 09:39:06 +0000 (09:39 +0000)]
Update.

2003-12-11  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_futex_wait):
Assume parameter is a pointer.
(lll_futex_wake): Likewise.
Reported by Boris Hu.
* sysdeps/unix/sysv/linux/unregister-atfork.c
(__unregister_atfork): Pass pointer to refcntr to lll_futex_wait.

* sysdeps/unix/sysv/linux/sem_wait.c (__new_sem_wait): Simplify a bit.

20 years agoUpdate.
Ulrich Drepper [Thu, 11 Dec 2003 04:52:17 +0000 (04:52 +0000)]
Update.

2003-12-10  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/bits/libc-lock.h (__rtld_lock_initialize): Define.
* sysdeps/unix/sysv/linux/fork.c (__libc_fork): Call
__rtld_lock_initialize for ld.so lock.
Patch in part by Adam Li <adam.li@intel.com>.

20 years agoUpdate.
Ulrich Drepper [Wed, 10 Dec 2003 23:02:33 +0000 (23:02 +0000)]
Update.

2003-12-02  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/ia64/elf/initfini.c: Add unwind info.

* sysdeps/ia64/dl-machine.h (elf_machine_matches_host): Mark with
attribute "unused".
(elf_machine_dynamic): Mark with attributes "unused" and "const".
(elf_machine_runtime_setup): Likewise.

* sysdeps/generic/dl-fptr.c (make_fptr_table): Mark with
attribute "always_inline".
* sysdeps/ia64/dl-machine.h (__ia64_init_bootstrap_fdesc_table):
Likewise.

* configure.in: Check whether compiler has libunwind support.
* config.make.in (have-cc-with-libunwind): New variable.
* config.h.in (HAVE_CC_WITH_LIBUNWIND): New macro.
* Makeconfig (gnulib): If have-cc-withh-libunwind is "yes", also
mention -lunwind.

003-11-12  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/unix/sysv/linux/ia64/sysdep.h: Define DO_CALL_VIA_BREAK.
Redefine DO_CALL to use vdso if supported, otherwise DO_CALL_VIA_BREAK.
Likewise for DO_INLINE_SYSCALL.  Make INTERNAL_SYSCALL use
DO_INLINE_SYSCALL.

* sysdeps/unix/sysv/linux/ia64/vfork.S: Use DO_CALL_VIA_BREAK()
instead of DO_CALL().

* sysdeps/unix/sysv/linux/ia64/clone2.S: Use break directly instead
of DO_CALL().

* sysdeps/unix/sysv/linux/ia64/brk.S (__curbrk): Restructure it
to take advantage of DO_CALL() macro.
* sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise.

* elf/rtld.c (dl_main): Restrict dl_sysinfo_dso check to first
program header.  On ia64, the check failed previously because
there are two program headers.

* sysdeps/generic/s_nexttowardf.c: Likewise.
* math/bug-nexttoward.c: New file.

20 years ago(gnulib): If have-cc-withh-libunwind is "yes", also mention -lunwind.
Ulrich Drepper [Wed, 10 Dec 2003 22:27:45 +0000 (22:27 +0000)]
(gnulib): If have-cc-withh-libunwind is "yes", also mention -lunwind.

20 years ago(__asm__): Remove extra .prologue.
Andreas Jaeger [Wed, 10 Dec 2003 05:46:41 +0000 (05:46 +0000)]
(__asm__): Remove extra .prologue.

2003-12-10  Andreas Jaeger  <aj@suse.de>
    Ruediger Oertel  <ro@suse.de>

* sysdeps/alpha/elf/pt-initfini.c (__asm__): Remove extra
.prologue.

20 years agoUpdate.
Andreas Jaeger [Wed, 10 Dec 2003 05:46:12 +0000 (05:46 +0000)]
Update.

2003-12-10  Andreas Jaeger  <aj@suse.de>
    Ruediger Oertel  <ro@suse.de>

* sysdeps/alpha/fpu/e_sqrt.c: Mark sqrt_data as used.

20 years agoMark sqrt_data as used.
Andreas Jaeger [Wed, 10 Dec 2003 05:45:29 +0000 (05:45 +0000)]
Mark sqrt_data as used.

20 years agoFix overflow test.
Ulrich Drepper [Tue, 9 Dec 2003 18:10:47 +0000 (18:10 +0000)]
Fix overflow test.

20 years agoUpdate.
Ulrich Drepper [Sun, 7 Dec 2003 21:22:46 +0000 (21:22 +0000)]
Update.

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

* sysdeps/i386/fpu/s_nexttowardf.c: Construct overflow value correctly.
* sysdeps/i386/fpu/s_nexttoward.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
* math/Makefile (tests): Add bug-nexttoward.
* math/bug-nexttowward.c: New file.

* sysdeps/generic/s_nextafter.c: Make sure overflow exception is set.
* sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
* math/bug-nextafter.c (main): Add tests for overflow and negative
values.

20 years agoUpdate.
Ulrich Drepper [Sun, 7 Dec 2003 03:25:24 +0000 (03:25 +0000)]
Update.

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

* math/Makefile (tests): Add bug-nextafter.
* math/bug-nextafter.c: New file.
* sysdeps/generic/s_nextafter.c: Construct overflow value correctly.
* sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
* math/libm-test.inc (nextafter_test): Add test for overflow after
+/-FLT_MAX etc.

20 years agoUpdate.
Ulrich Drepper [Sun, 7 Dec 2003 01:33:01 +0000 (01:33 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/ia64/pt-initfini.c: Use .init_array
instead of .init.  Patch by David Mosberger.

20 years agoUpdate.
Ulrich Drepper [Sat, 6 Dec 2003 08:11:37 +0000 (08:11 +0000)]
Update.

2003-12-04  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Add masking
of fenv.
* sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag): Likewise.

20 years agoUpdate.
Ulrich Drepper [Sat, 6 Dec 2003 00:20:16 +0000 (00:20 +0000)]
Update.

2003-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/s390/s390-32/elf/setjmp.S (setjmp, __setjmp): Add END
statements.
* sysdeps/s390/s390-64/elf/setjmp.S (setjmp, __setjmp): Likewise.
* sysdeps/s390/s390-32/sysdep.h (ENTRY): Add cfi_startproc directive.
(END): Add cfi_endproc directive.
* sysdeps/s390/s390-64/sysdep.h (ENTRY, END): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/socket.S (__socket): Remove
cfi_startproc and cfi_endproc directive.
* sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Likewise.
* sysdeps/s390/s390-32/addmul_1.S (__mpn_addmul_1): Add CFI directives.
* sysdeps/s390/s390-32/add_n.S (__mpn_add_n): Likewise.
* sysdeps/s390/s390-64/add_n.S (__mpn_add_n): Likewise.
* sysdeps/s390/s390-32/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
Likewise.
* sysdeps/s390/s390-64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
Likewise.
* sysdeps/s390/s390-32/mul_1.S (__mpn_mul_1): Likewise.
* sysdeps/s390/s390-32/sub_n.S (__mpn_sub_n): Likewise.
* sysdeps/s390/s390-64/sub_n.S (__mpn_sub_n): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/mmap.S (__mmap): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error):
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error):
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Add CFI
directives. Move thread_start out of ENTRY/PSEUDO_END block to
make backchain terminate.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.

* sysdeps/s390/s390-32/backtrace.c (trace_arg): New structure.
(unwind_backtrace, unwind_getip): New variables.
(init, __backchain_backtrace, backtrace_helper): New functions.
(__backtrace): Use unwind info for backtrace instead of backchain
walking if the unwind functions can be found.
* sysdeps/s390/s390-64/backtrace.c: Likewise.

* sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: New file.

* sysdeps/unix/sysv/linux/s390/sys/procfs.h (ELF_NGREG32): New #define.
(elf_greg_t32, elf_gregset_t32, elf_fpregset_t32): New types.
(elf_prstatus32, elf_prpsinfo32): New structures.
(prgregset32_t, prfpregset32_t, prstatus32_t, prpsinfo32_t): New types.

* scripts/data/c++-types-s390-linux-gnu.data: New file.
* scripts/data/c++-types-s390x-linux-gnu.data: New file.

20 years agoUpdate.
Ulrich Drepper [Fri, 5 Dec 2003 09:51:08 +0000 (09:51 +0000)]
Update.

2003-11-30  Petter Reinholdtsen  <pere@hungry.com>

* stdlib/strfmon.c: Correct formatting of international currency
values.  The international currency formatting should prefer the
int_* values if they are set for a locale, and use the domestic
values if the int_* values are unset.

20 years agoUpdate.
Ulrich Drepper [Thu, 4 Dec 2003 08:04:57 +0000 (08:04 +0000)]
Update.

2003-12-03  Jakub Jelinek  <jakub@redhat.com>

* posix/Makefile (distribute): Add BOOST.tests.
(tests): Add tst-boost, depend on tst-boost-mem.
(generated): Add tst-boost-mem and tst-boost.mtrace.
(tst-boost-ARGS, tst-boost-ENV): Set.
($(objpfx)tst-boost-mem): New.
* posix/tst-boost.c: New test.
* posix/BOOST.tests: New file.

* posix/Makefile (distribute): Add PCRE.tests.
(tests): Add tst-pcre, depend on tst-pcre-mem.
(generated): Add tst-pcre-mem and tst-pcre.mtrace.
(tst-pcre-ARGS, tst-pcre-ENV): Set.
($(objpfx)tst-pcre-mem): New.
* posix/tst-pcre.c: New test.
* posix/PCRE.tests: New file.

2003-12-02  Jakub Jelinek  <jakub@redhat.com>

* intl/locale.alias: Use nb_NO instead of no_NO for bokm.l.

* sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
* sysdeps/s390/fpu/libm-test-ulps: Regenerated.

20 years agoUpdate.
Ulrich Drepper [Thu, 4 Dec 2003 04:50:58 +0000 (04:50 +0000)]
Update.

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

* locale/programs/locarchive.c (enlarge_archive): Print size info
only in verbose mode.

* locale/iso-3166.def: Three letter code of Romania changed.

20 years agoThree letter code of Romania changed.
Ulrich Drepper [Thu, 4 Dec 2003 04:33:59 +0000 (04:33 +0000)]
Three letter code of Romania changed.

20 years agoUpdate.
Andreas Jaeger [Wed, 3 Dec 2003 06:51:00 +0000 (06:51 +0000)]
Update.

2003-11-30  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/pthread/configure.in: Remove broken declaration in C
cleanup handling check.

20 years agoRemove broken declaration.
Andreas Jaeger [Wed, 3 Dec 2003 06:50:01 +0000 (06:50 +0000)]
Remove broken declaration.

20 years ago* scripts/config.sub: Update from master, timestamp='2003-10-20'.
Roland McGrath [Wed, 3 Dec 2003 01:30:34 +0000 (01:30 +0000)]
* scripts/config.sub: Update from master, timestamp='2003-10-20'.

* scripts/config.guess: Update from master, timestamp='2003-10-20'.

20 years ago2003-12-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 3 Dec 2003 01:30:27 +0000 (01:30 +0000)]
2003-12-02  Roland McGrath  <roland@redhat.com>

* scripts/config.sub: Update from master, timestamp='2003-10-20'.
* scripts/config.guess: Update from master, timestamp='2003-10-20'.

20 years agoUpdate.
Andreas Jaeger [Tue, 2 Dec 2003 07:39:45 +0000 (07:39 +0000)]
Update.

2003-11-30  Andreas Jaeger  <aj@suse.de>

* config.make.in (fno-unit-at-a-time): Define.

* configure.in: Add test for -fno-unit-at-a-time.
Fix text for -fpie.

* csu/Makefile (CFLAGS-initfini.s): Add $(fno_unit_at_a_time).
* locale/Makefile (CFLAGS-loadlocale.c): Likewise.

20 years ago* config.make.in (fno-unit-at-a-time): Define.
Andreas Jaeger [Tue, 2 Dec 2003 07:37:28 +0000 (07:37 +0000)]
* config.make.in (fno-unit-at-a-time): Define.

* configure.in: Add test for -fno-unit-at-a-time.
Fix text for -fpie.

* csu/Makefile (CFLAGS-initfini.s): Add $(fno_unit_at_a_time).
* locale/Makefile (CFLAGS-loadlocale.c): Likewise.

For linuxthreads:
* Makefile (CFLAGS-pt-initfini.s): Add $(fno_unit_at_a_time).
* sysdeps/unix/sysv/linux/x86_64/Makefile (CFLAGS-pt-initfini.s):
Likewise.

For nptl:
* Makefile (CFLAGS-pt-initfini.s): Add $(fno_unit_at_a_time).
* sysdeps/unix/sysv/linux/x86_64/Makefile (CFLAGS-pt-initfini.s):
Likewise.

20 years agoRemade for stable-2.3.3 cvs/glibc-2_3_3 glibc-2.3.3
Ulrich Drepper [Mon, 1 Dec 2003 08:29:33 +0000 (08:29 +0000)]
Remade for stable-2.3.3

20 years agoAutomatic version bump.
Ulrich Drepper [Mon, 1 Dec 2003 08:28:54 +0000 (08:28 +0000)]
Automatic version bump.

2003-12-01  Automatic

* version.h (VERSION): Bump to 2.3.3.

20 years agoUpdate.
Andreas Jaeger [Sun, 30 Nov 2003 19:21:56 +0000 (19:21 +0000)]
Update.

2003-11-30  Andreas Jaeger  <aj@suse.de>

* stdio-common/vfprintf.c: Do not inline buffered_vfprintf to
decrease stack usage.

20 years agoDo not inline buffered_vfprintf to decrease stack usage.
Andreas Jaeger [Sun, 30 Nov 2003 19:21:39 +0000 (19:21 +0000)]
Do not inline buffered_vfprintf to decrease stack usage.

20 years ago* sysdeps/unix/sysv/linux/m68k/sysdep.h (PSEUDO_ERRVAL)
Andreas Schwab [Sun, 30 Nov 2003 16:45:12 +0000 (16:45 +0000)]
* sysdeps/unix/sysv/linux/m68k/sysdep.h (PSEUDO_ERRVAL)

(PSEUDO_END_ERRVAL, ret_ERRVAL): Define.

20 years ago(PSEUDO_ERRVAL) (PSEUDO_END_ERRVAL, ret_ERRVAL): Define.
Andreas Schwab [Sun, 30 Nov 2003 16:44:48 +0000 (16:44 +0000)]
(PSEUDO_ERRVAL) (PSEUDO_END_ERRVAL, ret_ERRVAL): Define.

20 years agoRemade for stable-2.3.2
Ulrich Drepper [Sat, 29 Nov 2003 22:34:56 +0000 (22:34 +0000)]
Remade for stable-2.3.2

20 years agoUpdate.
Ulrich Drepper [Sat, 29 Nov 2003 22:07:02 +0000 (22:07 +0000)]
Update.

2003-11-29  Ulrich Drepper  <drepper@redhat.com>

* misc/mntent_r.c (decode_name): Be compatible with util-linux and
recognize \134 as well.

(ELF_NGREG): New #define.
(elf_greg_t): New type.
(pt_all_user_regs): New type.

20 years agoUpdate.
Ulrich Drepper [Sat, 29 Nov 2003 07:30:00 +0000 (07:30 +0000)]
Update.

2003-10-09  H.J. Lu  <hongjiu.lu@intel.com>

* sysdeps/ia64/fpu/fraiseexcpt.c: Don't include <asm/fpu.h>.

2003-10-08  H.J. Lu  <hongjiu.lu@intel.com>

* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Don't include
<asm/fpu.h>.
(struct ia64_fpreg): New definition.

* sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Don't include
<asm/elf.h>.
(ELF_NGREG): New.
(ELF_NFPREG): Likewise.
(elf_greg_t): Likewise.
(elf_gregset_t): Likewise.
(elf_fpreg_t): Likewise.
(elf_fpregset_t): Likewise.

2003-10-08  H.J. Lu  <hongjiu.lu@intel.com>

* sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Include
<sys/ucontext.h>.
(__ptrace_request): Add PTRACE_GETREGS and PTRACE_SETREGS.
(pt_all_user_regs): New.

20 years agoUpdate.
Ulrich Drepper [Sat, 29 Nov 2003 07:20:47 +0000 (07:20 +0000)]
Update.

2003-10-10  Simon Josefsson  <jas@extundo.com>

* argp/argp-namefrob.h [!_LIBC]: Include mempcpy.h, strcase.h,
strchrnul.h, strndup.h (from gnulib).
* argp/argp-parse.c: Add alloca.h include snippet verbatim from
Autoconf manual.
* argp/argp-help.c: Replace alloca.h include snipper with verbatim
Autoconf manual version.
* argp/argp.h: Map __restrict to restrict or empty string when
necessary, copied verbatim from posix/regex.h.

20 years agoUpdate.
Ulrich Drepper [Sat, 29 Nov 2003 06:51:23 +0000 (06:51 +0000)]
Update.

2003-10-09  Steven Munroe  <sjmunroe@us.ibm.com>

* Makefile: Allow for c++-types-$(config-machine)-$(config-os).data in
addition to c++-types-$(base-machine)-$(config-os).data.
* scripts/data/c++-types-powerpc-linux-gnu.data: New file.
* scripts/data/c++-types-powerpc64-linux-gnu.data: New file.

20 years agoUpdate.
Ulrich Drepper [Sat, 29 Nov 2003 06:40:52 +0000 (06:40 +0000)]
Update.

* misc/mntent_r.c (decode_name): Fix decoding of tab, add decoding
of newline.
* manual/sysinfo.texi (mtab): Adjust description accordingly.
Reported by Andries.Brouwer@cwi.nl.

20 years agoUpdate.
Ulrich Drepper [Sat, 29 Nov 2003 06:13:09 +0000 (06:13 +0000)]
Update.

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

* sysdeps/x86_64/fpu/libm-test-ulps: Add some more minor changes
to compensate other setup.

2003-11-27  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for new atan2 test.

* math/libm-test.inc (atan2_test): Add test that run infinitly.
Reported by "Willus" <etc231etc231@willus.com>.

2003-11-27  Michael Matz  <matz@suse.de>

* sysdeps/ieee754/dbl-64/mpsqrt.c (fastiroot): Fix 64-bit problem
with wrong types.

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

* posix/regexec.c (acquire_init_state_context): Make inline.
Add always_inline attribute.
(check_matching): Add BE macro.  Move if (cur_state->has_backref)
into if (dfa->nbackref).
(sift_states_backward): Fix comment.
(transit_state): Add BE macro.  Move if (next_state->has_backref)
into if (dfa->nbackref && next_state).  Don't check for next_state
!= NULL twice.
* posix/regcomp.c (peek_token): Use opr.ctx_type instead of opr.idx
for ANCHOR.
(parse_expression): Only call init_word_char if word context will be
needed.

* posix/bug-regex11.c (tests): Add new tests.

* posix/tst-regex.c: Include getopt.h.
(timing): New variable.
(main): Set timing to 1 if --timing argument is present.
Add 2 new tests.
(run_test, run_test_backwards): Handle timing.

2003-11-27  Jakub Jelinek  <jakub@redhat.com>

* posix/regex_internal.h (re_string_t): Remove mbs_case field.
Add offsets, valid_raw_len, raw_len, raw_stop, mbs_allocated and
offsets_needed fields.  Change icase, is_utf8 and map_notascii
type from int bitfield to unsigned char.
(MBS_ALLOCATED, MBS_CASE_ALLOCATED): Remove.
(build_wcs_upper_buffer): Change prototype to return int.
(re_string_peek_byte_case, re_string_fetch_byte_case): Remove
defines, add prototypes.
* posix/regex_internal.c (re_string_allocate): Don't initialize
stop here.  Don't initialize mbs_case.  Set valid_raw_len.
Use mbs_allocated instead of MBS_* macros.
(re_string_construct): Don't initialize stop and valid_len here.
Don't initialize mbs_case.  Use mbs_allocated instead of MBS_*
macros.  Reallocate buffers if build_wcs_upper_buffer converted
too few bytes.  Set valid_len to bufs_len only for single byte
no translation and set in that case valid_raw_len as well.
(re_string_realloc_buffers): Reallocate offsets if not NULL.
Use mbs_allocated instead of MBS_ALLOCATED.  Don't reallocate
mbs_case.
(re_string_construct_common): Initialize raw_len, mbs_allocated,
stop and raw_stop.
(build_wcs_buffer): Apply pstr->trans before mbrtowc instead of
after it.  Set valid_raw_len.  Don't set mbs_case.
(build_wcs_upper_buffer): Return REG_NOERROR or REG_ESPACE.
Only use the fast path if !pstr->offsets_needed.  Apply pstr->trans
before mbrtowc instead of after it.  If upper case character
uses different number of bytes than lower case, goto to the
slow path.  Don't call towupper unnecessarily twice.  Set
valid_raw_len as well.  Handle in the slow path the case if
lower and upper case use different number of characters.
Don't set mbs_case.
(re_string_skip_chars): Use valid_raw_len instead of valid_len.
(build_upper_buffer): Don't set mbs_case.  Add BE macro.  Set
valid_raw_len.
(re_string_translate_buffer): Set mbs instead of mbs_case.  Set
valid_raw_len.
(re_string_reconstruct): Use raw_len/raw_stop to initialize
len/stop.  Clear valid_raw_len and offsets_needed when clearing
valid_len.  Use mbs_allocated instead of MBS_* macros.
Check original offset against valid_raw_len instead of valid_len.
Remove mbs_case handling.  Adjust valid_raw_len together with
valid_len.  If is_utf8 and looking for tip context, apply
pstr->trans first.  If buffers start with partial multi-byte
character, initialize mbs array as well if mbs_allocated.
Check return value of build_wcs_upper_buffer.
(re_string_peek_byte_case): New function.
(re_string_fetch_byte_case): New function.
(re_string_destruct): Use mbs_allocated instead of MBS_ALLOCATED.
Don't free mbs_case.  Free offsets.
* posix/regcomp.c (init_dfa): Only check if charset name is UTF-8
if mb_cur_max == 6.
* posix/regexec.c (re_search_internal): Initialize input.raw_stop
as well.  Use valid_raw_len instead of valid_len when looking
through fastmap.  Adjust registers through input.offsets.
(extend_buffers): Allow build_wcs_upper_buffer to fail.
* posix/bug-regex18.c (tests): Enable #ifdefed out tests.  Add new
tests.

20 years agoUpdate.
Ulrich Drepper [Thu, 27 Nov 2003 05:32:46 +0000 (05:32 +0000)]
Update.

2003-11-26  Jakub Jelinek  <jakub@redhat.com>

* posix/regexec.c (check_subexp_limits): Only check close
subexpression limitation if one is found.  Formatting.
(sift_states_backward, check_arrival, check_arrival_add_next_nodes):
Formatting.
* posix/bug-regex11.c (tests): Enable most #ifdefed out tests.
Add new test.