kopensolaris-gnu/glibc.git
18 years agotzbases): Move systemv from here...
drepper [Tue, 12 Mar 2002 08:40:02 +0000 (08:40 +0000)]
tzbases): Move systemv from here...
(tzlinks): to here, since the entries in systemv were all changed
from Zone to Link lines in tz-2001a.

18 years agoUpdate.
drepper [Tue, 12 Mar 2002 07:50:21 +0000 (07:50 +0000)]
Update.

18 years ago (tests): Add new tests.
drepper [Tue, 12 Mar 2002 07:48:27 +0000 (07:48 +0000)]
 (tests): Add new tests.
(main): Test whether tzset() sets daylight properly.

18 years ago(compute_change): Don't return any value.
drepper [Tue, 12 Mar 2002 07:48:07 +0000 (07:48 +0000)]
(compute_change): Don't return any value.
(tz_compute): Likewise.  Don't handle southern hemisphere here.
(__tz_convert): But here.
(tz_compute): Move __daylight, __tzname and __tzname_cur_max setting...
(tzset_internal): ...here.

18 years agoUpdate.
drepper [Tue, 12 Mar 2002 07:20:40 +0000 (07:20 +0000)]
Update.

18 years agoSome small corrections to weekdays and date formats. Additions of more
drepper [Tue, 12 Mar 2002 07:18:33 +0000 (07:18 +0000)]
Some small corrections to weekdays and date formats.  Additions of more
information.

18 years agoUpdate.
drepper [Tue, 12 Mar 2002 02:04:08 +0000 (02:04 +0000)]
Update.

18 years agoInclude <string.h> as well.
drepper [Tue, 12 Mar 2002 01:57:42 +0000 (01:57 +0000)]
Include <string.h> as well.

18 years ago(re_state_table_entry): Simplify the structure.
drepper [Tue, 12 Mar 2002 01:55:06 +0000 (01:55 +0000)]
(re_state_table_entry): Simplify the structure.

18 years ago(re_string_construct): Add __builtin_expect to error handling conditions.
drepper [Tue, 12 Mar 2002 01:54:50 +0000 (01:54 +0000)]
(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.

18 years ago(re_match): Add __builtin_expect to error handling conditions.
drepper [Tue, 12 Mar 2002 01:53:56 +0000 (01:53 +0000)]
(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.

18 years ago(BE): New macro.
drepper [Tue, 12 Mar 2002 01:53:25 +0000 (01:53 +0000)]
(BE): New macro.

18 years ago(regcomp): Add __builtin_expect to error handling conditions.
drepper [Tue, 12 Mar 2002 01:53:12 +0000 (01:53 +0000)]
(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.

(regfree): Remove a disused condition.

18 years ago(re_match): Fix incorrect register sizes.
drepper [Tue, 12 Mar 2002 01:47:25 +0000 (01:47 +0000)]
(re_match): Fix incorrect register sizes.
(re_search): Likewise.

18 years agoAvoid unconditional jump to a ret.
drepper [Tue, 12 Mar 2002 01:29:46 +0000 (01:29 +0000)]
Avoid unconditional jump to a ret.

18 years agoFix typo in comment.
drepper [Tue, 12 Mar 2002 01:29:22 +0000 (01:29 +0000)]
Fix typo in comment.

18 years agoUpdate.
drepper [Tue, 12 Mar 2002 00:38:37 +0000 (00:38 +0000)]
Update.

18 years ago(HP_TIMING_DIFF, HP_TIMING_ACCUM): Fix typos.
drepper [Tue, 12 Mar 2002 00:35:47 +0000 (00:35 +0000)]
(HP_TIMING_DIFF, HP_TIMING_ACCUM): Fix typos.

18 years agoRegenerated.
drepper [Tue, 12 Mar 2002 00:35:26 +0000 (00:35 +0000)]
Regenerated.

18 years agoFix comment.
drepper [Tue, 12 Mar 2002 00:35:08 +0000 (00:35 +0000)]
Fix comment.

18 years ago(SPARC64_DYNAMIC_BEFORE_GOT): Add.
drepper [Tue, 12 Mar 2002 00:34:39 +0000 (00:34 +0000)]
(SPARC64_DYNAMIC_BEFORE_GOT): Add.

18 years agoelf_machine_load_address): Fix if .dynamic comes before .got.
drepper [Tue, 12 Mar 2002 00:34:22 +0000 (00:34 +0000)]
elf_machine_load_address): Fix if .dynamic comes before .got.

18 years agoGenerated configure script for SPARC64.
drepper [Tue, 12 Mar 2002 00:33:57 +0000 (00:33 +0000)]
Generated configure script for SPARC64.

18 years agoConfigure fragment for SPARC64.
drepper [Tue, 12 Mar 2002 00:33:30 +0000 (00:33 +0000)]
Configure fragment for SPARC64.

18 years agoAdd some more randomness to the seed.
drepper [Mon, 11 Mar 2002 23:47:45 +0000 (23:47 +0000)]
Add some more randomness to the seed.

18 years agoUpdate.
drepper [Mon, 11 Mar 2002 23:05:12 +0000 (23:05 +0000)]
Update.

18 years agoUpdate from translation team.
drepper [Mon, 11 Mar 2002 21:55:52 +0000 (21:55 +0000)]
Update from translation team.

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

18 years ago.
roland [Mon, 11 Mar 2002 21:30:03 +0000 (21:30 +0000)]
.

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

18 years ago2002-03-11 Roland McGrath <roland@frob.com>
roland [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.

18 years ago2002-03-11 Roland McGrath <roland@frob.com>
roland [Mon, 11 Mar 2002 21:28:21 +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.

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

18 years agoUpdate.
drepper [Mon, 11 Mar 2002 21:03:40 +0000 (21:03 +0000)]
Update.

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

18 years agoUpdate.
aj [Mon, 11 Mar 2002 11:02:01 +0000 (11:02 +0000)]
Update.

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

18 years agoUpdate.
drepper [Mon, 11 Mar 2002 10:39:33 +0000 (10:39 +0000)]
Update.

18 years ago(ahostbuf): Define as static.
drepper [Mon, 11 Mar 2002 10:37:51 +0000 (10:37 +0000)]
(ahostbuf): Define as static.

18 years agoUpdate.
drepper [Mon, 11 Mar 2002 10:36:30 +0000 (10:36 +0000)]
Update.

18 years ago(__ctype32_wctype): Declare as hidden.
drepper [Mon, 11 Mar 2002 10:35:47 +0000 (10:35 +0000)]
(__ctype32_wctype): Declare as hidden.
(__ctype32_wctrans): Likewise.

18 years ago(__ctype32_width): Declare as hidden.
drepper [Mon, 11 Mar 2002 10:34:25 +0000 (10:34 +0000)]
(__ctype32_width): Declare as hidden.

18 years ago(__ctype32_wctype): Add attribute_hidden.
drepper [Mon, 11 Mar 2002 10:33:13 +0000 (10:33 +0000)]
(__ctype32_wctype): Add attribute_hidden.
(__ctype32_wctrans): Likewise.
(__ctype32_width): Likewise.

18 years agoUpdate.
drepper [Mon, 11 Mar 2002 10:28:31 +0000 (10:28 +0000)]
Update.

18 years agoDon't define compatibility symbols for getdents64. They were never exported.
drepper [Mon, 11 Mar 2002 10:27:49 +0000 (10:27 +0000)]
Don't define compatibility symbols for getdents64.  They were never exported.

18 years agoDeclare _gmonparam.
drepper [Mon, 11 Mar 2002 10:27:33 +0000 (10:27 +0000)]
Declare _gmonparam.

18 years agoRemove declaration of _gmonparam. It wasn't exported.
drepper [Mon, 11 Mar 2002 10:27:18 +0000 (10:27 +0000)]
Remove declaration of _gmonparam.  It wasn't exported.

18 years ago(_gmonparam): Add attribute_hidden.
drepper [Mon, 11 Mar 2002 10:27:02 +0000 (10:27 +0000)]
(_gmonparam): Add attribute_hidden.

18 years ago(elide-routines.os): Add bb_init_func and bb_exit_func. They were never
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.

18 years ago.
roland [Sat, 9 Mar 2002 21:19:16 +0000 (21:19 +0000)]
.

18 years ago2002-03-09 Roland McGrath <roland@frob.com>
roland [Sat, 9 Mar 2002 21:18:48 +0000 (21:18 +0000)]
2002-03-09  Roland McGrath  <roland@frob.com>

* hurd/hurdsig.c (write_corefile): Fix swapped arguments to __dir_link.
Reported by Jon Arney <jarney1@cox.net>.

18 years ago2002-02-23 Roland McGrath <roland@frob.com>
roland [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.

18 years agoUpdate.
aj [Wed, 6 Mar 2002 10:08:48 +0000 (10:08 +0000)]
Update.

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

18 years agoUpdate.
drepper [Tue, 5 Mar 2002 19:53:34 +0000 (19:53 +0000)]
Update.

18 years ago.
aj [Mon, 4 Mar 2002 13:46:11 +0000 (13:46 +0000)]
.

18 years agox86-64 specific version.
aj [Mon, 4 Mar 2002 13:45:56 +0000 (13:45 +0000)]
x86-64 specific version.

18 years agoUpdate.
aj [Mon, 4 Mar 2002 13:40:44 +0000 (13:40 +0000)]
Update.

18 years ago * sysdeps/unix/sysv/linux/kernel-features.h: Add defines for
aj [Mon, 4 Mar 2002 13:39:58 +0000 (13:39 +0000)]
* 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.

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

18 years agoUpdate.
aj [Sun, 3 Mar 2002 19:45:53 +0000 (19:45 +0000)]
Update.

18 years agoDefine __WORDSIZE for both i386 and x86-64 so that he header
aj [Sun, 3 Mar 2002 19:45:17 +0000 (19:45 +0000)]
Define __WORDSIZE for both i386 and x86-64 so that he header
can be used in both environments.

18 years agoUpdate.
aj [Sun, 3 Mar 2002 19:43:30 +0000 (19:43 +0000)]
Update.

18 years agoAdd prototypes to avoid warnings.
aj [Sun, 3 Mar 2002 19:42:15 +0000 (19:42 +0000)]
Add prototypes to avoid warnings.

18 years agoGet regex.h from include dir for internal prototypes.
aj [Sun, 3 Mar 2002 19:41:52 +0000 (19:41 +0000)]
Get regex.h from include dir for internal prototypes.

18 years ago[_LIBC]: Include libioP.h for prototype of _IO_putc_internal.
aj [Sun, 3 Mar 2002 19:41:28 +0000 (19:41 +0000)]
[_LIBC]: Include libioP.h for prototype of _IO_putc_internal.

18 years ago * sysdeps/unix/sysv/linux/init-first.c: Move __init_misc prototype
aj [Sun, 3 Mar 2002 19:41:05 +0000 (19:41 +0000)]
* 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.

18 years agoProvide prototype to avoid warning.
aj [Sun, 3 Mar 2002 19:40:18 +0000 (19:40 +0000)]
Provide prototype to avoid warning.

18 years agoProvide prototype to avoid warning.
aj [Sun, 3 Mar 2002 19:39:17 +0000 (19:39 +0000)]
Provide prototype to avoid warning.

18 years ago * thread_dbP.h: Include <unistd.h> for prototypes of __libc_write.
aj [Sun, 3 Mar 2002 19:39:13 +0000 (19:39 +0000)]
   * thread_dbP.h: Include <unistd.h> for prototypes of __libc_write.

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

18 years agoUpdate.
drepper [Sun, 3 Mar 2002 19:37:24 +0000 (19:37 +0000)]
Update.

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

18 years agoUpdate.
aj [Sat, 2 Mar 2002 13:14:52 +0000 (13:14 +0000)]
Update.

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

18 years agoUpdate.
drepper [Sat, 2 Mar 2002 10:32:19 +0000 (10:32 +0000)]
Update.

18 years ago(_dl_important_hwcaps): Fix creation of .str elements in the returned
drepper [Sat, 2 Mar 2002 10:31:14 +0000 (10:31 +0000)]
(_dl_important_hwcaps): Fix creation of .str elements in the returned
data structure.

18 years agoUpdate.
drepper [Sat, 2 Mar 2002 09:03:00 +0000 (09:03 +0000)]
Update.

18 years agoAdd Alpha TLS bits.
drepper [Sat, 2 Mar 2002 09:01:36 +0000 (09:01 +0000)]
Add Alpha TLS bits.

18 years agoUpdate.
drepper [Sat, 2 Mar 2002 00:48:30 +0000 (00:48 +0000)]
Update.

18 years agoNice implementation for Linux.
drepper [Sat, 2 Mar 2002 00:44:40 +0000 (00:44 +0000)]
Nice implementation for Linux.

18 years agoUpdate.
drepper [Fri, 1 Mar 2002 09:44:29 +0000 (09:44 +0000)]
Update.

18 years agoUse rtld_progrname instead of _dl_argv[0].
drepper [Fri, 1 Mar 2002 09:43:35 +0000 (09:43 +0000)]
Use rtld_progrname instead of _dl_argv[0].

18 years agoUndefine _dl_get_origin macro before function definition. Use INTDEF
drepper [Fri, 1 Mar 2002 09:40:49 +0000 (09:40 +0000)]
Undefine _dl_get_origin macro before function definition.  Use INTDEF
with _dl_get_origin.

18 years agoUse INTVARDEF with __libc_enable_secure. Use INTUSE with __libc_enable_secure.
drepper [Fri, 1 Mar 2002 09:39:59 +0000 (09:39 +0000)]
Use INTVARDEF with __libc_enable_secure. Use INTUSE with __libc_enable_secure.

18 years agoDeclare _dl_mcount_internal.
drepper [Fri, 1 Mar 2002 09:38:55 +0000 (09:38 +0000)]
Declare _dl_mcount_internal.
Declare _dl_out_of_memory_internal.
Define rtld_progname macro.

18 years agoUse INTVARDEF with __libc_enable_secure. Use INTUSE with __libc_enable_secure.
drepper [Fri, 1 Mar 2002 09:36:09 +0000 (09:36 +0000)]
Use INTVARDEF with __libc_enable_secure. Use INTUSE with __libc_enable_secure.
Use INTUSE with _dl_argv.

18 years agoUndefine _dl_get_origin macro before function definition. Use INTDEF
drepper [Fri, 1 Mar 2002 09:34:23 +0000 (09:34 +0000)]
Undefine _dl_get_origin macro before function definition.  Use INTDEF
with _dl_get_origin.

18 years agoDeclare __libc_enable_secure_internal.
drepper [Fri, 1 Mar 2002 09:33:07 +0000 (09:33 +0000)]
Declare __libc_enable_secure_internal.

18 years agoDefine attribute_hidden depending on HAVE_VISIBILITY_ATTRIBUTE. Add
drepper [Fri, 1 Mar 2002 09:32:10 +0000 (09:32 +0000)]
Define attribute_hidden depending on HAVE_VISIBILITY_ATTRIBUTE.  Add
definition of INTVARDEF.

18 years agoUse INTUSE with __libc_enable_secure.
drepper [Fri, 1 Mar 2002 09:30:26 +0000 (09:30 +0000)]
Use INTUSE with __libc_enable_secure.
Use INTUSE with _dl_starting_up.  Use INTVARDEF for _dl_starting_up.
Use INTDEF for _dl_argv.  Use rtld_progrname instead of _dl_argv[0].
Use INTUSE with _dl_argv.

18 years agoUse rtld_progrname instead of _dl_argv[0].
drepper [Fri, 1 Mar 2002 09:26:54 +0000 (09:26 +0000)]
Use rtld_progrname instead of _dl_argv[0].

18 years agoUse rtld_progrname instead of _dl_argv[0].
drepper [Fri, 1 Mar 2002 09:25:11 +0000 (09:25 +0000)]
Use rtld_progrname instead of _dl_argv[0].

18 years agoUse INTUSE with _dl_mcount.
drepper [Fri, 1 Mar 2002 09:24:19 +0000 (09:24 +0000)]
Use INTUSE with _dl_mcount.

18 years agoUse rtld_progrname instead of _dl_argv[0].
drepper [Fri, 1 Mar 2002 09:23:26 +0000 (09:23 +0000)]
Use rtld_progrname instead of _dl_argv[0].

18 years agoUse INTDEF for _dl_mcount.
drepper [Fri, 1 Mar 2002 09:16:36 +0000 (09:16 +0000)]
Use INTDEF for _dl_mcount.

18 years agoUse rtld_progrname instead of _dl_argv[0].
drepper [Fri, 1 Mar 2002 09:15:32 +0000 (09:15 +0000)]
Use rtld_progrname instead of _dl_argv[0].

18 years agoUse rtld_progrname instead of _dl_argv[0].
drepper [Fri, 1 Mar 2002 09:14:31 +0000 (09:14 +0000)]
Use rtld_progrname instead of _dl_argv[0].
Use INTUSE with __libc_enable_secure.

18 years agoUse rtld_progrname instead of _dl_argv[0].
drepper [Fri, 1 Mar 2002 09:13:03 +0000 (09:13 +0000)]
Use rtld_progrname instead of _dl_argv[0].
Use INTUSE with _dl_starting_up.

18 years agoUse rtld_progrname instead of _dl_argv[0].
drepper [Fri, 1 Mar 2002 09:11:58 +0000 (09:11 +0000)]
Use rtld_progrname instead of _dl_argv[0].

18 years agoUse rtld_progrname instead of _dl_argv[0].
drepper [Fri, 1 Mar 2002 09:11:07 +0000 (09:11 +0000)]
Use rtld_progrname instead of _dl_argv[0].
Use INTUSE with _dl_out_of_memory.