kopensolaris-gnu/glibc.git
17 years agoUpdate.
drepper [Thu, 29 Aug 2002 10:12:49 +0000 (10:12 +0000)]
Update.

17 years ago(VERSION): Bump to 2.2.92.
drepper [Thu, 29 Aug 2002 10:11:36 +0000 (10:11 +0000)]
(VERSION): Bump to 2.2.92.

17 years ago(tst-ftime_l-ENV): New variable.
drepper [Thu, 29 Aug 2002 10:11:10 +0000 (10:11 +0000)]
(tst-ftime_l-ENV): New variable.

17 years agoUpdate.
drepper [Thu, 29 Aug 2002 10:07:47 +0000 (10:07 +0000)]
Update.

17 years agoDon't remove HAS_HOLES, just define to 0.
drepper [Thu, 29 Aug 2002 09:56:38 +0000 (09:56 +0000)]
Don't remove HAS_HOLES, just define to 0.

17 years agoAll bytes are now used. No holes anymore.
drepper [Thu, 29 Aug 2002 09:55:29 +0000 (09:55 +0000)]
All bytes are now used.  No holes anymore.

17 years agoAdd correct mapping for <U017E>, <U017A>, <U017D> and <U0179>.
drepper [Thu, 29 Aug 2002 09:45:29 +0000 (09:45 +0000)]
Add correct mapping for <U017E>, <U017A>, <U017D> and <U0179>.
Add missing mappings.

17 years ago.
roland [Thu, 29 Aug 2002 09:28:34 +0000 (09:28 +0000)]
.

17 years agoUse correct types for frompcindex and toindex variables.
drepper [Thu, 29 Aug 2002 09:27:50 +0000 (09:27 +0000)]
Use correct types for frompcindex and toindex variables.

17 years ago(__monstartup): Use currect cast for assignments to kcount and froms.
drepper [Thu, 29 Aug 2002 09:27:38 +0000 (09:27 +0000)]
(__monstartup): Use currect cast for assignments to kcount and froms.
(write_call_graph): Use correct type for from_index and to_index.

17 years ago(ARCDENSITY): Bump to 3.
drepper [Thu, 29 Aug 2002 09:27:23 +0000 (09:27 +0000)]
(ARCDENSITY): Bump to 3.
Define ARCINDEX.  Bump MAXARCS to 1 << 20.
(struct tostruct): Use ACRINDEX as type for link field.
(statuc gmonparam): Likewise for froms.

17 years ago2002-08-29 Roland McGrath <roland@redhat.com>
roland [Thu, 29 Aug 2002 09:26:30 +0000 (09:26 +0000)]
2002-08-29  Roland McGrath  <roland@redhat.com>

* string/tst-strxfrm.c: Remove __ from function names.

17 years ago(gaih_inet): Fix code to determine canonical name.
drepper [Thu, 29 Aug 2002 08:51:26 +0000 (08:51 +0000)]
(gaih_inet): Fix code to determine canonical name.

17 years ago(ISSPACE): New #define. Use isspace or __isspace_l. Replace calls to isspace.
drepper [Thu, 29 Aug 2002 07:26:10 +0000 (07:26 +0000)]
(ISSPACE): New #define.  Use isspace or __isspace_l.  Replace calls to isspace.
(match_string): Defin variant for USE_IN_EXTENDED_LOCALE_MODEL.

17 years agoUpdate.
drepper [Thu, 29 Aug 2002 06:50:10 +0000 (06:50 +0000)]
Update.

17 years agoDeclare __wcsmbs_to_wc and __wcsmbs_getfct.
drepper [Thu, 29 Aug 2002 06:41:48 +0000 (06:41 +0000)]
Declare __wcsmbs_to_wc and __wcsmbs_getfct.

17 years ago(__wcsmbs_to_wc): Renamed from to_wc. Don't define as static. Change
drepper [Thu, 29 Aug 2002 06:40:55 +0000 (06:40 +0000)]
(__wcsmbs_to_wc): Renamed from to_wc.  Don't define as static.  Change
all uses.
(__wcsmbs_getfct): Renamed from getfct.  Don't define as
static. Change all callers.

17 years ago__mbsrtowcs_l implementation.
drepper [Thu, 29 Aug 2002 06:39:06 +0000 (06:39 +0000)]
__mbsrtowcs_l implementation.

17 years agoAdd support for compilation with USE_IN_EXTENDED_LOCALE_MODEL.
drepper [Thu, 29 Aug 2002 06:38:39 +0000 (06:38 +0000)]
Add support for compilation with USE_IN_EXTENDED_LOCALE_MODEL.

17 years ago(routines): Add mbsrtowcs_l.
drepper [Thu, 29 Aug 2002 06:37:43 +0000 (06:37 +0000)]
(routines): Add mbsrtowcs_l.

17 years agoWhen translating for the extended locale model use the _l functions.
drepper [Thu, 29 Aug 2002 06:37:07 +0000 (06:37 +0000)]
When translating for the extended locale model use the _l functions.

17 years agoDeclare __mbsrtowcs_l.
drepper [Thu, 29 Aug 2002 06:35:18 +0000 (06:35 +0000)]
Declare __mbsrtowcs_l.

17 years ago(tests): Add tst-ftime_l.
drepper [Thu, 29 Aug 2002 06:15:09 +0000 (06:15 +0000)]
(tests): Add tst-ftime_l.

17 years agoTest for strftime_l and wcsftime_l.
drepper [Thu, 29 Aug 2002 06:14:44 +0000 (06:14 +0000)]
Test for strftime_l and wcsftime_l.

17 years ago.
roland [Thu, 29 Aug 2002 05:57:16 +0000 (05:57 +0000)]
.

17 years ago2002-08-28 Roland McGrath <roland@redhat.com>
roland [Thu, 29 Aug 2002 05:57:00 +0000 (05:57 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* locale/findlocale.c [NL_CURRENT_INDIRECT] (_nl_C): New variable.
* locale/setlocale.c (setlocale) [NL_CURRENT_INDIRECT]: Null return
from _nl_find_locale ok if for _nl_C_name.

17 years ago.
roland [Thu, 29 Aug 2002 02:18:11 +0000 (02:18 +0000)]
.

17 years ago2002-08-28 Roland McGrath <roland@redhat.com>
roland [Thu, 29 Aug 2002 02:17:54 +0000 (02:17 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* locale/nl_langinfo.c [NL_CURRENT_INDIRECT]: Use a categories.def
iterator to refer to each category's _nl_current_LC_FOO symbol, so
we know they are all linked in.

17 years ago.
roland [Thu, 29 Aug 2002 01:42:29 +0000 (01:42 +0000)]
.

17 years ago2002-08-28 Roland McGrath <roland@redhat.com>
roland [Thu, 29 Aug 2002 01:41:59 +0000 (01:41 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* NEWS: Added 2.2.6 text from 2.2 branch version.

17 years ago.
roland [Thu, 29 Aug 2002 01:41:32 +0000 (01:41 +0000)]
.

17 years ago2002-08-28 Roland McGrath <roland@redhat.com>
roland [Thu, 29 Aug 2002 01:41:17 +0000 (01:41 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* sysdeps/pthread/timer_routines.c (thread_func): Fix type in cast.

17 years ago.
roland [Thu, 29 Aug 2002 01:33:55 +0000 (01:33 +0000)]
.

17 years ago2002-08-28 Roland McGrath <roland@redhat.com>
roland [Thu, 29 Aug 2002 01:33:42 +0000 (01:33 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* time/strptime.c (strptime_internal): Remove spurious const.

17 years agoAdd dl-brk.S.
drepper [Thu, 29 Aug 2002 00:44:05 +0000 (00:44 +0000)]
Add dl-brk.S.

17 years agoUpdate.
drepper [Thu, 29 Aug 2002 00:34:10 +0000 (00:34 +0000)]
Update.

17 years agoUpdate.
drepper [Thu, 29 Aug 2002 00:03:43 +0000 (00:03 +0000)]
Update.

17 years agoaio_cancel implementation for Linux/Alpha.
drepper [Thu, 29 Aug 2002 00:02:58 +0000 (00:02 +0000)]
aio_cancel implementation for Linux/Alpha.

17 years agoaio_cancel implementation for Linux/SPARC.
drepper [Thu, 29 Aug 2002 00:02:11 +0000 (00:02 +0000)]
aio_cancel implementation for Linux/SPARC.

17 years agoaio_cancel implementation for Linux/HPPA.
drepper [Thu, 29 Aug 2002 00:01:33 +0000 (00:01 +0000)]
aio_cancel implementation for Linux/HPPA.

17 years agopipe implementation for Linux/Alpha.
drepper [Thu, 29 Aug 2002 00:00:38 +0000 (00:00 +0000)]
pipe implementation for Linux/Alpha.

17 years ago(GLIBC_2.3) [librt]: Add.
drepper [Wed, 28 Aug 2002 23:59:56 +0000 (23:59 +0000)]
(GLIBC_2.3) [librt]: Add.

17 years agoDon't include aio.h and its aio_cancel64 renaming hack nor provide weak_alias
drepper [Wed, 28 Aug 2002 23:59:48 +0000 (23:59 +0000)]
Don't include aio.h and its aio_cancel64 renaming hack nor provide weak_alias
if aio_cancel is a macro.

17 years agoError codes for Linux/SPARC.
drepper [Wed, 28 Aug 2002 23:59:23 +0000 (23:59 +0000)]
Error codes for Linux/SPARC.

17 years agoDon't redefine ECANCELED if already defined by kernel headers.
drepper [Wed, 28 Aug 2002 23:58:36 +0000 (23:58 +0000)]
Don't redefine ECANCELED if already defined by kernel headers.

17 years ago(ECANCELED): Define to ECANCELLED if not defined by kernel headers.
drepper [Wed, 28 Aug 2002 23:58:20 +0000 (23:58 +0000)]
(ECANCELED): Define to ECANCELLED if not defined by kernel headers.

17 years agoError codes for Linux/Alpha.
drepper [Wed, 28 Aug 2002 23:58:00 +0000 (23:58 +0000)]
Error codes for Linux/Alpha.

17 years agoExtra version information for Linux/SPARC.
drepper [Wed, 28 Aug 2002 23:56:02 +0000 (23:56 +0000)]
Extra version information for Linux/SPARC.

17 years ago(libc): Add #errlist-compat comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3.
drepper [Wed, 28 Aug 2002 23:55:01 +0000 (23:55 +0000)]
(libc): Add #errlist-compat comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3.
(librt): Add aio_cancel and aio_cancel64 as GLIBC_2.3.

17 years ago(libc): Add #errlist-compat comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3.
drepper [Wed, 28 Aug 2002 23:53:22 +0000 (23:53 +0000)]
(libc): Add #errlist-compat comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3.

17 years agoRegenerated.
drepper [Wed, 28 Aug 2002 23:53:03 +0000 (23:53 +0000)]
Regenerated.

17 years agoInclude <errlist-compat.c> instead of "errlist-compat.c".
drepper [Wed, 28 Aug 2002 23:52:44 +0000 (23:52 +0000)]
Include <errlist-compat.c> instead of "errlist-compat.c".

17 years agoUse #errlist-compat comments from the
drepper [Wed, 28 Aug 2002 23:52:23 +0000 (23:52 +0000)]
Use #errlist-compat comments from the
first Versions file in the search path which has them.
Allow multiple errlist symbol versions to have the same count of errors.

17 years agoNot needed anymore.
drepper [Wed, 28 Aug 2002 23:52:02 +0000 (23:52 +0000)]
Not needed anymore.

17 years ago(errlist-compat.c): Build this file in the object directory.
drepper [Wed, 28 Aug 2002 23:51:37 +0000 (23:51 +0000)]
(errlist-compat.c): Build this file in the object directory.
Pass all Versions files to the awk script.

17 years agoRemove errlist-compat.c.
drepper [Wed, 28 Aug 2002 23:51:16 +0000 (23:51 +0000)]
Remove errlist-compat.c.

17 years ago(__rtld_global_attribute__): Define.
drepper [Wed, 28 Aug 2002 23:51:04 +0000 (23:51 +0000)]
(__rtld_global_attribute__): Define.
(_rtld_global): Use it.

17 years ago[!__ASSEMBLER__] (declare_symbol_1): Add missing comma to .type directive.
drepper [Wed, 28 Aug 2002 23:11:37 +0000 (23:11 +0000)]
[!__ASSEMBLER__] (declare_symbol_1): Add missing comma to .type directive.

17 years ago.
roland [Wed, 28 Aug 2002 23:11:21 +0000 (23:11 +0000)]
.

17 years ago2002-08-28 Roland McGrath <roland@redhat.com>
roland [Wed, 28 Aug 2002 23:11:04 +0000 (23:11 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* locale/localeinfo.h (struct locale_data): New member `private'
* locale/loadlocale.c (_nl_intern_locale_data): Initialize it.
(_nl_unload_locale): Call LOCALE->private.cleanup if it is set.
* locale/C-collate.c: Update initializer.
* locale/C-identification.c: Likewise.
* locale/C-measurement.c: Likewise.
* locale/C-telephone.c: Likewise.
* locale/C-address.c: Likewise.
* locale/C-name.c: Likewise.
* locale/C-paper.c: Likewise.
* locale/C-time.c: Likewise.
* locale/C-numeric.c: Likewise.
* locale/C-monetary.c: Likewise.
* locale/C-messages.c : Likewise.
* locale/C-ctype.c: Likewise.

17 years ago2002-08-28 Roland McGrath <roland@redhat.com>
roland [Wed, 28 Aug 2002 23:11:02 +0000 (23:11 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry,
_nl_select_era_entry): Moved to ...
* time/era.c: ... here, new file.
(_nl_init_era_entries, _nl_get_era_entry, _nl_select_era_entry):
Add internal_function to definitions.  Take an additional argument
giving the `struct locale_data *' to use.
* locale/lc-time.c (_get_alt_digit, _nl_get_walt_digit,
_nl_parse_alt_digit): Moved to ...
* time/alt_digit.c: ... here, new file.
* time/lc-time-cleanup.c: New file.
* locale/lc-time.c (_nl_postload_time, free_mem): Functions removed.
* locale/localeinfo.h (_nl_postload_time): Remove decl.
(_nl_cleanup_time): Declare it.
(_nl_get_era_entry, _nl_select_era_entry): Update decls.
(_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit): Likewise.
* time/Makefile (aux): New variable: era, alt_digit, lc-time-cleanup.
* time/strftime.c: Pass locale data to helper functions.
* time/strptime.c: Likewise.
* locale/localeinfo.h (struct locale_data): New member `private'
* locale/loadlocale.c (_nl_intern_locale_data): Initialize it.
(_nl_unload_locale): Call LOCALE->private.cleanup if it is set.
* locale/C-collate.c: Update initializer.
* locale/C-identification.c: Likewise.
* locale/C-measurement.c: Likewise.
* locale/C-telephone.c: Likewise.
* locale/C-address.c: Likewise.
* locale/C-name.c: Likewise.
* locale/C-paper.c: Likewise.
* locale/C-time.c: Likewise.
* locale/C-numeric.c: Likewise.
* locale/C-monetary.c: Likewise.
* locale/C-messages.c : Likewise.
* locale/C-ctype.c: Likewise.

17 years ago2002-08-28 Roland McGrath <roland@redhat.com>
roland [Wed, 28 Aug 2002 23:10:59 +0000 (23:10 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry,
_nl_select_era_entry): Moved to ...
* time/era.c: ... here, new file.
(_nl_init_era_entries, _nl_get_era_entry, _nl_select_era_entry):
Add internal_function to definitions.  Take an additional argument
giving the `struct locale_data *' to use.
* locale/lc-time.c (_get_alt_digit, _nl_get_walt_digit,
_nl_parse_alt_digit): Moved to ...
* time/alt_digit.c: ... here, new file.
* time/lc-time-cleanup.c: New file.
* locale/lc-time.c (_nl_postload_time, free_mem): Functions removed.
* locale/localeinfo.h (_nl_postload_time): Remove decl.
(_nl_cleanup_time): Declare it.
(_nl_get_era_entry, _nl_select_era_entry): Update decls.
(_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit): Likewise.
* time/Makefile (aux): New variable: era, alt_digit, lc-time-cleanup.
* time/strftime.c: Pass locale data to helper functions.
* time/strptime.c: Likewise.

17 years ago2002-08-28 Roland McGrath <roland@redhat.com>
roland [Wed, 28 Aug 2002 23:10:57 +0000 (23:10 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry,
_nl_select_era_entry): Moved to ...
* time/era.c: ... here, new file.
(_nl_init_era_entries, _nl_get_era_entry, _nl_select_era_entry):
Add internal_function to definitions.  Take an additional argument
giving the `struct locale_data *' to use.
* locale/lc-time.c (_get_alt_digit, _nl_get_walt_digit,
_nl_parse_alt_digit): Moved to ...
* time/alt_digit.c: ... here, new file.
* time/lc-time-cleanup.c: New file.
* locale/lc-time.c (_nl_postload_time, free_mem): Functions removed.
* locale/localeinfo.h (_nl_postload_time): Remove decl.
(_nl_cleanup_time): Declare it.
(_nl_get_era_entry, _nl_select_era_entry): Update decls.
(_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit): Likewise.
* time/Makefile (aux): New variable: era, alt_digit, lc-time-cleanup.
* time/strftime.c: Pass locale data to helper functions.
* time/strptime.c: Likewise.
* time/strptime.c [USE_IN_EXTENDED_LOCALE_MODEL] (_NL_CURRENT_WORD):
Redefine this too.

17 years agoUpdate.
drepper [Wed, 28 Aug 2002 22:37:20 +0000 (22:37 +0000)]
Update.

17 years ago(thread_func): Change return type to void and add casts in use to
drepper [Wed, 28 Aug 2002 22:36:22 +0000 (22:36 +0000)]
(thread_func): Change return type to void and add casts in use to
avoid warnings wit all gcc versions.

17 years agoUpdate.
drepper [Wed, 28 Aug 2002 22:30:32 +0000 (22:30 +0000)]
Update.

17 years agoUpdate.
drepper [Wed, 28 Aug 2002 22:29:44 +0000 (22:29 +0000)]
Update.

17 years agoRegenerated.
drepper [Wed, 28 Aug 2002 22:15:36 +0000 (22:15 +0000)]
Regenerated.

17 years ago(libc_cv_alpha_hidden_gprel): New check.
drepper [Wed, 28 Aug 2002 22:15:22 +0000 (22:15 +0000)]
(libc_cv_alpha_hidden_gprel): New check.
(PI_STATIC_AND_HIDDEN): Define if check succeeded.

17 years agoGenerated configure file for IA-64/ELF.
drepper [Wed, 28 Aug 2002 22:13:27 +0000 (22:13 +0000)]
Generated configure file for IA-64/ELF.

17 years agoAdditional configuration for IA-64/ELF.
drepper [Wed, 28 Aug 2002 22:12:53 +0000 (22:12 +0000)]
Additional configuration for IA-64/ELF.

17 years ago(_nl_load_locale_from_archive): Add fd >= 0
drepper [Wed, 28 Aug 2002 22:08:28 +0000 (22:08 +0000)]
(_nl_load_locale_from_archive): Add fd >= 0
check to close_and_out close.  Replace return NULL statements where
fd might be >= 0 with goto close_and_out.  Close the file descriptor
when it is no longer needed.

17 years agoUpdate.
drepper [Wed, 28 Aug 2002 21:32:56 +0000 (21:32 +0000)]
Update.

17 years agoAvoid unescaped newlines in string constants.
drepper [Wed, 28 Aug 2002 21:26:20 +0000 (21:26 +0000)]
Avoid unescaped newlines in string constants.

17 years agoAvoid unescaped newlines in string constants.
drepper [Wed, 28 Aug 2002 21:24:40 +0000 (21:24 +0000)]
Avoid unescaped newlines in string constants.

17 years agoAvoid unescaped newlines in string constants.
drepper [Wed, 28 Aug 2002 21:23:07 +0000 (21:23 +0000)]
Avoid unescaped newlines in string constants.

17 years agoAvoid unescaped newlines in string constants.
drepper [Wed, 28 Aug 2002 21:21:23 +0000 (21:21 +0000)]
Avoid unescaped newlines in string constants.

17 years agoAvoid unescaped newlines in string constants.
drepper [Wed, 28 Aug 2002 21:18:59 +0000 (21:18 +0000)]
Avoid unescaped newlines in string constants.

17 years agoAvoid unescaped newlines in string constants.
drepper [Wed, 28 Aug 2002 21:17:31 +0000 (21:17 +0000)]
Avoid unescaped newlines in string constants.

17 years agoRegenerated from source files
drepper [Wed, 28 Aug 2002 19:41:49 +0000 (19:41 +0000)]
Regenerated from source files

17 years ago.
roland [Wed, 28 Aug 2002 14:21:35 +0000 (14:21 +0000)]
.

17 years ago2002-08-28 Roland McGrath <roland@redhat.com>
roland [Wed, 28 Aug 2002 14:21:06 +0000 (14:21 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* Makeconfig (default_cflags): Revert unintended change.

17 years ago(open_archive): Replace using label 'again' with a loop to work around
drepper [Wed, 28 Aug 2002 12:00:53 +0000 (12:00 +0000)]
(open_archive): Replace using label 'again' with a loop to work around
gcc 3.2 bug.

17 years agoBump version.
drepper [Wed, 28 Aug 2002 11:52:02 +0000 (11:52 +0000)]
Bump version.

17 years agoUpdate.
drepper [Wed, 28 Aug 2002 11:45:37 +0000 (11:45 +0000)]
Update.

17 years agoRemade for development-2.2.91
drepper [Wed, 28 Aug 2002 11:38:46 +0000 (11:38 +0000)]
Remade for development-2.2.91

17 years agoRegenerated: autoconf configure.in
drepper [Wed, 28 Aug 2002 11:33:51 +0000 (11:33 +0000)]
Regenerated: autoconf  configure.in

17 years ago(VERSION): Bump to 2.2.91.
drepper [Wed, 28 Aug 2002 11:32:54 +0000 (11:32 +0000)]
(VERSION): Bump to 2.2.91.

17 years agoDisable TLS support by default for now.
drepper [Wed, 28 Aug 2002 11:32:27 +0000 (11:32 +0000)]
Disable TLS support by default for now.

17 years agoAdjust ulp for yn for float.
drepper [Wed, 28 Aug 2002 11:32:01 +0000 (11:32 +0000)]
Adjust ulp for yn for float.

17 years ago.
roland [Wed, 28 Aug 2002 11:08:46 +0000 (11:08 +0000)]
.

17 years ago2002-08-28 Roland McGrath <roland@redhat.com>
roland [Wed, 28 Aug 2002 11:08:30 +0000 (11:08 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* Makeconfig (run-program-prefix): Fix bogus use of $(findstring ...)
to use $(filter ...) instead.  Same bug fixed in aix conditionals.

17 years ago2002-08-28 Roland McGrath <roland@redhat.com>
roland [Wed, 28 Aug 2002 11:08:27 +0000 (11:08 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* locale/setlocale.c: Declare postload functions weak.

17 years ago.
roland [Wed, 28 Aug 2002 10:42:59 +0000 (10:42 +0000)]
.

17 years ago2002-08-28 Roland McGrath <roland@redhat.com>
roland [Wed, 28 Aug 2002 10:42:40 +0000 (10:42 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* elf/tst-tls1-static.c: New file.
* elf/tst-tls2-static.c: New file.
* elf/Makefile ($(tests-static):%=$(objfpx)%.o): Remove rule.

17 years ago.
roland [Wed, 28 Aug 2002 10:39:23 +0000 (10:39 +0000)]
.

17 years ago2002-08-28 Roland McGrath <roland@redhat.com>
roland [Wed, 28 Aug 2002 10:35:58 +0000 (10:35 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

Make uselocale support static linking.
* locale/xlocale.c: Revert changes putting _nl_global_locale here.
This file again just defines _nl_C_locobj.
(_nl_C_locobj): Use a categories.def iterator in the initializer.
* locale/global-locale.c: New file.  Define _nl_global_locale here,
using all weak references in the initializer.
* locale/Makefile (aux): Add global-locale.
* locale/localeinfo.h (_nl_global_locale, _NL_CURRENT_LOCALE): Make
these unconditional, along with the tsd decl.
[!SHARED && HAVE___THREAD && HAVE_WEAK_SYMBOLS] (NL_CURRENT_INDIRECT):
Define it under these conditions.
[NL_CURRENT_INDIRECT]: Test this instead of [! SHARED].
Don't declare _nl_current.  Declare _nl_current_LC_FOO as
`extern __thread struct locale_data *const *'.
[NL_CURRENT_INDIRECT]
(_NL_CURRENT_DATA, _NL_CURRENT, _NL_CURRENT_WSTR): Add indirection.
[NL_CURRENT_INDIRECT] (_NL_CURRENT_DEFINE): Rewritten.  Define
the thread variable _nl_current_LC_FOO and also a special absolute
symbol _nl_current_LC_FOO_used.
* locale/uselocale.c (__uselocale) [NL_CURRENT_INDIRECT]:
Set each _nl_current_LC_FOO symbol to point into the new locale,
using weak references to test if _nl_current_LC_FOO_used was linked in.
* locale/setlocale.c [! SHARED]: Replace this conditional ...
[NL_CURRENT_INDIRECT]: ... with this one.
(_nl_current, _nl_C): Variables removed.
[NL_CURRENT_INDIRECT] (_nl_current_used): New variable, table of
weak references to _nl_current_LC_FOO_used.
[NL_CURRENT_INDIRECT] (CATEGORY_USED): Define using that table.
(free_category): New function, broken out of ...
(free_mem): ... here.  Call that.
(free_mem) [NL_CURRENT_INDIRECT]: Use a categories.def iterator
instead of a loop.

17 years ago.
roland [Wed, 28 Aug 2002 10:28:11 +0000 (10:28 +0000)]
.

17 years ago2002-08-28 Roland McGrath <roland@redhat.com>
roland [Wed, 28 Aug 2002 10:24:01 +0000 (10:24 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/libc-tls.c (__libc_setup_tls): Don't check for
PT_LOAD program headers and don't try to relocate PT_TLS's p_vaddr;
it is already absolute.

17 years ago2002-08-28 Roland McGrath <roland@redhat.com>
roland [Wed, 28 Aug 2002 10:23:59 +0000 (10:23 +0000)]
2002-08-28  Roland McGrath  <roland@redhat.com>

* elf/Makefile (tests): List tst-tls1 and tst-tls2 unconditionally.
[$(build-static) = yes] (tests): Add tst-tls1-static, tst-tls2-static.
[$(build-static) = yes] (tests-static): New variable.
($(tests-static):%=$(objfpx)%.o)): New static pattern rule.