external/glibc.git
22 years ago(malloc): Declare _end as hidden. (__errno_location): New function. Declare errno...
Ulrich Drepper [Fri, 15 Mar 2002 03:09:42 +0000 (03:09 +0000)]
(malloc): Declare _end as hidden. (__errno_location): New function.  Declare errno as hidden.

22 years agorevert accidental check-in
Roland McGrath [Thu, 14 Mar 2002 23:35:43 +0000 (23:35 +0000)]
revert accidental check-in

22 years ago* Makerules ($(common-objpfx)Versions.v.i): Depend on abi-versions.h.
Roland McGrath [Thu, 14 Mar 2002 23:33:10 +0000 (23:33 +0000)]
* Makerules ($(common-objpfx)Versions.v.i): Depend on abi-versions.h.

* Makeconfig (%.v.i, %.v): New implicit rules.
(preprocess-versions): Variable removed.
($(common-objpfx)shlib-versions.v.i): New target giving just the
shlib-versions input files as dependencies.
($(common-objpfx)soversions.i): Depend on that instead of the input
files.  Use it as input instead of using a pipeline.
(postclean-generated): Append soversions.i, shlib-versions.v, and
shlib-versions.v.i here.
* Makerules ($(common-objpfx)Versions.def.v.i): New target giving just
the Versions.def input files as dependencies.
($(common-objpfx)Versions.v.i): Likewise for Versions files.
($(common-objpfx)Versions.all): Depend on that instead of the input
files.  Use it as input instead of using a pipeline.
($(common-objpfx)sysd-versions): Likewise with Versions.v.i.
(postclean-generated): Append those .v and .v.i files here.

22 years ago2002-03-14 Roland McGrath <roland@frob.com>
Roland McGrath [Thu, 14 Mar 2002 23:32:50 +0000 (23:32 +0000)]
2002-03-14  Roland McGrath  <roland@frob.com>

* Makerules ($(common-objpfx)Versions.v.i): Depend on abi-versions.h.
* Makeconfig (%.v.i, %.v): New implicit rules.
(preprocess-versions): Variable removed.
($(common-objpfx)shlib-versions.v.i): New target giving just the
shlib-versions input files as dependencies.
($(common-objpfx)soversions.i): Depend on that instead of the input
files.  Use it as input instead of using a pipeline.
(postclean-generated): Append soversions.i, shlib-versions.v, and
shlib-versions.v.i here.
* Makerules ($(common-objpfx)Versions.def.v.i): New target giving just
the Versions.def input files as dependencies.
($(common-objpfx)Versions.v.i): Likewise for Versions files.
($(common-objpfx)Versions.all): Depend on that instead of the input
files.  Use it as input instead of using a pipeline.
($(common-objpfx)sysd-versions): Likewise with Versions.v.i.
(postclean-generated): Append those .v and .v.i files here.

22 years agoUpdate.
Ulrich Drepper [Thu, 14 Mar 2002 20:48:50 +0000 (20:48 +0000)]
Update.

2002-03-14  Jakub Jelinek  <jakub@redhat.com>

* locale/broken_cur_max.c (__ctype_get_mb_cur_max): Use nl_langinfo.
* locale/Versions (_nl_current_LC_COLLATE, _nl_current_LC_CTYPE):
Remove.

2002-03-14  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/mp_clz_tab.c: New file.
* sysdeps/i386/mp_clz_tab.c: New file.
* sysdeps/hppa/mp_clz_tab.c: New file.
* sysdeps/powerpc/mp_clz_tab.c: New file.
* stdlib/Makefile (aux): Revert last patch.
* math/Makefile (gmp-objs): Likewise.

2002-03-13  Paul Eggert  <eggert@twinsun.com>

* time/strftime.c: Comment fixes for references to obsolescent
standards, In most cases the simplest fix is to remove the
confusing comments.  Cross-referencing all the standards properly
is a bit of a pain, and it should be enough to put that info in
the documentation as I did in my recent time.texi patch.

2002-03-13  Paul Eggert  <eggert@twinsun.com>

* manual/time.texi (Formatting Calendar Time):
ISO C99 also specifies the E and O modifiers.
%P is a GNU extension, and is not in ISO C99.
Mention that %r is equivalent to %I:%M:%S %p in the POSIX locale.
%T is also in ISO C99.
The RFC 822 example is not valid in arbitrary locales.
Reword the POSIX.2 wording slightly, to make it a bit clearer
that POSIX.2 formats are also supported by later POSIX versions.
If a format was introduced in ISO C99 it is also required by
POSIX.1-2001.

22 years agoUpdate.
Ulrich Drepper [Thu, 14 Mar 2002 00:57:10 +0000 (00:57 +0000)]
Update.

* sysdeps/gnu/errlist.awk: Define _sys_errlist_internal and
_sys_nerr_internal with INTVARDEF2.
* include/libc-symbols.h (INTVARDEF2): New macro.
* include/stdio.h (_sys_errlist_internal): Declare as hidden.
(_sys_nerr_internal): Library.

* sysdeps/posix/signal.c (_sigintr): Define as hidden.
* sysdeps/posix/sigintr.c (_sigintr): Declare as hidden.

22 years agoUpdate.
Ulrich Drepper [Wed, 13 Mar 2002 23:44:36 +0000 (23:44 +0000)]
Update.

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

* stdio-common/tst-printf.sh: Adjust for last change in tst-printf.c.

22 years agoUpdate.
Ulrich Drepper [Wed, 13 Mar 2002 23:27:20 +0000 (23:27 +0000)]
Update.

2002-03-13  Wolfram Gloger  <wg@malloc.de>

* malloc/malloc.c (sYSMALLOc): Don't change brk if mmap failed.

2002-03-02  Andreas Schwab  <schwab@suse.de>

* stdio-common/vfprintf.c (process_arg): Fix decimal format with
'h' flag and positional arg.
* stdio-common/tst-printf.c (rfg3): New function to test
positional arguments.
(main): Fix some warnings.

2002-03-13  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-minimal.c (_itoa): Use _itoa_lower_digits_internal if SHARED.
* elf/dl-reloc.c (_dl_reloc_bad_type): Likewise.

22 years agoUpdate.
Ulrich Drepper [Wed, 13 Mar 2002 19:21:13 +0000 (19:21 +0000)]
Update.

* grp/initgroups.c (__nss_group_data): Declare as hidden.

22 years agoUpdate.
Ulrich Drepper [Wed, 13 Mar 2002 09:38:59 +0000 (09:38 +0000)]
Update.

* include/locale.h (_nl_C_locobj): Declare as hidden.

* time/asctime.c (_nl_C_LC_TIME): Declare as hidden.
* time/strptime.c (_nl_C_LC_TIME): Likewise.

* include/netinet/in.h (in6addr_any_internal): Mark as hidden.

* include/sys/gmon.h: Declare _gmonparam as hidden.

* locale/lc-ctype.c (__ctype32_wctype): Declare as hidden.
(__ctype32_wctrans): Likewise.
(__ctype32_width): Likewise.

22 years agoUpdate.
Ulrich Drepper [Wed, 13 Mar 2002 08:59:47 +0000 (08:59 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/ttyname.c: Comment out definition and
use of __ttyname.

* posix/regcomp.c (__re_error_msgid): Renamed from re_error_msgid.
Define as hidden.
(__re_error_msgid_idx): Renamed from re_error_msgid_idx.  Define as
hidden.  Change all users of these variables.

* posix/regex_internal.h (__re_error_msgid): Renamed from
re_error_msgid.  Declare as hidden.
(__re_error_msgid_idx): Renamed from re_error_msgid_idx.  Declare as
hidden.

* stdio-common/reg-printf.c (__printf_arginfo_table): Define as hidden.
(__printf_function_table): Likewise.
* stdio-common/printf-parse.h (__printf_arginfo_table): Declare as
hidden.
(__printf_function_table): Likewise.

* nscd/nscd_proto.h: Declare __nss_not_use_nscd_passwd,
__nss_not_use_nscd_group, and __nss_not_use_nscd_hosts as hidden.

* nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Define as hidden.
* nss/nsswitch.c: Declare _nss_*_database as hidden.

* stdlib/wctomb.c (__no_r_state): Declare as hidden.
* stdlib/mbtowc.c (__no_r_state): Define as hidden.

22 years agoUpdate.
Ulrich Drepper [Wed, 13 Mar 2002 06:33:52 +0000 (06:33 +0000)]
Update.

* ctype/ctype-info.c: Declare _nl_C_LC_CTYPE_class,
_nl_C_LC_CTYPE_class32, _nl_C_LC_CTYPE_toupper, _nl_C_LC_CTYPE_tolower,
_nl_C_LC_CTYPE_class_upper, _nl_C_LC_CTYPE_class_lower,
_nl_C_LC_CTYPE_class_alpha, _nl_C_LC_CTYPE_class_digit,
_nl_C_LC_CTYPE_class_xdigit, _nl_C_LC_CTYPE_class_space,
_nl_C_LC_CTYPE_class_print, _nl_C_LC_CTYPE_class_graph,
_nl_C_LC_CTYPE_class_blank, _nl_C_LC_CTYPE_class_cntrl,
_nl_C_LC_CTYPE_class_punct, _nl_C_LC_CTYPE_class_alnum,
_nl_C_LC_CTYPE_map_toupper, _nl_C_LC_CTYPE_map_tolower, and
_nl_C_LC_CTYPE_width: Declare as hidden.
* include/locale.h: Declare _nl_locale_file_list.
* locale/C-address.c: Define _nl_C_LC_ADDRESS as hidden.
* locale/C-collate.c: Define _nl_C_LC_COLLATE as hidden.
* locale/C-identification.c: Define _nl_C_LC_IDENTIFICATION as hidden.
* locale/C-measurement.c: Define _nl_C_LC_MEASUREMENT as hidden.
* locale/C-messages.c: Define _nl_C_LC_MESSAGES as hidden.
* locale/C-monetary.c: Define _nl_C_LC_MONETARY as hidden.
* locale/C-name.c: Define _nl_C_LC_NAME as hidden.
* locale/C-numeric.c: Define _nl_C_LC_NUMERIC as hidden.
* locale/C-paper.c: Define _nl_C_LC_PAPER as hidden.
* locale/C-telephone.c: Define _nl_C_LC_TELEPHONE as hidden.
* locale/C-time.c: Define _nl_C_LC_TIME as hidden.
* locale/C-ctype.c: Define _nl_C_LC_CTYPE_class,
_nl_C_LC_CTYPE_class32, _nl_C_LC_CTYPE_toupper, _nl_C_LC_CTYPE_tolower,
_nl_C_LC_CTYPE_class_upper, _nl_C_LC_CTYPE_class_lower,
_nl_C_LC_CTYPE_class_alpha, _nl_C_LC_CTYPE_class_digit,
_nl_C_LC_CTYPE_class_xdigit, _nl_C_LC_CTYPE_class_space,
_nl_C_LC_CTYPE_class_print, _nl_C_LC_CTYPE_class_graph,
_nl_C_LC_CTYPE_class_blank, _nl_C_LC_CTYPE_class_cntrl,
_nl_C_LC_CTYPE_class_punct, _nl_C_LC_CTYPE_class_alnum,
_nl_C_LC_CTYPE_map_toupper, _nl_C_LC_CTYPE_map_tolower,
_nl_C_LC_CTYPE_width, and as hidden.
* locale/findlocale.c: Declare _nl_C as hidden.
* locale/newlocale.c: Likewise.
* locale/setlocale.c: Define _nl_C as hidden.  Remove declaration of
_nl_locale_file_list.
* locale/xlocale.c: Declare _nl_C_LC_CTYPE_class,
_nl_C_LC_CTYPE_toupper, and _nl_C_LC_CTYPE_tolower as hidden.
Define _nl_C_locobj as hidden.

* malloc/mtrace.c (_mtrace_file): Define as hidden.
(_mtrace_line): Likewise.

* include/time.h: Declare __mon_yday as hidden.
* time/strptime.c [_LIBC] (__mon_yday): Remove declaration.

* libio/libioP.h: Declare __libio_codecvt as hidden.
* libio/fileops.c: Declare __libio_translit as hidden.
* libio/iofwide.c: Define __libio_translit as hidden.

* login/getutent_r.c: Define __libc_utmp_lock as hidden.
* login/getutid_r.c: Declare __libc_utmp_lock as hidden.
* login/getutline_r.c: Likewise.
* login/utmpname.c: Likewise.

* login/utmp-private.h: Declare __libc_utmp_file_functions,
__libc_utmp_unknown_functions, __libc_utmp_jump_table, and
__libc_utmp_file_name as hidden.

* locale/setlocale.c (__libc_setlocale_lock): Define as hidden.
* locale/duplocale.c (__libc_setlocale_lock): Declare as hidden.
* locale/freelocale.c: Likewise.
* locale/lc-time.c: Likewise.

* sysdeps/unix/bsd/getpt.c (__libc_ptyname1): Define as hidden.
(__libc_ptyname2): Likewise.
* sysdeps/unix/sysv/linux/ptsname.c (__libc_ptyname1): Declare as
hidden.
(__libc_ptyname2): Likewise.

* sysdeps/generic/sbrk.c: Declare __libc_multiple_libcs as hidden.
* sysdeps/arm/init-first.c (__libc_multiple_libcs): Define as hidden.
* sysdeps/generic/init-first.c: Likewise.
* sysdeps/i386/init-first.c: Likewise.
* sysdeps/mach/hurd/i386/init-first.c: Likewise.
* sysdeps/mach/hurd/mips/init-first.c: Likewise.
* sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
* sysdeps/sh/init-first.c: Likewise.
* sysdeps/unix/sysv/aix/init-first.c: Likewise.
* sysdeps/unix/sysv/linux/init-first.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Wed, 13 Mar 2002 02:17:12 +0000 (02:17 +0000)]
Update.

* stdio-common/itowa-digits.c (_itowa_lower_digits): Define as hidden.
(_itowa_upper_digits): Likewise.

* libio/stdio.c (_IO_stdin, _IO_stdout, _IO_stderr): Define as hidden.
* libio/libio.h [_LIBC] (_IO_stdin, _IO_stdout, _IO_stderr): Declare
as hidden.

* libio/libioP.h: Declare _IO_file_jumps_mmap, _IO_wfile_jumps,
_IO_wfile_jumps_mmap, _IO_proc_jumps, _IO_old_proc_jumps,
_IO_str_jumps, _IO_wstr_jumps, _IO_file_jumps_internal,
_IO_wfile_jumps_internal, and _IO_list_all_internal as hidden.

* gmon/gmon.c (__bb_head): Define as hidden.
* gmon/bb_exit_func.c (__bb_head): Declare as hidden.

* argp/argp-parse.c (_argp_hang): Define as static.

* include/libc-symbols.h (_INTVARDEF): Adjust for visibility
handling in latest compilers.

* inet/in6_addr.c (in6addr_any): Use INTVARDEF not INTDEF to
define alias.
* libio/fileops.c (_IO_file_jumps): Likewise.
* libio/stdfiles.c (_IO_list_all): Likewise.
* libio/wfileops.c (_IO_wfile_jumps): Likewise.

* malloc/malloc.h: Move __libc_malloc_initialized declaration to
include/malloc.h.
* include/malloc.h: Add __libc_malloc_initialized declaration
here.  Mark variable hidden.
* malloc/malloc.c: Include <malloc.h> not "malloc.h".

* elf/dl-open.c (__libc_argc): Declare as hidden.
(__libc_argv): Likewise.
* sysdeps/generic/wordexp.c (__libc_argc): Declare as hidden.
(__libc_argv): Likewise.
* sysdeps/mach/hurd/i386/init-first.c: Define __libc_argc and
__libc_argv as hidden.
* sysdeps/mach/hurd/mips/init-first.c: Likewise.
* sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
* sysdeps/unix/sysv/aix/init-first.c: Likewise.
* sysdeps/unix/sysv/linux/init-first.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Tue, 12 Mar 2002 20:04:56 +0000 (20:04 +0000)]
Update.

* include/stdlib.h (__libc_drand48_data): Declare as hidden.
* stdlib/drand48.c: Remove declaration of __libc_drand48_data here.
* stdlib/erand48.c: Likewise.
* stdlib/jrand48.c: Likewise.
* stdlib/lcong48.c: Likewise.
* stdlib/lrand48.c: Likewise.
* stdlib/mrand48.c: Likewise.
* stdlib/nrand48.c: Likewise.
* stdlib/seed48.c: Likewise.
* stdlib/srand48.c: Likewise.

* stdio-common/_itoa.c (_itoa_base_table): Declare as hidden.
(_itoa_lower_digits_internal): New declaration.
(_itoa_upper_digits_internal): New declaration.
(_itoa): Use INTUSE to acces _itoa_upper_digits and _itoa_lower_digits.
* stdio-common.h (_itoa_lower_digits_internal): New declaration.
(_itoa_upper_digits_internal): New declaration.
(_itoa_word): Use INTUSE to acces _itoa_upper_digits and
_itoa_lower_digits.
* stdio-common/itoa-digits.c: Use INTVARDEF with _itoa_lower_digits.
* stdio-common/itoa-udigits.c: Use INTVARDEF with _itoa_upper_digits.

* elf/dl-minimal.c (_itoa): Declare _itoa_lower_digits as hidden.
* elf/dl-reloc.c (_dl_reloc_bad_type): Likewise.

* stdio-common/_itowa.c (_itoa_base_table): Declare as hidden.
(_itowa_lower_digits): Likewise.
(_itowa_upper_digits): Likewise.
* stdio-common/_itowa.h (_itowa_lower_digits): Likewise.
(_itowa_upper_digits): Likewise.

* intl/plural-exp.h (attribute_hidden): Define as empty macro if
not already defined.
(GERMANIC_PLURAL): Declare as hidden.

* posix/getopt.c (__getopt_initialized): Declare as hidden.
(attribute_hidden): Define as empty macro if not already defined.

* iconv/gconv_int.h (__gconv_path_elem): Declare hidden.
(__gconv_max_path_elem_len): Likewise.
(__gconv_path_envvar): Likewise.

* math/Makefile (gmp-objs): Remove mp_clz_tab.
* stdlib/Makefile (aux): Remove mp_clz_tab.
* stdlib/mp_clz_tab.c: Removed.  Not needed anywhere.

* stdlib/exit.h (__exit_funcs): Declare as hidden.

22 years agoUpdate.
Ulrich Drepper [Tue, 12 Mar 2002 10:25:36 +0000 (10:25 +0000)]
Update.

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

* posix/bug-regex5.c (main): Use nl_langinfo instead of _NL_CURRENT.

* locale/localeinfo.h: Add attribute_hidden to _nl_current_LC_XXX,
_nl_category_names, _nl_category_name_sizes, _nl_current,
_nl_C_name, _nl_POSIX_name, _nl_C_codeset, and _nl_C_LC_XXX.

* intl/dcigettext.c (_nl_default_default_domain): Define as hidden.
(_nl_current_default_domain): Likewise
(_nl_state_lock): Likewise.
* intl/textdomain.c (_nl_default_default_domain): Declare as hidden.
(_nl_current_default_domain): Likewise
(_nl_state_lock): Likewise.
* intl/bindtextdom.c (_nl_state_lock): Likewise.

* stdlib/fpioconst.h (__tens): Add attribute_hidden.
(_fpioconst_pow10): Likewise.

* include/time.h (_tmbuf): Add attribute_hidden.

* time/tzset.c (tzstring_list): Define as static.

* include/time.h: Add attribute_hidden to __tzname_cur_max and
__use_tzfile declaration.

* wcsmbs/wcsmbsload.h: Add attribute_hidden to __wcsmbs_gconv_fcts
and __wcsmbs_last_locale declaration.

22 years agoUpdate.
Ulrich Drepper [Tue, 12 Mar 2002 08:40:47 +0000 (08:40 +0000)]
Update.

2002-02-25  Paul Eggert  <eggert@twinsun.com>

* timezone/Makefile (tzbases): Move systemv from here...
(tzlinks): to here, since the entries in systemv were all changed
from Zone to Link lines in tz-2001a.  Bug reported (and patch
tested) by Peter Breitenlohner.

22 years agoUpdate.
Ulrich Drepper [Tue, 12 Mar 2002 07:50:21 +0000 (07:50 +0000)]
Update.

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

* time/tst-posixtz.c (tests): Add new tests.
(main): Test whether tzset() sets daylight properly.

2002-03-06  Jakub Jelinek  <jakub@redhat.com>

* time/tzset.c (tz_compute): Move __daylight, __tzname and
__tzname_cur_max setting...
(tzset_internal): ...here.

2002-03-06  Jakub Jelinek  <jakub@redhat.com>

* time/tzset.c (compute_change): Don't return any value.
(tz_compute): Likewise.  Don't handle southern hemisphere here.
(__tz_convert): But here.

22 years agoUpdate.
Ulrich Drepper [Tue, 12 Mar 2002 02:04:08 +0000 (02:04 +0000)]
Update.

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

* manual/examples/mkfsock.c: Include <string.h> as well.
Patch by Alain De Carolis <alaind@wseurope.com>.

2002-03-06  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regexec.c (re_match): Fix incorrect register sizes.
(re_search): Likewise.

2002-03-05  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regcomp.c (regfree): Remove a disused condition.
* posix/regex_internal.c (re_acquire_state): Likewise.
(re_acquire_state_context): Likewise.
(register_state): Remove a redundant malloc invocation.
* posix/regex_internal.h: (re_state_table_entry): Simplify
the structure.

2002-03-05  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regcomp.c (regcomp): Add __builtin_expect to error
handling conditions.
(regerror): Likewise.
(regfree): Likewise.
(re_compile_internal): Likewise.
(init_dfa): Likewise.
(init_word_char): Likewise.
(create_initial_state): Likewise.
(analyze): Likewise.
(analyze_tree): Likewise.
(duplicate_node): Likewise.
(calc_eclosure): Likewise.
(calc_eclosure_iter): Likewise.
(parse): Likewise.
(parse_reg_exp): Likewise.
(parse_branch): Likewise.
(parse_expression): Likewise.
(parse_subexp): Likewise.
(parse_dup_op): Likewise.
(parse_bracket_exp): Likewise.
(build_equiv_class): Likewise.
(build_charclass): Likewise.
(build_word_op): Likewise.
(fetch_number): Likewise.
(create_tree): Likewise.
(duplicate_tree): Likewise.
* posix/regex.c (BE): New macro.
* posix/regexec.c (re_match): Add __builtin_expect to error
handling conditions.
(re_match_2): Likewise.
(re_search): Likewise.
(re_search_internal): Likewise.
(check_matching): Likewise.
(proceed_next_node): Likewise.
(set_regs): Likewise.
(sift_states_backward): Likewise.
(add_epsilon_backreference): Likewise.
(transit_state): Likewise.
(transit_state_sb): Likewise.
(transit_state_mb): Likewise.
(transit_state_bkref): Likewise.
(transit_state_bkref_loop): Likewise.
(build_trtable): Likewise.
(group_nodes_into_DFAstates): Likewise.
(match_ctx_init): Likewise.
(match_ctx_add_entry): Likewise.
* posix/regex_internal.c (re_string_construct): Add __builtin_expect
to error handling conditions.
(re_string_construct_toupper): Likewise.
(build_wcs_buffer): Likewise.
(build_wcs_upper_buffer): Likewise.
(build_upper_buffer): Likewise.
(re_string_translate_buffer): Likewise.
(re_node_set_alloc): Likewise.
(re_node_set_init_1): Likewise.
(re_node_set_init_2): Likewise.
(re_node_set_init_copy): Likewise.
(re_node_set_intersect): Likewise.
(re_node_set_init_union): Likewise.
(re_node_set_merge): Likewise.
(re_node_set_insert): Likewise.
(re_dfa_add_node): Likewise.
(re_acquire_state): Likewise.
(re_acquire_state_context): Likewise.
(create_new_state_common): Likewise.
(register_state): Likewise.
(create_ci_new_state): Likewise.
(create_cd_new_state): Likewise.
(re_string_context_at): Remove redundant condition.

2002-01-16  Roger Sayle  <roger@eyesopen.com>

* sysdeps/i386/i686/strcmp.S: Avoid unconditional jump to a ret.

* sysdeps/i386/i586/strlen.S: Fix typo in comment.

22 years agoUpdate.
Ulrich Drepper [Tue, 12 Mar 2002 00:38:37 +0000 (00:38 +0000)]
Update.

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

* sysdeps/i386/elf/configure.in: Fix comment.

* sysdeps/sparc/sparc64/configure.in: New.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Fix
if .dynamic comes before .got.
* config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Add.

* sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF,
HP_TIMING_ACCUM): Fix typos.

* string/strfry.c: Add some more randomness to the seed.
Patch by James A Morrison <ja2morri@student.math.uwaterloo.ca>.

Patch by James Antill <james@anqd.org> [PR libc/2787].

22 years agoUpdate.
Ulrich Drepper [Mon, 11 Mar 2002 23:05:12 +0000 (23:05 +0000)]
Update.

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

* po/es.po: Update from translation team.
* po/fr.po: Likewise.

* stdio-common/tfformat.c (sprint_doubles): A test for %F format.

* stdio-common/printf_fp.c (__printf_fp): Correct check for %F format
when determining type of format.
Patch by James Antill <james@and.org> [PR libc/2787].

2002-03-04  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/bsd/ftime.c (ftime): Don't return 1000 in millitm.

22 years ago(sprint_doubles): A test for %F format.
Ulrich Drepper [Mon, 11 Mar 2002 21:46:37 +0000 (21:46 +0000)]
(sprint_doubles): A test for %F format.

22 years ago* hurd/hurd/threadvar.h: Include <features.h> for __THROW macro.
Roland McGrath [Mon, 11 Mar 2002 21:30:03 +0000 (21:30 +0000)]
* hurd/hurd/threadvar.h: Include <features.h> for __THROW macro.

* Versions.def (libc): Add GLIBC_2.2.6.
* hurd/Versions (libc: GLIBC_2.2.6): Add __errno_location.
* sysdeps/mach/hurd/errnos.awk: In generated macro, use
__errno_location instead of __hurd_errno_location, and don't inline it.
* sysdeps/mach/hurd/bits/errno.h: Regenerated.
* hurd/errno.c: New file.
* hurd/Makefile (routines): Add errno.

22 years ago(__printf_fp): Correct check for %F format when determining type of format.
Ulrich Drepper [Mon, 11 Mar 2002 21:28:56 +0000 (21:28 +0000)]
(__printf_fp): Correct check for %F format when determining type of format.

22 years ago2002-03-11 Roland McGrath <roland@frob.com>
Roland McGrath [Mon, 11 Mar 2002 21:28:37 +0000 (21:28 +0000)]
2002-03-11  Roland McGrath  <roland@frob.com>

* hurd/hurd/threadvar.h: Include <features.h> for __THROW macro.

22 years ago2002-03-11 Roland McGrath <roland@frob.com>
Roland McGrath [Mon, 11 Mar 2002 21:28:28 +0000 (21:28 +0000)]
2002-03-11  Roland McGrath  <roland@frob.com>

* Versions.def (libc): Add GLIBC_2.2.6.
* hurd/Versions (libc: GLIBC_2.2.6): Add __errno_location.
* sysdeps/mach/hurd/errnos.awk: In generated macro, use
__errno_location instead of __hurd_errno_location, and don't inline it.
* sysdeps/mach/hurd/bits/errno.h: Regenerated.
* hurd/errno.c: New file.
* hurd/Makefile (routines): Add errno.

22 years agoRound milli seconds to nearest. Don't return 1000 in millitm.
Ulrich Drepper [Mon, 11 Mar 2002 21:20:39 +0000 (21:20 +0000)]
Round milli seconds to nearest.  Don't return 1000 in millitm.

22 years agoUpdate.
Ulrich Drepper [Mon, 11 Mar 2002 21:03:40 +0000 (21:03 +0000)]
Update.

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

* stdio-common/vfprintf.c (vfprintf): Avoid crashing for
ridiculously large widths and precisions [PR libc/3026].

22 years ago(vfprintf): Avoid crashing for ridiculously large widths and precisions.
Ulrich Drepper [Mon, 11 Mar 2002 20:59:45 +0000 (20:59 +0000)]
(vfprintf): Avoid crashing for ridiculously large widths and precisions.

22 years agoUpdate.
Andreas Jaeger [Mon, 11 Mar 2002 11:02:01 +0000 (11:02 +0000)]
Update.

2002-03-11  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: Fix for bi-arch
support.
Patch by Susanne Oberhauser <froh@SuSE.de>.

22 years agoFix for bi-arch support.
Andreas Jaeger [Mon, 11 Mar 2002 11:01:07 +0000 (11:01 +0000)]
Fix for bi-arch support.

22 years agoUpdate.
Ulrich Drepper [Mon, 11 Mar 2002 10:39:33 +0000 (10:39 +0000)]
Update.

* inet/rexec.c (ahostbuf): Define as static.

22 years agoUpdate.
Ulrich Drepper [Mon, 11 Mar 2002 10:36:30 +0000 (10:36 +0000)]
Update.

* wctype/wcfuncs.c (__ctype32_wctype): Declare as hidden.
(__ctype32_wctrans): Likewise.
* wcsmbs/wcwidth.h (__ctype32_width): Declare as hidden.
* ctype/ctype-info.c (__ctype32_wctype): Add attribute_hidden.
(__ctype32_wctrans): Likewise.
(__ctype32_width): Likewise.

22 years agoUpdate.
Ulrich Drepper [Mon, 11 Mar 2002 10:28:31 +0000 (10:28 +0000)]
Update.

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

* gmon/Makefile (elide-routines.os): Add bb_init_func and bb_exit_func.
They were never exported anyway.

* gmon/gmon.c (_gmonparam): Add attribute_hidden.
* gmon/sys/gmon.h: Remove declaration of _gmonparam.  It wasn't
exported.
* include/sys/gmon.h: Declare _gmonparam.

* sysdeps/unix/sysv/linux/i386/getdents64.c: Don't define compatibility
symbols for getdents64.  They were never exported.

22 years ago(elide-routines.os): Add bb_init_func and bb_exit_func. They were never exported...
Ulrich Drepper [Mon, 11 Mar 2002 10:26:47 +0000 (10:26 +0000)]
(elide-routines.os): Add bb_init_func and bb_exit_func.  They were never exported anyway.

22 years ago* hurd/hurdsig.c (write_corefile): Fix swapped arguments to __dir_link.
Roland McGrath [Sat, 9 Mar 2002 21:19:16 +0000 (21:19 +0000)]
* hurd/hurdsig.c (write_corefile): Fix swapped arguments to __dir_link.

Reported by Jon Arney <jarney1@cox.net>.

2002-02-23  Roland McGrath  <roland@frob.com>

* hurd/hurd/threadvar.h (__hurd_threadvar_location): Add __THROW to
declaration.
(__hurd_errno_location): Function removed.

22 years ago2002-02-23 Roland McGrath <roland@frob.com>
Roland McGrath [Sat, 9 Mar 2002 21:18:45 +0000 (21:18 +0000)]
2002-02-23  Roland McGrath  <roland@frob.com>

* hurd/hurd/threadvar.h (__hurd_threadvar_location): Add __THROW to
declaration.
(__hurd_errno_location): Function removed.

22 years agoUpdate.
Andreas Jaeger [Wed, 6 Mar 2002 10:08:48 +0000 (10:08 +0000)]
Update.

2002-03-06  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Add compatibility for
32-bit.

22 years agoAdd compatibility for 32-bit.
Andreas Jaeger [Wed, 6 Mar 2002 10:08:29 +0000 (10:08 +0000)]
Add compatibility for 32-bit.

22 years agoUpdate.
Ulrich Drepper [Tue, 5 Mar 2002 19:53:34 +0000 (19:53 +0000)]
Update.

22 years ago* sysdeps/unix/sysv/linux/x86_64/readelflib.c: New.
Andreas Jaeger [Mon, 4 Mar 2002 13:46:11 +0000 (13:46 +0000)]
* sysdeps/unix/sysv/linux/x86_64/readelflib.c: New.

22 years agoUpdate.
Andreas Jaeger [Mon, 4 Mar 2002 13:40:44 +0000 (13:40 +0000)]
Update.

2002-03-04  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/kernel-features.h: Add defines for
x86-64.

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

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

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

* sysdeps/x86_64/bits/setjmp.h: New.

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

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

* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Add compatibilty
for x86.
* sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/types.h: Likewise.

2002-02-28  Bo Thorsen  <bo@suse.de>

* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Merge with i386
version.

22 years agoUpdate.
Andreas Jaeger [Sun, 3 Mar 2002 19:45:53 +0000 (19:45 +0000)]
Update.

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

22 years agoUpdate.
Andreas Jaeger [Sun, 3 Mar 2002 19:43:30 +0000 (19:43 +0000)]
Update.

2002-03-03  Andreas Jaeger  <aj@suse.de>

* elf/nodlopenmod2.c: Provide prototype to avoid warning.
* elf/tst-tlsmod1.c: Likewise.

* posix/regcomp.c: Get regex.h from include dir for internal
prototypes.

* sysdeps/unix/sysv/linux/init-first.c: Move __init_misc prototype
to libc-internal.h and include it.
* include/libc-internal.h: Add __init_misc.

* misc/init-misc.c: Include libc-internal.h for prototypes.

* sysdeps/wordsize-32/divdi3.c: Add prototypes to avoid warnings.

* misc/error.c [_LIBC]: Include libioP.h for prototype of
_IO_putc_internal.

22 years ago* errno.c: Include resolv.h to avoid warning.
Andreas Jaeger [Sun, 3 Mar 2002 19:38:20 +0000 (19:38 +0000)]
* errno.c: Include resolv.h to avoid warning.

2002-03-03  Andreas Jaeger  <aj@suse.de>

* errno.c: Include resolv.h to avoid warning.

22 years agoUpdate.
Ulrich Drepper [Sun, 3 Mar 2002 19:37:24 +0000 (19:37 +0000)]
Update.

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

* posix/regcomp.c: Compatibility changes to allow using the code
outside glibc.

22 years agoCompatibility changes to allow using the code outside glibc.
Ulrich Drepper [Sun, 3 Mar 2002 18:17:58 +0000 (18:17 +0000)]
Compatibility changes to allow using the code outside glibc.

22 years agoUpdate.
Andreas Jaeger [Sat, 2 Mar 2002 13:14:52 +0000 (13:14 +0000)]
Update.

2002-02-28  Hartvig Ekner <hartvige@mips.com>

* sysdeps/mips/elf/start.S: Added initialization of GP (to _gp) if
compiled non-PIC.

22 years agoAdded initialization of GP (to _gp) if compiled non-PIC.
Andreas Jaeger [Sat, 2 Mar 2002 13:14:40 +0000 (13:14 +0000)]
Added initialization of GP (to _gp) if compiled non-PIC.

22 years agoUpdate.
Ulrich Drepper [Sat, 2 Mar 2002 10:32:19 +0000 (10:32 +0000)]
Update.

* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix creation
of .str elements in the returned data structure.

22 years agoUpdate.
Ulrich Drepper [Sat, 2 Mar 2002 09:03:00 +0000 (09:03 +0000)]
Update.

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

* elf/elf.h: Add Alpha TLS bits.

22 years agoUpdate.
Ulrich Drepper [Sat, 2 Mar 2002 00:48:30 +0000 (00:48 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/nice.c: New file.

22 years agoUpdate.
Ulrich Drepper [Fri, 1 Mar 2002 09:44:29 +0000 (09:44 +0000)]
Update.

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

* elf/Makefile (dl-routines): Add dl-origin.
(elide-routines.os): Add dl-origin.
* elf/Versions [ld] (GLIBC_PRIVATE): Add _dl_get_origin.
* elf/dl-debug.c (_dl_debug_initialize): Add missing INTUSE around
_dl_debug_state.
* include/libc-symbols.c: Define attribute_hidden depending on
HAVE_VISIBILITY_ATTRIBUTE.  Add definition of INTVARDEF.

* elf/dl-deps.c: Use INTUSE with __libc_enable_secure.
* elf/dl-load.c: Likewise.
* elf/rtld.c: Likewise.
* include/unistd.h: Declare __libc_enable_secure_internal.
* sysdeps/generic/dl-sysdep.c: Use INTVARDEF with __libc_enable_secure.
Use INTUSE with __libc_enable_secure.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.

* elf/dl-deps.c: Use INTUSE with _dl_out_of_memory.
* elf/dl-error.c: Likewise,
* sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory_internal.

* elf/dl-dst.h [_RTLD_GLOBAL]: Define _dl_get_origin to use INTUSE.
* sysdeps/generic/dl-origin.c: Undefine _dl_get_origin macro before
function definition.  Use INTDEF with _dl_get_origin.
* sysdeps/unix/sysv/linux/dl-origin.c: Likewise.

* elf/dl-init.c: Use INTUSE with _dl_starting_up.
* elf/rtld.c: Likewise.  Use INTVARDEF for _dl_starting_up.

* elf/dl-profile.c: Use INTDEF for _dl_mcount.
* elf/dl-runtime.c: Use INTUSE with _dl_mcount.
* sysdeps/generic/ldsodefs.h: Declare _dl_mcount_internal.

* elf/dl-conflict.c: Use rtld_progrname instead of _dl_argv[0].
* elf/dl-deps.c: Likewise.
* elf/dl-error.c: Likewise.
* elf/dl-fini.c: Likewise.
* elf/dl-init.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-reloc.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/do-lookup.h: Likewise.
* sysdeps/arm/dl-machine.h: Likewise.
* sysdeps/cris/dl-machine.h: Likewise.
* sysdeps/hppa/dl-machine.h: Likewise.
* sysdeps/i386/dl-machine.h: Likewise.
* sysdeps/m68k/dl-machine.h: Likewise.
* sysdeps/powerpc/dl-machine.h: Likewise.
* sysdeps/s390/s390-32/dl-machine.h: Likewise.
* sysdeps/s390/s390-64/dl-machine.h: Likewise.
* sysdeps/sh/dl-machine.h: Likewise.
* sysdeps/sparc/sparc-32/dl-machine.h: Likewise.
* sysdeps/sparc/sparc-64/dl-machine.h: Likewise.
* sysdeps/x86_64/dl-machine.h: Likewise.
* elf/rtld.c: Use INTDEF for _dl_argv.  Use rtld_progrname instead of
_dl_argv[0].  Use INTUSE with _dl_argv.
* sysdeps/generic/dl-sysdep.c: Use INTUSE with _dl_argv.
* sysdeps/generic/ldsodefs.h: Define rtld_progname macro.

22 years agoUpdate.
Ulrich Drepper [Fri, 1 Mar 2002 05:22:17 +0000 (05:22 +0000)]
Update.

* tst-fmon.data: Likewise.

22 years agoUpdate.
Ulrich Drepper [Thu, 28 Feb 2002 22:38:00 +0000 (22:38 +0000)]
Update.

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

* elf/rtld.c (_rtld_global): Remove .protected.
(_rtld_local): Strong alias to _rtld_global.
* elf/Makefile (CFLAGS-.os): Add -D_RTLD_LOCAL if compiling rtld
only .os object.
* sysdeps/generic/ldsodefs.h (GL): If SHARED and _RTLD_LOCAL, use
_rtld_local instead of _rtld_global.
(_rtld_local): Add hidden extern, possibly in .sdata section.
* configure.in: Add tests for visibility attribute and .sdata.
* config.h.in: Add HAVE_VISIBILITY_ATTRIBUTE and HAVE_SDATA_SECTION.
* sysdeps/alpha/dl-machine.h: Use _rtld_local instead of _rtld_global.
* sysdeps/arm/dl-machine.h: Likewise.
* sysdeps/generic/ldsodefs.h: Likewise.
* sysdeps/hppa/dl-machine.h: Likewise.
* sysdeps/cris/dl-machine.h: Likewise.
* sysdeps/i386/dl-machine.h: Likewise.
* sysdeps/ia64/dl-machine.h: Likewise.
* sysdeps/m68k/dl-machine.h: Likewise.
* sysdeps/mips/mips64/dl-machine.h: Likewise.
* sysdeps/mips/dl-machine.h: Likewise.
* sysdeps/sparc/sparc32/dl-machine.h: Likewise.
* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
* sysdeps/sh/dl-machine.h: Likewise.
* sysdeps/s390/s390-32/dl-machine.h: Likewise.
* sysdeps/s390/s390-64/dl-machine.h: Likewise.
* sysdeps/x86_64/dl-machine.h: Likewise.

22 years agoUpdate.
Ulrich Drepper [Thu, 28 Feb 2002 20:15:06 +0000 (20:15 +0000)]
Update.

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

* login/login.c (login): Always initialize ut_line field
[PR libc/2991].

22 years agoUpdate.
Ulrich Drepper [Thu, 28 Feb 2002 19:38:21 +0000 (19:38 +0000)]
Update.

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

* sysdeps/i386/Makefile (sysdep_routines): Add
divdi3 in csu dir.
(shared-only-routines): Likewise.
* sysdeps/m68k/Makefile (sysdep_routines): Likewise.
(shared-only-routines): Likewise.
* sysdeps/s390/s390-32/Makefile (sysdep_routines): Likewise.
(shared-only-routines): Likewise.
* sysdeps/wordsize-32/divdi3.c: New file.

22 years agoUpdate.
Ulrich Drepper [Thu, 28 Feb 2002 09:13:09 +0000 (09:13 +0000)]
Update.

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

* locale/iso-4217.def: Remove obsolete currencies for countries
with Euro.

22 years agoUpdate.
Ulrich Drepper [Thu, 28 Feb 2002 08:54:14 +0000 (08:54 +0000)]
Update.

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

* locales/br_FR@euro: New file.

22 years agoUpdate.
Ulrich Drepper [Thu, 28 Feb 2002 07:43:13 +0000 (07:43 +0000)]
Update.

2002-02-28  Isamu Hasegawa  <isamu@yamato.ibm.com>

* posix/regcomp.c (regcomp): Remove a redundant condition.
(init_word_char): Add a check on malloc failure.
(create_initial_state): Likewise.
(duplicate_node): Likewise.
(calc_eclosure): Likewise.
(calc_eclosure_iter): Likewise.
(parse_expression): Likewise.
(parse_bracket_exp): Remove unnecessary malloc invocations.
(build_equiv_class): Likewise.
(build_charclass): Likewise.
* posix/regex_internal.c (re_node_set_intersect): Add a check
on malloc failure.
(re_node_set_add_intersect): Likewise.
(re_node_set_merge): Likewise.
(re_acquire_state): Likewise.
(re_acquire_state_context): Likewise.
(create_newstate_common): Likewise.
(register_state): Likewise.
(create_ci_newstate): Likewise.
(create_cd_newstate): Likewise.
* posix/regex_internal.h: Fix prototypes of re_acquire_state
and re_acquire_state_context.
* posix/regexec.c (regexec): Suit it to the error handling of
re_search_internal.
(re_match): Likewise.
(re_search): Likewise.
(re_search_internal): Add a check on malloc failure.
(acquire_init_state_context): Likewise.
(check_matching): Likewise.
(proceed_next_node): Likewise.
(set_regs): Likewise.
(sift_states_backward): Likewise.
(sift_states_iter_bkref): Likewise.
(add_epsilon_backreference): Likewise.
(transit_state): Likewise.
(transit_state_sb): Likewise.
(transit_state_mb): Likewise.
(transit_state_bkref_loop): Likewise.
(build_trtable): Likewise.
(group_nodes_into_DFAstates): Likewise.
(match_ctx_init): Likewise.
(match_ctx_add_entry): Likewise.

22 years agoUpdate.
Ulrich Drepper [Thu, 28 Feb 2002 06:40:08 +0000 (06:40 +0000)]
Update.

* elf/dl-load.c (_dl_map_object_from_fd): Always add SONAME to
l_libname if profiling is enabled [PR libc/2916].

22 years agoUpdate.
Ulrich Drepper [Wed, 27 Feb 2002 18:55:40 +0000 (18:55 +0000)]
Update.

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

* sysdeps/ia64/dl-tls.h: New file.

22 years agoUpdate.
Ulrich Drepper [Wed, 27 Feb 2002 18:11:27 +0000 (18:11 +0000)]
Update.

2002-02-27  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/alpha/dl-machine.h (elf_machine_load_address, RTLD_START):
Work around an Alpha gas bug.

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

* catgets/open_catalog.c (__open_catalog): Fix typo in code which
uses read to load the catalog.
Patch by Andy Isaacson <adi@unlimitedscale.com> [PR libc/3011].

inside libc itself.  Use INTDEF and INTDEF2 to define appropriate

22 years agoUpdate.
Ulrich Drepper [Wed, 27 Feb 2002 09:29:04 +0000 (09:29 +0000)]
Update.

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

* pthread.c [USE_TLS] (thread_self_stack): Correct check for upper
stack limit.

22 years agoUpdate.
Ulrich Drepper [Tue, 26 Feb 2002 19:06:03 +0000 (19:06 +0000)]
Update.

* posix/Makefile (distribute): Add regcomp.c, regexec.c,
regex_internal.c, and regex_internal.h.
(CFLAGS-regex.c): Replace -DMBS_SUPPORT with -DRE_ENABLE_I18N.
* posix/regex.c: Complete rewrite.
* posix/regexec.c: New file.
* posix/regcomp.c: New file.
* posix/regex_internal.c: New file.
* posix/regex_internal.h: New file.
* posix/regex.h (RE_ICASE): New macro.
Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.

22 years agoUpdate.
Ulrich Drepper [Tue, 26 Feb 2002 18:08:08 +0000 (18:08 +0000)]
Update.

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

* stdio-common/vfscanf.c (_IO_vfwscanf): Always use ungetc, never
ungetwc.  It's a macro.
* libio/tst-swscanf.c (do_test): Adjust for now fixed wscanf
implementation.
Reported by Jason Merrill <jason@redhat.com>.

22 years agoUpdate.
Ulrich Drepper [Tue, 26 Feb 2002 05:23:31 +0000 (05:23 +0000)]
Update.

2002-02-25  Jakub Jelinek  <jakub@redhat.com>

* libio/iofopen.c (__fopen_maybe_mmap): Set the initial
position to fp->_offset if it is set.
* stdio-common/Makefile (tests): Add tst-fdopen.
* stdio-common/tst-fdopen.c: New test.

2002-02-25  Jakub Jelinek  <jakub@redhat.com>

* libio/fileops.c (_IO_file_xsgetn_mmap): Handle reading from backup.
* stdio-common/tst-ungetc.c (main): Add another test.

22 years agoUpdate.
Ulrich Drepper [Tue, 26 Feb 2002 01:45:59 +0000 (01:45 +0000)]
Update.

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

* assert/assert-perr.c: Use INTUSE to reference functions and variables
inside libc itself.  Ise INTDEF and INTDEF2 to define appropriate
aliases.  Add prototypes for the new aliases.
* assert/assert.c: Likewise.
* include/libc-symbols.h: Likewise.
* include/stdio.h: Likewise.
* include/netinet/in.h: Likewise.
* include/rpc/auth.h: Likewise.
* include/rpc/auth_unix.h: Likewise.
* include/rpc/key_prot.h: Likewise.
* include/rpc/pmap_prot.h: Likewise.
* include/rpc/pmap_rmt.h: Likewise.
* include/rpc/rpc_msg.h: Likewise.
* include/rpc/xdr.h: Likewise.
* inet/gethstbyad_r.c: Likewise.
* inet/gethstbynm2_r.c: Likewise.
* inet/gethstbynm_r.c: Likewise.
* inet/gethstent_r.c: Likewise.
* inet/in6_addr.c: Likewise.
* libio/__fpurge.c: Likewise.
* libio/filedoalloc.c: Likewise.
* libio/fileops.c: Likewise.
* libio/ftello.c: Likewise.
* libio/ftello64.c: Likewise.
* libio/genops.c: Likewise.
* libio/iofclose.c: Likewise.
* libio/iofdopen.c: Likewise.
* libio/iofflush.c: Likewise.
* libio/iofflush_u.c: Likewise.
* libio/iofgetpos.c: Likewise.
* libio/iofgetpos64.c: Likewise.
* libio/iofgets.c: Likewise.
* libio/iofgets_u.c: Likewise.
* libio/iofopen.c: Likewise.
* libio/iofopncook.c: Likewise.
* libio/iofputs.c: Likewise.
* libio/iofread.c: Likewise.
* libio/iofread_u.c: Likewise.
* libio/iofsetpos.c: Likewise.
* libio/iofsetpos64.c: Likewise.
* libio/ioftell.c: Likewise.
* libio/iofwrite.c: Likewise.
* libio/iogetline.c: Likewise.
* libio/iogets.c: Likewise.
* libio/iogetwline.c: Likewise.
* libio/iolibio.h: Likewise.
* libio/iopadn.c: Likewise.
* libio/iopopen.c: Likewise.
* libio/ioseekoff.c: Likewise.
* libio/ioseekpos.c: Likewise.
* libio/iosetbuffer.c: Likewise.
* libio/iosetvbuf.c: Likewise.
* libio/ioungetc.c: Likewise.
* libio/ioungetwc.c: Likewise.
* libio/iovdprintf.c: Likewise.
* libio/iovsprintf.c: Likewise.
* libio/iovsscanf.c: Likewise.
* libio/libioP.h: Likewise.
* libio/memstream.c: Likewise.
* libio/obprintf.c: Likewise.
* libio/oldfileops.c: Likewise.
* libio/oldiofclose.c: Likewise.
* libio/oldiofdopen.c: Likewise.
* libio/oldiofgetpos.c: Likewise.
* libio/oldiofgetpos64.c: Likewise.
* libio/oldiofopen.c: Likewise.
* libio/oldiofsetpos.c: Likewise.
* libio/oldiofsetpos64.c: Likewise.
* libio/oldiopopen.c: Likewise.
* libio/oldstdfiles.c: Likewise.
* libio/putc.c: Likewise.
* libio/setbuf.c: Likewise.
* libio/setlinebuf.c: Likewise.
* libio/stdfiles.c: Likewise.
* libio/stdio.c: Likewise.
* libio/strops.c: Likewise.
* libio/vasprintf.c: Likewise.
* libio/vscanf.c: Likewise.
* libio/vsnprintf.c: Likewise.
* libio/vswprintf.c: Likewise.
* libio/wfiledoalloc.c: Likewise.
* libio/wfileops.c: Likewise.
* libio/wgenops.c: Likewise.
* libio/wstrops.c: Likewise.
* malloc/mtrace.c: Likewise.
* misc/error.c: Likewise.
* misc/syslog.c: Likewise.
* nss/getXXbyYY_r.c: Likewise.
* nss/getXXent_r.c: Likewise.
* nss/hosts-lookup.c: Likewise.
* stdio-common/getw.c
* stdio-common/printf-prs.c: Likewise.
* stdio-common/printf_fp.c: Likewise.
* stdio-common/printf_size.c: Likewise.
* stdio-common/putw.c: Likewise.
* stdio-common/scanf.c: Likewise.
* stdio-common/sprintf.c: Likewise.
* stdio-common/tmpfile64.c: Likewise.
* stdio-common/vfprintf.c: Likewise.
* stdio-common/vfscanf.c: Likewise.
* stdlib/strfmon.c: Likewise.
* sunrpc/auth_des.c: Likewise.
* sunrpc/auth_none.c: Likewise.
* sunrpc/auth_unix.c: Likewise.
* sunrpc/authdes_prot.c: Likewise.
* sunrpc/authuxprot.c: Likewise.
* sunrpc/clnt_perr.c: Likewise.
* sunrpc/clnt_raw.c: Likewise.
* sunrpc/clnt_tcp.c: Likewise.
* sunrpc/clnt_udp.c: Likewise.
* sunrpc/clnt_unix.c: Likewise.
* sunrpc/key_call.c: Likewise.
* sunrpc/key_prot.c: Likewise.
* sunrpc/openchild.c: Likewise.
* sunrpc/pm_getmaps.c: Likewise.
* sunrpc/pm_getport.c: Likewise.
* sunrpc/pmap_clnt.c: Likewise.
* sunrpc/pmap_prot.c: Likewise.
* sunrpc/pmap_prot2.c: Likewise.
* sunrpc/pmap_rmt.c: Likewise.
* sunrpc/rpc_cmsg.c: Likewise.
* sunrpc/rpc_prot.c: Likewise.
* sunrpc/svc_authux.c: Likewise.
* sunrpc/svc_raw.c: Likewise.
* sunrpc/svc_simple.c: Likewise.
* sunrpc/svc_tcp.c: Likewise.
* sunrpc/svc_udp.c: Likewise.
* sunrpc/svc_unix.c: Likewise.
* sunrpc/xdr.c: Likewise.
* sunrpc/xdr_array.c: Likewise.
* sunrpc/xdr_mem.c: Likewise.
* sunrpc/xdr_rec.c: Likewise.
* sunrpc/xdr_ref.c: Likewise.
* sunrpc/xdr_stdio.c: Likewise.
* sysdeps/generic/_strerror.c: Likewise.
* sysdeps/generic/printf_fphex.c: Likewise.
* sysdeps/generic/tmpfile.c: Likewise.
* sysdeps/gnu/errlist.awk: Likewise.
* sysdeps/gnu/errlist.c: Likewise.

* libio/Makefile (routines): Remove iosprint.
* libio/iosprintf.c: Removed

22 years agoUpdate.
Ulrich Drepper [Sun, 24 Feb 2002 08:34:04 +0000 (08:34 +0000)]
Update.

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

* elf/dl-support.c (_dl_non_dynamic_init): Renamed from
non_dynamic_init and exported now.
* sysdeps/unix/sysv/linux/ldsodefs.h: Declare _dl_non_dynamic_init.
* sysdeps/unix/sysv/linux/init-first.c: Call _dl_non_dynamic_init for
!SHARED.
* sysdeps/mach/hurd/i386/init-first.c: Likewise.
* sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
* sysdeps/mach/hurd/mips/init-first.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Sun, 24 Feb 2002 07:10:08 +0000 (07:10 +0000)]
Update.

* elf/dl-close.c (free_slotinfo): Check for end of list and return
true in this case.

22 years agoUpdate.
Ulrich Drepper [Sun, 24 Feb 2002 04:57:56 +0000 (04:57 +0000)]
Update.

* attr.c (pthread_getattr_np): Don't take thread descriptor size
into account if USE_TLS.
* manager.c (pthread_handle_create): Free TLS data structures if call
failed.  Pass correct stack to clone if USE_TLS.
* sysdeps/i386/pt-machine.h: Handle multiple inclusion.
* sysdeps/i386/i686/pt-machine.h: Likewise.
* sysdeps/i386/tls.h: Unconditionally include <pt-machine.h>.

22 years agoUpdate.
Ulrich Drepper [Sat, 23 Feb 2002 19:38:02 +0000 (19:38 +0000)]
Update.

* locale/iso-639.def: Add language codes for Walloon.

22 years agoUpdate.
Ulrich Drepper [Sat, 23 Feb 2002 19:05:32 +0000 (19:05 +0000)]
Update.

* elf/dl-fini.c (_dl_fini): Print some final statistics on the
total number of relocations performed.

22 years agoUpdate.
Ulrich Drepper [Sat, 23 Feb 2002 09:20:59 +0000 (09:20 +0000)]
Update.

* elf/sprof.c (load_profdata): If do_test provide information as
to why loading failed.
* elf/dl-profile.c (_dl_start_profile): Initialize all of
hist_hdr.dimen.

22 years agoUpdate.
Ulrich Drepper [Sat, 23 Feb 2002 08:47:54 +0000 (08:47 +0000)]
Update.

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

* csu/set-init.c: Moved to...
* sysdeps/mach/hurd/set-init.c: ...here.  New file.
* csu/Makefile: Don't compile set-init.
* sysdeps/mach/hurd/Makefile: Compile set-init for subdir csu.
* sysdeps/mach/hurd/i386/init-first.c: Call __init_misc in addition
to __libc_init.
* sysdeps/mach/hurd/mips/init-first.c: Likewise.
* sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
* sysdeps/unix/sysv/linux/init-first.c: Call __init_misc instead of
__libc_init.
* misc/init-misc.c: Always export __init_misc.  Don't define hooks for
__libc_subinit.

22 years agoUpdate.
Ulrich Drepper [Sat, 23 Feb 2002 07:59:56 +0000 (07:59 +0000)]
Update.

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

* elf/Versions: Add _dl_allocate_tls and _dl_deallocate_tls.
* elf/rtld.c (dl_main): Use _dl_allocate_tls with INTUSE.
* sysdeps/generic/dl-tls.c: Add INTDEF for _dl_allocate_tls.
(_dl_deallocate_tls): New function.
* sysdeps/generic/ldsodefs.h: Declare _dl_allocate_tls_internal and
_dl_deallocate_tls.

22 years agoUpdate.
Ulrich Drepper [Fri, 22 Feb 2002 05:11:26 +0000 (05:11 +0000)]
Update.

2002-02-21  Jakub Jelinek  <jakub@redhat.com>

* libio/fileops.c (_IO_file_seekoff_mmap): Fix fseek SEEK_END.
* stdio-common/tst-fseek.c (main): Add test for this.

22 years agoUpdate.
Ulrich Drepper [Tue, 19 Feb 2002 17:43:23 +0000 (17:43 +0000)]
Update.

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

* stdlib/Versions: Move __on_exit to GLIBC_PRIVATE.

22 years agoUpdate
Ulrich Drepper [Tue, 19 Feb 2002 07:23:04 +0000 (07:23 +0000)]
Update

2002-02-19  Jakub Jelinek  <jakub@redhat.com>

* libio/fileops.c (_IO_file_underflow_mmap): Cast to unsigned char
pointer before dereferencing.

22 years agoUpdate.
Ulrich Drepper [Tue, 19 Feb 2002 07:13:04 +0000 (07:13 +0000)]
Update.

2002-02-17  Andreas Schwab  <schwab@suse.de>

* signals.c (sigwait): Check for old sighandler being SIG_ERR,
not NULL.

22 years ago(sigwait): Check for old sighandler being SIG_ERR, not NULL.
Ulrich Drepper [Tue, 19 Feb 2002 07:12:09 +0000 (07:12 +0000)]
(sigwait): Check for old sighandler being SIG_ERR, not NULL.

22 years ago* sysdeps/mach/hurd/times.c: Fix typo in last change.
Roland McGrath [Tue, 19 Feb 2002 00:22:30 +0000 (00:22 +0000)]
* sysdeps/mach/hurd/times.c: Fix typo in last change.

* sysdeps/mach/hurd/setpriority.c [POLICY_TIMESHARE_BASE_COUNT]:
Use task_policy in place of task_priority.

* sysdeps/generic/bits/mman.h
(MS_ASYNC, MS_SYNC, MS_INVALIDATE): New macros.
* sysdeps/mach/msync.c: New file.

* sysdeps/mach/powerpc/syscall.S: New file.

* mach/msg.c [MACH_MSG_OVERWRITE]
(__mach_msg_trap, __mach_msg_overwrite): New functions.
* mach/Versions (libc: GLIBC_2.0): Add mach_msg_overwrite and __ name.

* sysdeps/mach/configure.in: Check for clock.defs to put into
mach_interface_list.
* sysdeps/mach/configure: Regenerated.

* mach/Makefile (mach-machine): New variable, set from $(base-machine).
($(objpfx)mach-syscalls.mk): Use it in place of $(base-machine).
($(mach-syscalls:%=$(objpfx)%.S) static pattern rule):
Use <mach/machine/syscall_sw.h> instead of <sysdep.h>.
(mach-shortcuts): Add device_read_overwrite_request,
device_read_overwrite, vm_read_overwrite, thread_switch.

* configure.in (base_machine): Set to $machine by default.
* configure: Regenerated.

22 years ago* sysdeps/mach/configure.in: Check for <mach/machine/ndr_def.h>
Roland McGrath [Mon, 18 Feb 2002 20:57:51 +0000 (20:57 +0000)]
* sysdeps/mach/configure.in: Check for <mach/machine/ndr_def.h>

or <machine/ndr_def.h> and add -DNDR_DEF_HEADER=... to DEFINES.
* sysdeps/mach/configure: Regenerated.
* mach/mach_init.c [NDR_DEF_HEADER]: #include it.

* hurd/hurdfault.c (_hurdsig_fault_init): Add a cast.

* hurd/hurd/signal.h: Include <setjmp.h> for `jmp_buf' decl.

* mach/msgserver.c (__mach_msg_server_timeout) [! MACH_RCV_LARGE]:
Double MAX_SIZE and don't retry on MACH_RCV_TOO_LARGE.

* sysdeps/mach/hurd/times.c
[NO_CREATION_TIME] (startup_time): New static variable.
[NO_CREATION_TIME] (times_init): New static function in __libc_subinit.
(__times) [NO_CREATION_TIME]: Use startup_time in lieu of task
creation_time from task_basic_info.
(__times): Use __gettimeofday instead of __host_get_time.

* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg) [! MACH_MSG_TYPE_BIT]:
Use untyped Mach IPC message format.

* hurd/catch-exc.c: Include <assert.h>, missing from last change.

22 years ago* hurd/Versions (libc: GLIBC_2.0): Add _S_catch_exception_raise_state,
Roland McGrath [Mon, 18 Feb 2002 01:50:52 +0000 (01:50 +0000)]
* hurd/Versions (libc: GLIBC_2.0): Add _S_catch_exception_raise_state,

_S_catch_exception_raise_state_identity,
_hurdsig_fault_catch_exception_raise_state,
_hurdsig_fault_catch_exception_raise_state_identity.

* mach/shortcut.awk: Don't apply the /^}$/ rule when $proto == "".

* sysdeps/mach/getsysstats.c (__get_avphys_pages) [HOST_VM_INFO]: Use
__host_info with HOST_VM_INFO flavor instead of __vm_statistics.

* sysdeps/mach/hurd/getpriority.c [TASK_SCHED_TIMESHARE_INFO]: Find
`base_priority' in PIP->timeshare_base_info instead of PIP->taskinfo.

* sysdeps/mach/hurd/dl-sysdep.c [FMH]: Define for i386 only.
(fmh, unfmh): Define these functions only #if FMH.  Otherwise define
them as no-op macros.
[FMH] (ELF_MACHINE_USER_ADDRESS_MASK): Redefine it to zero.
(__mmap): Uncomment uses of ELF_MACHINE_USER_ADDRESS_MASK.

* sysdeps/powerpc/dl-machine.h
(ELF_MACHINE_USER_ADDRESS_MASK): New macro.

22 years agotypo
Roland McGrath [Sun, 17 Feb 2002 22:56:17 +0000 (22:56 +0000)]
typo

* sysdeps/mach/hurd/ioctl.c (__ioctl) [! MACH_MSG_TYPE_BIT]:

22 years ago* hurd/hurdselect.c (_hurd_select) [MACH_MSG_TRAILER_MINIMUM_SIZE]:
Roland McGrath [Sun, 17 Feb 2002 22:54:39 +0000 (22:54 +0000)]
* hurd/hurdselect.c (_hurd_select) [MACH_MSG_TRAILER_MINIMUM_SIZE]:

Use untyped Mach IPC message format.

* sysdeps/mach/hurd/ioctl.c (__ioctl) [! MACH_MSG_TYPE_BIT]: Handle
Handle untyped Mach IPC message formats.

* hurd/catch-exc.c (_S_catch_exception_raise) [EXC_MASK_ALL]:
Expect different argument conventions when this is defined.
[EXC_MASK_ALL] (_S_catch_exception_raise_state): New stub function.
[EXC_MASK_ALL] (_S_catch_exception_raise_state_identity): Likewise.
* hurd/hurdfault.c: Likewise for _hurdsig_fault_catch_exception_*.
[NDR_CHAR_ASCII] (mig_reply_header_t): #define as mig_reply_error_t
for OSF Mach variant.
(faulted): Use mig_reply_error_t for REPLY.
(_hurdsig_fault_init) [EXC_MASK_ALL]: Use EXCEPTION_STATE_IDENTITY
in __thread_set_exception_ports call.
(_hurdsig_fault_init) [MACH_PORT_RECEIVE_STATUS]: Use
__mach_port_set_attributes in place of __mach_port_set_qlimit.

* sysdeps/mach/powerpc/sysdep.h (_MACH_MACHINE_ASM_H): Define this
before include <sysdeps/mach/sysdep.h>, to inhibit <mach/machine/asm.h>
on Darwin, which includes bogons.

22 years ago* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Move local
Roland McGrath [Sun, 17 Feb 2002 19:32:29 +0000 (19:32 +0000)]
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Move local

variable LOADBASE so it's not declared when it's not used.

22 years ago* sysdeps/mach/hurd/times.c (__times) [NO_CREATION_TIME]: Don't try
Roland McGrath [Sun, 17 Feb 2002 07:57:32 +0000 (07:57 +0000)]
* sysdeps/mach/hurd/times.c (__times) [NO_CREATION_TIME]: Don't try

to use BI.creation_time.

* mach/Machrules (MIG): Add -x c to CPP value passed down.

22 years ago* config.h.in: Add #undef HAVE_HOST_PAGE_SIZE.
Roland McGrath [Sun, 17 Feb 2002 07:30:04 +0000 (07:30 +0000)]
* config.h.in: Add #undef HAVE_HOST_PAGE_SIZE.

* sysdeps/mach/configure.in: Check for host_page_size RPC to define it.
* mach/mach_init.c (__mach_init) [HAVE_HOST_PAGE_SIZE]: Use
host_page_size instead of vm_statistics.

22 years ago* sysdeps/mach/Makefile (mach-before-compile): Don't include
Roland McGrath [Sun, 17 Feb 2002 07:22:56 +0000 (07:22 +0000)]
* sysdeps/mach/Makefile (mach-before-compile): Don't include

mach_interface.h here, since not all variants use that name.

22 years ago* sysdeps/mach/configure.in: Add some checks for Mach headers
Roland McGrath [Sun, 17 Feb 2002 07:19:11 +0000 (07:19 +0000)]
* sysdeps/mach/configure.in: Add some checks for Mach headers

to ensure a sane installation.
(mach_interface_list): Define this variable by checking for .defs
files found in various variants.
* configure.in (mach_interface_list): AC_SUBST this.
* config.make.in (mach-interface-list): New substituted variable.
* mach/Makefile (user-interfaces): Define this using the value
of $(mach-interface-list) instead of mach, mach4.
Updated other references to mach_interface to use it as well.

* sysdeps/mach/powerpc/machine-lock.h: Avoid multi-line strings.

* mach/msgserver.c [NDR_CHAR_ASCII] (mig_reply_header_t): #define as
mig_reply_error_t for OSF Mach variant.

* mach/Makefile (routines): Remove bootprivport.
* mach/bootprivport.c: File removed.  It has never been used.

* mach/msg-destroy.c (__mach_msg_destroy) [MACH_MSG_PORT_DESCRIPTOR]:
Grok the OSF flavor of message format.
(mach_msg_destroy_port): For MAKE_SEND and
MAKE_SEND_ONCE rights, create an destroy a right to ensure proper
no-senders notification.

2002-02-06  Roland McGrath  <roland@frob.com>

* hurd/Versions (libc: GLIBC_2.0): Move cthread_fork, cthread_detach
to here if 2.0 compatibility enabled ...
(libc: GLIBC_2.1.3): ... from here.

22 years ago2002-02-16 Roland McGrath <roland@frob.com>
Roland McGrath [Sun, 17 Feb 2002 07:13:23 +0000 (07:13 +0000)]
2002-02-16  Roland McGrath  <roland@frob.com>

* mach/Makefile (routines): Remove bootprivport.
* mach/bootprivport.c: File removed.  It has never been used.

22 years agoUpdate.
Ulrich Drepper [Sat, 16 Feb 2002 00:21:33 +0000 (00:21 +0000)]
Update.

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

* elf/dl-open.c (dl_open_worker): Catch wrap-around of TLS
generation counter.
* elf/dl-close.c (_dl_close): Likewise.

22 years agoUpdate.
Ulrich Drepper [Thu, 14 Feb 2002 10:34:55 +0000 (10:34 +0000)]
Update.

* elf/Makefile: Add rules to build and run tst-tls8.
* elf/tst-tls8.c: New file.
* elf/tst-tlsmod4.c: New file.

22 years agoUpdate.
Ulrich Drepper [Thu, 14 Feb 2002 09:25:02 +0000 (09:25 +0000)]
Update.

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

* stdlib/test-a64l.c (tests): Add more test cases.

* sunrpc/rtime.c (rtime): Change type of thetime to uint32_t.
Reported by Walter Harms <WHarms@bfs.de>.

2002-02-11  Jes Sorensen  <jes@trained-monkey.org>

* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Add sc_flag bit
definitions for struct sigcontext.
Suggested by David Mosberger-Tang.

22 years agoUpdate.
Ulrich Drepper [Thu, 14 Feb 2002 07:57:19 +0000 (07:57 +0000)]
Update.

* elf/dl-close.c (remove_slotinfo): New function.  Handles everything
for removing reference of module in slotinfo list.
(_dl_close): Use remove_slotinfo.
* sysdeps/generic/dl-tls.c: General pretty printing.
(oom): Define only if SHARED.
(_dl_next_tls_modid): Correct starting point for the case we assume
there is a gap.  Add missing instruction grouping (doh!).  Correct
tests for reaching maximum index.
* elf/Makefile: Add rules to build and run tst-tls7.
* elf/tst-tls7.c: New file.
* elf/tst-tlsmod3.c: New file.

* elf/tst-tlsmod1.c: Move #include "tls-macros.h" instead #ifdef
USE_TLS.
* elf/tst-tlsmod2.c: Likewise.

22 years agoUpdate.
Ulrich Drepper [Thu, 14 Feb 2002 03:54:02 +0000 (03:54 +0000)]
Update.

* elf/dl-close.c (_dl_close): When closing an object using TLS
either decrement dl_tls_max_dtv_idx or set dl_tls_dtv_gaps to
true.  Increment dl_tls_generation only if we closed any TLS-using
object.
* elf/tst-tls6.c: New file.
* elf/Makefile: Add rules to build and run tst-tls6.

22 years agoUpdate.
Ulrich Drepper [Thu, 14 Feb 2002 01:02:42 +0000 (01:02 +0000)]
Update.

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

* locale/categories.def: Fix typo [PR libc/2948].
* po/Makefile (BROKEN_LINGUAS): Works with current gettext
[PR libc/2949].
* locale/iso-4217.def: Update from official version [PR libc/2950].
* glibcbug.in: Honor TMPDIR [PR libc/2951].
* locale/programs/ld-collate.c (collate_finish): Bail out with a
message if input is too confusion instead of using assert.
(collate_read): Don't crash on unknown symbol [PR libc/2952].
Patches by Alastair McKinstry <alastair@pdd.3com.com>.

22 years agoUpdate.
Ulrich Drepper [Wed, 13 Feb 2002 22:50:48 +0000 (22:50 +0000)]
Update.

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

* locales/pl_PL: Update int_curr_symbol.

22 years agoUpdate.
Ulrich Drepper [Wed, 13 Feb 2002 17:45:55 +0000 (17:45 +0000)]
Update.

* elf/tst-tls1.c: Move #include "tls-macros.h" instead #ifdef USE_TLS.
* elf/tst-tls2.c: Likewise.
* elf/tst-tls3.c: Likewise.

2002-02-13  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-close.c (free_slotinfo): Only define if TLS supported.

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

22 years agoUpdate.
Ulrich Drepper [Wed, 13 Feb 2002 09:44:17 +0000 (09:44 +0000)]
Update.

* elf/dl-open.c (dl_open_worker): Only bump the generation counter
if this is really necessary.