kopensolaris-gnu/glibc.git
19 years agoMisc cleanup: remove .psr and .lsb directives etc.
drepper [Sun, 25 Mar 2001 05:09:32 +0000 (05:09 +0000)]
Misc cleanup: remove .psr and .lsb directives etc.

19 years agoDrop .psr and .lsb directives. Add unwind directives.
drepper [Sun, 25 Mar 2001 05:09:15 +0000 (05:09 +0000)]
Drop .psr and .lsb directives.  Add unwind directives.

19 years ago(_mcount_ret_helper): Use LOCAL_LEAF() to declare instead of LEAF().
drepper [Sun, 25 Mar 2001 05:08:20 +0000 (05:08 +0000)]
(_mcount_ret_helper): Use LOCAL_LEAF() to declare instead of LEAF().
Remove .psr and .lsb directives (no longer needed).  Add unwind directives.

19 years ago(ENTRY): Added.
drepper [Sun, 25 Mar 2001 05:07:36 +0000 (05:07 +0000)]
(ENTRY): Added.
Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS, ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR,
and ASM_UNW_PRLG_GRSAVE.

19 years ago(ENTRY): Moved to sysdeps/ia64/sysdep.h.
drepper [Sun, 25 Mar 2001 05:07:06 +0000 (05:07 +0000)]
(ENTRY): Moved to sysdeps/ia64/sysdep.h.
(CALL_MCOUNT): Add unwind directives.
(PSEUDO): Drop .psr and .lsb directives.

19 years ago(regex_compile): Implement RE_INVALID_INTERVAL_ORD.
drepper [Sun, 25 Mar 2001 05:05:18 +0000 (05:05 +0000)]
(regex_compile): Implement RE_INVALID_INTERVAL_ORD.
(GET_UNSIGNED_NUMBER): Check for overflow.
Rewrite to avoid duplicate code.

19 years ago(RE_INVALID_INTERVAL_ORD): New macro.
drepper [Sun, 25 Mar 2001 05:04:34 +0000 (05:04 +0000)]
(RE_INVALID_INTERVAL_ORD): New macro.
(RE_SYNTAX_POSIX_EGREP): Use it.

19 years ago(tests): Don't depend on $(objpfx)tst-pathopt.out for cross-compiling.
drepper [Sun, 25 Mar 2001 04:57:51 +0000 (04:57 +0000)]
(tests): Don't depend on $(objpfx)tst-pathopt.out for cross-compiling.
($(objpfx)tst-pathopt.out):Undo the last change.

19 years ago* sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
kettenis [Sat, 24 Mar 2001 21:53:17 +0000 (21:53 +0000)]
* sysdeps/mach/hurd/i386/bits/sigcontext.h (sc_sp, sc_fp, sc_pc,
sc_ps): Define as aliases for sc_uesp, sc_ebl, sc_eip and sc_efl.

19 years ago* sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
kettenis [Sat, 24 Mar 2001 14:35:59 +0000 (14:35 +0000)]
* sysdeps/mach/hurd/i386/init-first.c: Include <assert.h>.
(_dl_argv): Declare.
(init) [SHARED]: Readjust _dl_argv if we switched to a new stack.

19 years agoUpdate.
aj [Thu, 22 Mar 2001 09:05:36 +0000 (09:05 +0000)]
Update.

19 years agogenerated): Add bug-regex2.mtrace and bug-regex2-mem.
aj [Thu, 22 Mar 2001 09:05:24 +0000 (09:05 +0000)]
generated): Add bug-regex2.mtrace and bug-regex2-mem.

19 years ago(generated): Add iconv-test.xxx.
aj [Thu, 22 Mar 2001 09:05:15 +0000 (09:05 +0000)]
(generated): Add iconv-test.xxx.

19 years agoUpdate.
drepper [Wed, 21 Mar 2001 21:43:52 +0000 (21:43 +0000)]
Update.

19 years ago(__gnu_get_libc_release): Add prototype.
drepper [Wed, 21 Mar 2001 21:43:00 +0000 (21:43 +0000)]
(__gnu_get_libc_release): Add prototype.
(__gnu_get_libc_version): Likewise.

19 years agoRemove prototypes for not exported functions.
drepper [Wed, 21 Mar 2001 21:42:08 +0000 (21:42 +0000)]
Remove prototypes for not exported functions.

19 years agoUpdate.
drepper [Wed, 21 Mar 2001 21:36:11 +0000 (21:36 +0000)]
Update.

19 years agoUpdate.
drepper [Wed, 21 Mar 2001 21:35:28 +0000 (21:35 +0000)]
Update.

19 years agoInclude libintl.h for internationalized printfs to work.
drepper [Wed, 21 Mar 2001 21:34:02 +0000 (21:34 +0000)]
Include libintl.h for internationalized printfs to work.

19 years ago(__pthread_initialize_manager): Fix a typo.
drepper [Wed, 21 Mar 2001 21:32:23 +0000 (21:32 +0000)]
(__pthread_initialize_manager): Fix a typo.

19 years agoUpdate.
drepper [Wed, 21 Mar 2001 20:22:51 +0000 (20:22 +0000)]
Update.

19 years ago(transmem_block_t): Change to unsigned char, to avoid compiler warning.
drepper [Wed, 21 Mar 2001 20:21:54 +0000 (20:21 +0000)]
(transmem_block_t): Change to unsigned char, to avoid compiler warning.
(_nl_find_msg): Add casts to avoid compiler warnings.

19 years agoUpdate.
drepper [Wed, 21 Mar 2001 20:15:55 +0000 (20:15 +0000)]
Update.

19 years agosprofil implementation using setitimer.
drepper [Wed, 21 Mar 2001 20:15:05 +0000 (20:15 +0000)]
sprofil implementation using setitimer.

19 years agoStub version of sprofil.
drepper [Wed, 21 Mar 2001 20:14:39 +0000 (20:14 +0000)]
Stub version of sprofil.

19 years agoHeader for sprofil and related information.
drepper [Wed, 21 Mar 2001 20:14:21 +0000 (20:14 +0000)]
Header for sprofil and related information.

19 years ago[libc] (GLIBC_2.2.3): Add sprofil.
drepper [Wed, 21 Mar 2001 20:14:01 +0000 (20:14 +0000)]
[libc] (GLIBC_2.2.3): Add sprofil.

19 years ago(routines): Add sprofil.
drepper [Wed, 21 Mar 2001 20:13:20 +0000 (20:13 +0000)]
(routines): Add sprofil.
(tests): Add tst-sprofil.
(noprof): Add sprofil.

19 years agoTest program for sprofil function.
drepper [Wed, 21 Mar 2001 20:12:28 +0000 (20:12 +0000)]
Test program for sprofil function.

19 years agoUpdate.
drepper [Wed, 21 Mar 2001 18:53:05 +0000 (18:53 +0000)]
Update.

19 years agoAdjust prototype of __gethostname.
drepper [Wed, 21 Mar 2001 18:51:19 +0000 (18:51 +0000)]
Adjust prototype of __gethostname.

19 years agoUpdate.
drepper [Wed, 21 Mar 2001 18:50:57 +0000 (18:50 +0000)]
Update.

19 years agoInformation about stack on SPARC.
drepper [Wed, 21 Mar 2001 18:50:06 +0000 (18:50 +0000)]
Information about stack on SPARC.

19 years agoUpdate.
drepper [Wed, 21 Mar 2001 18:47:50 +0000 (18:47 +0000)]
Update.

19 years agoTest for pthread_getattr_np.
drepper [Wed, 21 Mar 2001 18:47:24 +0000 (18:47 +0000)]
Test for pthread_getattr_np.

19 years ago(tests): Add ex17 test.
drepper [Wed, 21 Mar 2001 18:46:27 +0000 (18:46 +0000)]
(tests): Add ex17 test.

19 years ago(__pthread_attr_setstack): Fix alignment check.
drepper [Wed, 21 Mar 2001 18:46:15 +0000 (18:46 +0000)]
(__pthread_attr_setstack): Fix alignment check.
(pthread_getattr_np): __stackaddr is top of stack, not bottom.

19 years agoUpdate.
aj [Wed, 21 Mar 2001 07:21:48 +0000 (07:21 +0000)]
Update.

19 years ago(main): Use proper prototype.
aj [Wed, 21 Mar 2001 07:21:34 +0000 (07:21 +0000)]
(main): Use proper prototype.

19 years agoUpdate.
drepper [Tue, 20 Mar 2001 21:05:29 +0000 (21:05 +0000)]
Update.

19 years agoUse td_lookup instead of directly using ps_pglobal_lookup to find
drepper [Tue, 20 Mar 2001 21:05:18 +0000 (21:05 +0000)]
Use td_lookup instead of directly using ps_pglobal_lookup to find
symbol address.

19 years agoDefine symbol name indices.
drepper [Tue, 20 Mar 2001 21:04:14 +0000 (21:04 +0000)]
Define symbol name indices.
Add prototype for td_lookup.

19 years agoAdd prototype for td_symbol_list.
drepper [Tue, 20 Mar 2001 21:03:20 +0000 (21:03 +0000)]
Add prototype for td_symbol_list.

19 years ago[libthread_db] (GLIBC_2.2.3): Add td_symbol_list.
drepper [Tue, 20 Mar 2001 21:02:22 +0000 (21:02 +0000)]
[libthread_db] (GLIBC_2.2.3): Add td_symbol_list.

19 years ago(libthread_db-routines): Add td_symbol_list.
drepper [Tue, 20 Mar 2001 21:01:43 +0000 (21:01 +0000)]
(libthread_db-routines): Add td_symbol_list.

19 years agoHandling of symbol lookup.
drepper [Tue, 20 Mar 2001 21:00:54 +0000 (21:00 +0000)]
Handling of symbol lookup.

19 years agoUpdate.
drepper [Tue, 20 Mar 2001 20:56:03 +0000 (20:56 +0000)]
Update.

19 years agoDefine -D_RPC_THREAD_SAFE_ for cancel.c.
drepper [Tue, 20 Mar 2001 20:55:22 +0000 (20:55 +0000)]
Define -D_RPC_THREAD_SAFE_ for cancel.c.

19 years agoAdd item about extra test suite.
drepper [Tue, 20 Mar 2001 18:47:19 +0000 (18:47 +0000)]
Add item about extra test suite.

19 years agoMention thread-safe RPC.
drepper [Tue, 20 Mar 2001 18:36:56 +0000 (18:36 +0000)]
Mention thread-safe RPC.

19 years agoUpdate.
drepper [Tue, 20 Mar 2001 18:35:13 +0000 (18:35 +0000)]
Update.

19 years agoDon't use global variables. Access state in thread-local storage.
drepper [Tue, 20 Mar 2001 18:34:22 +0000 (18:34 +0000)]
Don't use global variables.  Access state in thread-local storage.

19 years ago[libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.
drepper [Tue, 20 Mar 2001 18:33:34 +0000 (18:33 +0000)]
[libc] (GLIBC_2.2.3): Export __rpc_thread_destroy.

19 years agoHandling of thread-local storage for RPC functions.
drepper [Tue, 20 Mar 2001 18:32:02 +0000 (18:32 +0000)]
Handling of thread-local storage for RPC functions.

19 years ago(routines): Add rpc_thread.
drepper [Tue, 20 Mar 2001 18:31:37 +0000 (18:31 +0000)]
(routines): Add rpc_thread.
(CPPFLAGS): Add -D_RPC_THREAD_SAFE.

19 years ago(enum __hurd_threadvar_index): Add _HURD_THREADVAR_RPC_VARS.
drepper [Tue, 20 Mar 2001 18:30:41 +0000 (18:30 +0000)]
(enum __hurd_threadvar_index): Add _HURD_THREADVAR_RPC_VARS.

19 years agoMention _LIBC_TSD_KEY_RPC_VARS.
drepper [Tue, 20 Mar 2001 18:28:28 +0000 (18:28 +0000)]
Mention _LIBC_TSD_KEY_RPC_VARS.

19 years agoUpdate.
drepper [Tue, 20 Mar 2001 18:27:36 +0000 (18:27 +0000)]
Update.

19 years agoDefine _LIBC_TSD_KEY_VARS.
drepper [Tue, 20 Mar 2001 18:27:00 +0000 (18:27 +0000)]
Define _LIBC_TSD_KEY_VARS.

19 years agoUpdate.
drepper [Tue, 20 Mar 2001 18:26:06 +0000 (18:26 +0000)]
Update.

19 years ago(__pthread_perform_cleanup): Call __rpc_thread_destroy.
drepper [Tue, 20 Mar 2001 18:25:35 +0000 (18:25 +0000)]
(__pthread_perform_cleanup): Call __rpc_thread_destroy.

19 years agoDefine data structures for internal thread-local "global" variables.
drepper [Tue, 20 Mar 2001 18:24:36 +0000 (18:24 +0000)]
Define data structures for internal thread-local "global" variables.

19 years agoUpdate.
drepper [Tue, 20 Mar 2001 09:26:25 +0000 (09:26 +0000)]
Update.

19 years agoVarious little optimizations.
drepper [Tue, 20 Mar 2001 09:25:23 +0000 (09:25 +0000)]
Various little optimizations.

19 years agoUpdate.
drepper [Tue, 20 Mar 2001 08:32:39 +0000 (08:32 +0000)]
Update.

19 years ago(__pathconf): Return LINUX_LINK_MAX only if the statfs function is not
drepper [Tue, 20 Mar 2001 08:31:51 +0000 (08:31 +0000)]
(__pathconf): Return LINUX_LINK_MAX only if the statfs function is not
implemented for the filesystem.

19 years ago(__fpathconf): Return LINUX_LINK_MAX only if the fstatfs function is not
drepper [Tue, 20 Mar 2001 08:30:52 +0000 (08:30 +0000)]
(__fpathconf): Return LINUX_LINK_MAX only if the fstatfs function is not
implemented for the filesystem.

19 years agoUpdate.
drepper [Tue, 20 Mar 2001 06:52:36 +0000 (06:52 +0000)]
Update.

19 years ago(DL_DST_COUNT): Add __builtin_expect.
drepper [Tue, 20 Mar 2001 06:51:50 +0000 (06:51 +0000)]
(DL_DST_COUNT): Add __builtin_expect.

19 years ago(_dl_dst_count): Make DST recognition more robust.
drepper [Tue, 20 Mar 2001 06:51:29 +0000 (06:51 +0000)]
(_dl_dst_count): Make DST recognition more robust.
(_dl_dst_substitute): Likewise.

19 years agoUpdate.
drepper [Tue, 20 Mar 2001 01:00:20 +0000 (01:00 +0000)]
Update.

19 years agoDon't include gettext.h.
drepper [Tue, 20 Mar 2001 00:58:45 +0000 (00:58 +0000)]
Don't include gettext.h.
Include libgnuintl.h instead of libgettext.h.

19 years agoRegenerated.
drepper [Tue, 20 Mar 2001 00:58:07 +0000 (00:58 +0000)]
Regenerated.

19 years agoDon't include gettext.h.
drepper [Tue, 20 Mar 2001 00:57:51 +0000 (00:57 +0000)]
Don't include gettext.h.
(__gettext_free_exp, yylex, yyerror): Convert to K&R C syntax.
[!_LIBC]: Define gettextparse__, gettext_free_exp__, not
__gettextparse, __gettext_free_exp.
Don't include stdarg.h.
(new_exp): Take an array of arguments instead of varargs.
(new_exp_0, new_exp_1, new_exp_2, new_exp_3): New functions.
('?' ':'): Make right-associative.
(EQUOP2): New token, replaces '=' and '!'.
(CMPOP2): New token.
(ADDOP2): New token, replaces '+' and '-'.
(MULOP2): New token, replaces '*', '/' and '%'.
('!'): New token.
(exp): Add rules for CMPOP2 and '!'. Don't call YYABORT.
(start): Call YYABORT here.
(FREE_EXPRESSION): Update.
(yylex): Don't skip "\\n". Recognize comparison and '!' operators.
Update for new token symbols.

19 years agoDon't include gettext.h.
drepper [Tue, 20 Mar 2001 00:57:00 +0000 (00:57 +0000)]
Don't include gettext.h.
Include libgnuintl.h instead of libgettext.h.

19 years agoDon't include gettext.h.
drepper [Tue, 20 Mar 2001 00:56:28 +0000 (00:56 +0000)]
Don't include gettext.h.
(ADD_BLOCK, FREE_BLOCK): Remove macros.
(freea): New macro.
(read_alias_file): Simplify fallback code for platforms lacking alloca.

19 years ago(_nl_load_domain): Add fallback code for platforms lacking strtoul,
drepper [Tue, 20 Mar 2001 00:55:51 +0000 (00:55 +0000)]
(_nl_load_domain): Add fallback code for platforms lacking strtoul,
like SunOS4.
[!_LIBC]: Use gettextparse__, not __gettextparse.
Include headers needed for alloca().
(freea): New macro.
(_nl_load_domain): Add fallback code for platforms lacking alloca.
(_nl_load_domain): locale_charset() doesn't return NULL any more.
(plvar, plone, germanic_plural, init_germanic_plural): Update.
(_nl_load_domain) [!_LIBC]: Use fstat, not fstat64.

19 years ago(_nl_normalize_codeset): Use tolower, not _tolower.
drepper [Tue, 20 Mar 2001 00:49:40 +0000 (00:49 +0000)]
(_nl_normalize_codeset): Use tolower, not _tolower.

19 years agoInclude <stddef.h>. Include gettext.h, for nls_uint32.
drepper [Tue, 20 Mar 2001 00:49:14 +0000 (00:49 +0000)]
Include <stddef.h>.  Include gettext.h, for nls_uint32.
(ZERO): New macro.
(struct binding): Always use ZERO.
(gettext__, dgettext__, dcgettext__, textdomain__, bindtextdomain__,
bind_textdomain_codeset__): New declarations, from old libgettext.h.
(__gettextdebug): Remove declaration.
(__gettext_free_exp, __gettextparse): Convert prototype to K&R C syntax.
(gettext_free_exp__, gettextparse__): New non-libc declarations.
(struct expression): Add operators lnot, less_than, greater_than,
less_or_equal, greater_or_equal. Replace args2/args3 union by a
'nargs' counter and an 'args[]' array.

19 years agoDon't include <stdio.h>.
drepper [Tue, 20 Mar 2001 00:47:59 +0000 (00:47 +0000)]
Don't include <stdio.h>.

19 years agoInclude libgnuintl.h instead of libgettext.h. Include gettextP.h.
drepper [Tue, 20 Mar 2001 00:47:34 +0000 (00:47 +0000)]
Include libgnuintl.h instead of libgettext.h.  Include gettextP.h.
Don't include locale.h.

19 years agoDon't include gettext.h.
drepper [Tue, 20 Mar 2001 00:46:58 +0000 (00:46 +0000)]
Don't include gettext.h.
Include libgnuintl.h instead of libgettext.h.

19 years ago(_nl_find_language): Convert to K&R C syntax.
drepper [Tue, 20 Mar 2001 00:46:28 +0000 (00:46 +0000)]
(_nl_find_language): Convert to K&R C syntax.

19 years agoInclude libgnuintl.h instead of libgettext.h.
drepper [Tue, 20 Mar 2001 00:45:37 +0000 (00:45 +0000)]
Include libgnuintl.h instead of libgettext.h.

19 years agoInclude libgnuintl.h instead of libgettext.h. Include gettextP.h.
drepper [Tue, 20 Mar 2001 00:45:04 +0000 (00:45 +0000)]
Include libgnuintl.h instead of libgettext.h.  Include gettextP.h.

19 years agoDon't include gettext.h.
drepper [Tue, 20 Mar 2001 00:44:36 +0000 (00:44 +0000)]
Don't include gettext.h.
Include libgnuintl.h instead of libgettext.h.

19 years ago(_nl_default_dirname): Initialize with LOCALEDIR.
drepper [Tue, 20 Mar 2001 00:44:07 +0000 (00:44 +0000)]
(_nl_default_dirname): Initialize with LOCALEDIR.
Don't include gettext.h.
(offsetof): Provide fallback for platforms that lack it, like SunOS4.
(ZERO): Remove macro.
(struct transmem_list): Use ZERO.
(DCIGETTEXT): Use offsetof, not sizeof.
Include libgnuintl.h instead of libgettext.h.
(transcmp): Convert to K&R C syntax.
Update comment about HAVE_LOCALE_NULL.
(_nl_find_msg): Optimize for space.
(plural_eval): Recognize comparison and '!' operators. Optimize for space.

19 years agoDon't include gettext.h.
drepper [Tue, 20 Mar 2001 00:42:32 +0000 (00:42 +0000)]
Don't include gettext.h.
Include libgnuintl.h instead of libgettext.h.

19 years agoDon't include gettext.h.
drepper [Tue, 20 Mar 2001 00:41:59 +0000 (00:41 +0000)]
Don't include gettext.h.
(offsetof): Provide fallback for platforms that lack it, like SunOS4.
(set_binding_values): Use offsetof, not sizeof.
Include libgnuintl.h instead of libgettext.h.
(set_binding_values): Convert prototype to K&R C syntax.

19 years ago(CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.
drepper [Tue, 20 Mar 2001 00:41:07 +0000 (00:41 +0000)]
(CPPFLAGS): Set LOCALEDIR instead of GNULOCALEDIR.

19 years ago/usr/bin/bison --yacc --name-prefix=__gettext --output plural.c plural.y
drepper [Tue, 20 Mar 2001 00:09:58 +0000 (00:09 +0000)]
/usr/bin/bison --yacc --name-prefix=__gettext --output plural.c plural.y

19 years agoUpdate.
drepper [Mon, 19 Mar 2001 23:34:54 +0000 (23:34 +0000)]
Update.

19 years agoCode to generate 64 bits of randomness.
drepper [Mon, 19 Mar 2001 23:33:54 +0000 (23:33 +0000)]
Code to generate 64 bits of randomness.

19 years ago(uint64_t): Define to uintmax_t if not defined, and if UINT64_MAX is
drepper [Mon, 19 Mar 2001 23:33:10 +0000 (23:33 +0000)]
(uint64_t): Define to uintmax_t if not defined, and if UINT64_MAX is
not defined.

(__gen_tempname): If RANDOM_BITS is defined use this macro to get some
bits of randomness instead of the usual gettimeofday or time calls.

19 years ago(SVID Random): Mention header the functions are declared in.
drepper [Mon, 19 Mar 2001 23:05:10 +0000 (23:05 +0000)]
(SVID Random): Mention header the functions are declared in.

19 years agoUpdate.
drepper [Mon, 19 Mar 2001 22:08:34 +0000 (22:08 +0000)]
Update.

19 years agoSpecial library handling code for ldconfig on Linux/S390.
drepper [Mon, 19 Mar 2001 22:07:43 +0000 (22:07 +0000)]
Special library handling code for ldconfig on Linux/S390.

19 years agoDefinitions for ldconfig on Linux/S390.
drepper [Mon, 19 Mar 2001 22:07:13 +0000 (22:07 +0000)]
Definitions for ldconfig on Linux/S390.

19 years agoAdd define for FLAG_S390_LIB64.
drepper [Mon, 19 Mar 2001 22:06:34 +0000 (22:06 +0000)]
Add define for FLAG_S390_LIB64.

19 years agoAdd case for FLAG_S390_LIB64.
drepper [Mon, 19 Mar 2001 22:05:57 +0000 (22:05 +0000)]
Add case for FLAG_S390_LIB64.
Mark and have translated a few more messages.