kopensolaris-gnu/glibc.git
18 years agoUpdate int_curr_symbol.
drepper [Wed, 13 Feb 2002 22:49:58 +0000 (22:49 +0000)]
Update int_curr_symbol.

18 years agoUpdate from latest official version.
drepper [Wed, 13 Feb 2002 22:45:57 +0000 (22:45 +0000)]
Update from latest official version.

18 years agoUpdate copyright.
drepper [Wed, 13 Feb 2002 22:18:35 +0000 (22:18 +0000)]
Update copyright.

18 years agoUpdate copyright.
drepper [Wed, 13 Feb 2002 22:17:55 +0000 (22:17 +0000)]
Update copyright.

18 years ago(BROKEN_LINGUAS): Works with current gettext.
drepper [Wed, 13 Feb 2002 22:17:15 +0000 (22:17 +0000)]
(BROKEN_LINGUAS): Works with current gettext.

18 years agoFix typo.
drepper [Wed, 13 Feb 2002 22:13:15 +0000 (22:13 +0000)]
Fix typo.

18 years agoUpdate.
drepper [Wed, 13 Feb 2002 17:45:55 +0000 (17:45 +0000)]
Update.

18 years agoMove #include "tls-macros.h" instead #ifdef USE_TLS.
drepper [Wed, 13 Feb 2002 17:45:14 +0000 (17:45 +0000)]
Move #include "tls-macros.h" instead #ifdef USE_TLS.

18 years ago(free_slotinfo): Only define if TLS supported.
drepper [Wed, 13 Feb 2002 17:40:18 +0000 (17:40 +0000)]
(free_slotinfo): Only define if TLS supported.

18 years agoUpdate.
drepper [Wed, 13 Feb 2002 09:44:17 +0000 (09:44 +0000)]
Update.

18 years ago(dl_open_worker): Only bump the generation counter if this is really necessary.
drepper [Wed, 13 Feb 2002 09:43:45 +0000 (09:43 +0000)]
(dl_open_worker): Only bump the generation counter if this is really necessary.

18 years agoUpdate.
drepper [Wed, 13 Feb 2002 09:38:39 +0000 (09:38 +0000)]
Update.

18 years ago(_dl_close): Implement freeing entries in the slotinfo array.
drepper [Wed, 13 Feb 2002 09:38:06 +0000 (09:38 +0000)]
(_dl_close): Implement freeing entries in the slotinfo array.
(free_mem): Free memory for the slotinfo array if possible.

18 years agoFix last patch.
drepper [Wed, 13 Feb 2002 09:16:58 +0000 (09:16 +0000)]
Fix last patch.

18 years agoUpdate.
drepper [Wed, 13 Feb 2002 09:04:53 +0000 (09:04 +0000)]
Update.

18 years ago(__gmon_start__): Remove '&' from ENTRY_POINT.
drepper [Wed, 13 Feb 2002 08:47:58 +0000 (08:47 +0000)]
(__gmon_start__): Remove '&' from ENTRY_POINT.

18 years agoDon't include <dl-tls.h>.
drepper [Wed, 13 Feb 2002 08:43:10 +0000 (08:43 +0000)]
Don't include <dl-tls.h>.

18 years ago(_dl_open): Don't use dl_tls_dtv_gaps unless USE_TLS.
drepper [Wed, 13 Feb 2002 08:35:19 +0000 (08:35 +0000)]
(_dl_open): Don't use dl_tls_dtv_gaps unless USE_TLS.

18 years agoUpdate.
drepper [Wed, 13 Feb 2002 08:03:56 +0000 (08:03 +0000)]
Update.

18 years agoDisable __tls_get_addr handling unless SHARED.
drepper [Wed, 13 Feb 2002 08:03:15 +0000 (08:03 +0000)]
Disable __tls_get_addr handling unless SHARED.

18 years ago(_rtld_global): Remove _dl_initimage_list, add
drepper [Wed, 13 Feb 2002 08:02:06 +0000 (08:02 +0000)]
(_rtld_global): Remove _dl_initimage_list, add
_dl_tls_dtv_slotinfo_list, _dl_tls_static_nelem, and _dl_tls_generation.
Define TLS_SLOTINFO_SURPLUS and DTV_SURPLUS.
Declare _dl_tls_symaddr.

18 years ago(TLS_DTV_UNALLOCATED): Renamed from TLS_DTV_UNALLOCATE.
drepper [Wed, 13 Feb 2002 07:59:52 +0000 (07:59 +0000)]
(TLS_DTV_UNALLOCATED): Renamed from TLS_DTV_UNALLOCATE.
(oom): New function.
(_dl_next_tls_modid): Rewrite to handle dl_tls_dtv_slotinfo_list.
(_dl_determine_tlsoffset): Likewise.
(_dl_allocate_tls): Likewise.
(__TLS_GET_ADDR): Define if not already defined.
(_dl_tls_symaddr): New function.
(allocate_and_init): New function.
(__tls_get_addr): Actually implement handling of generation counter
and deferred allocation.

18 years agoUpdate.
drepper [Wed, 13 Feb 2002 07:55:02 +0000 (07:55 +0000)]
Update.

18 years ago(INSTALL_NEW_DTV): Define.
drepper [Wed, 13 Feb 2002 07:54:11 +0000 (07:54 +0000)]
(INSTALL_NEW_DTV): Define.
(INSTALL_DTV): Adjust for being passed pointer to element with length.

18 years agoDeclare __libc_memalign.
drepper [Wed, 13 Feb 2002 07:52:47 +0000 (07:52 +0000)]
Declare __libc_memalign.

18 years ago(struct link_map): Remove l_tls_nextimage and l_tls_previmage.
drepper [Wed, 13 Feb 2002 07:52:15 +0000 (07:52 +0000)]
(struct link_map):  Remove l_tls_nextimage and l_tls_previmage.

18 years ago(_dl_start_final): Adjust initdtv initialization for new layout.
drepper [Wed, 13 Feb 2002 07:51:32 +0000 (07:51 +0000)]
(_dl_start_final): Adjust initdtv initialization for new layout.
(dl_main): Allow PT_TLS be present for empty segment.  Remove
nextimage list handling.  Instead add all modules using TLS to
dl_tls_dtv_slotinfo_list.

18 years ago(_dl_sym): After successful lookup call _dl_tls_symaddr instead of
drepper [Wed, 13 Feb 2002 07:48:23 +0000 (07:48 +0000)]
(_dl_sym): After successful lookup call _dl_tls_symaddr instead of
DL_SYMBOL_ADDRESS for STT_TLS symbols.
(_dl_vsym): Likewise.

18 years ago(dl_open_worker): After successfully loading all objects add those
drepper [Wed, 13 Feb 2002 07:46:52 +0000 (07:46 +0000)]
(dl_open_worker): After successfully loading all objects add those
with TLS to the dl_tls_dtv_slotinfo_list list.

18 years ago(_dl_map_object_from_fd): If PT_TLS entry is for an empty segment
drepper [Wed, 13 Feb 2002 07:44:35 +0000 (07:44 +0000)]
(_dl_map_object_from_fd): If PT_TLS entry is for an empty segment
don't do anything.  Remove handling of initimage list.

18 years agoRemove _dl_initimage_list. Add _dl_tls_dtv_slotinfo_list,
drepper [Wed, 13 Feb 2002 07:41:51 +0000 (07:41 +0000)]
Remove _dl_initimage_list.  Add _dl_tls_dtv_slotinfo_list,
_dl_tls_static_nelem, and _dl_tls_generation.

18 years agoDefine __libc_memalign.
drepper [Wed, 13 Feb 2002 07:39:33 +0000 (07:39 +0000)]
Define __libc_memalign.

18 years ago [ld] (GLIBC_2.0): Add __libc_memalign.
drepper [Wed, 13 Feb 2002 07:38:51 +0000 (07:38 +0000)]
 [ld] (GLIBC_2.0): Add __libc_memalign.
(GLIBC_PRIVATE): Add _dl_tls_symaddr.

18 years agoAdd rules to build and run tst-tls4 and tst-tls5.
drepper [Wed, 13 Feb 2002 07:37:28 +0000 (07:37 +0000)]
Add rules to build and run tst-tls4 and tst-tls5.

18 years agoasms using ___tls_get_addr destroy %ecx and %edx.
drepper [Wed, 13 Feb 2002 07:37:05 +0000 (07:37 +0000)]
asms using ___tls_get_addr destroy %ecx and %edx.

18 years agoUse test-skeleton.c.
drepper [Wed, 13 Feb 2002 07:36:15 +0000 (07:36 +0000)]
Use test-skeleton.c.

18 years agoDon't define variables unles USE_TLS.
drepper [Wed, 13 Feb 2002 07:35:33 +0000 (07:35 +0000)]
Don't define variables unles USE_TLS.

18 years agoModule for test for TLS in program using dlopen.
drepper [Wed, 13 Feb 2002 07:34:50 +0000 (07:34 +0000)]
Module for test for TLS in program using dlopen.

18 years agoTest for TLS in program using dlopen.
drepper [Wed, 13 Feb 2002 07:34:34 +0000 (07:34 +0000)]
Test for TLS in program using dlopen.

18 years ago(RESOLVE_MAP): Return NULL not 0.
drepper [Tue, 12 Feb 2002 19:17:09 +0000 (19:17 +0000)]
(RESOLVE_MAP): Return NULL not 0.

18 years agoUpdate.
aj [Mon, 11 Feb 2002 10:23:44 +0000 (10:23 +0000)]
Update.

18 years agoUpdate MCOUNT for current GCC behavior.
aj [Mon, 11 Feb 2002 10:23:36 +0000 (10:23 +0000)]
Update MCOUNT for current GCC behavior.

18 years agoUpdate.
drepper [Mon, 11 Feb 2002 06:09:47 +0000 (06:09 +0000)]
Update.

18 years agoDefine R_386_TLS_GD and R_386_TLS_LDM.
drepper [Mon, 11 Feb 2002 06:08:20 +0000 (06:08 +0000)]
Define R_386_TLS_GD and R_386_TLS_LDM.

18 years agoUpdate.
drepper [Mon, 11 Feb 2002 06:00:19 +0000 (06:00 +0000)]
Update.

18 years agoAdd rules to build and run tst-tls3.
drepper [Mon, 11 Feb 2002 05:57:45 +0000 (05:57 +0000)]
Add rules to build and run tst-tls3.

18 years agoModule for test for TLS together with DSO dependencies.
drepper [Mon, 11 Feb 2002 05:57:15 +0000 (05:57 +0000)]
Module for test for TLS together with DSO dependencies.

18 years agoTest for TLS together with DSO dependencies.
drepper [Mon, 11 Feb 2002 05:57:01 +0000 (05:57 +0000)]
Test for TLS together with DSO dependencies.

18 years agoInclude <tls.h>.
drepper [Mon, 11 Feb 2002 05:55:23 +0000 (05:55 +0000)]
Include <tls.h>.
(elf_machine_type_class): Set ELF_RTYPE_CLASS_PLT also for the three
TLS relocations.

18 years agoUpdate.
drepper [Mon, 11 Feb 2002 02:27:43 +0000 (02:27 +0000)]
Update.

18 years ago(FCT): st_value can be zero for STT_TLS symbols.
drepper [Mon, 11 Feb 2002 02:26:44 +0000 (02:26 +0000)]
(FCT): st_value can be zero for STT_TLS symbols.

18 years agoUpdate.
drepper [Mon, 11 Feb 2002 01:49:22 +0000 (01:49 +0000)]
Update.

18 years agoUpdate from translation team.
drepper [Mon, 11 Feb 2002 01:46:09 +0000 (01:46 +0000)]
Update from translation team.

18 years agoAdd alternative macros for use in PIC.
drepper [Mon, 11 Feb 2002 01:39:36 +0000 (01:39 +0000)]
Add alternative macros for use in PIC.

18 years agoUpdate.
drepper [Mon, 11 Feb 2002 01:30:15 +0000 (01:30 +0000)]
Update.

18 years agoInclude <tls.h>.
drepper [Mon, 11 Feb 2002 01:27:01 +0000 (01:27 +0000)]
Include <tls.h>.

18 years ago(FCT): Don't discard STT_TLS symbols.
drepper [Mon, 11 Feb 2002 01:26:14 +0000 (01:26 +0000)]
(FCT): Don't discard STT_TLS symbols.

18 years agoUpdate.
drepper [Mon, 11 Feb 2002 00:57:37 +0000 (00:57 +0000)]
Update.

18 years ago(_dl_determine_tlsoffset): More changes required by passing pointer to
drepper [Mon, 11 Feb 2002 00:56:28 +0000 (00:56 +0000)]
(_dl_determine_tlsoffset): More changes required by passing pointer to
last element of the list.

18 years ago(_dl_map_object_from_fd): Move adjustment of l_tls_initimage to a
drepper [Mon, 11 Feb 2002 00:55:13 +0000 (00:55 +0000)]
(_dl_map_object_from_fd): Move adjustment of l_tls_initimage to a
place where it actually is performed.

18 years agoUpdate.
drepper [Sun, 10 Feb 2002 23:36:05 +0000 (23:36 +0000)]
Update.

18 years ago(glob): Explicitly set gl_pathc to zero after globfree() calls.
drepper [Sun, 10 Feb 2002 23:23:45 +0000 (23:23 +0000)]
(glob): Explicitly set gl_pathc to zero after globfree() calls.

18 years agoUpdate.
drepper [Sun, 10 Feb 2002 22:40:17 +0000 (22:40 +0000)]
Update.

18 years agoAdd rules to build and run nodlopen2.
drepper [Sun, 10 Feb 2002 22:31:55 +0000 (22:31 +0000)]
Add rules to build and run nodlopen2.

18 years agoModule for test for transitive honoring of DF_1_NOOPEN flag.
drepper [Sun, 10 Feb 2002 22:30:55 +0000 (22:30 +0000)]
Module for test for transitive honoring of DF_1_NOOPEN flag.

18 years agoTest for transitive honoring of DF_1_NOOPEN flag.
drepper [Sun, 10 Feb 2002 22:30:37 +0000 (22:30 +0000)]
Test for transitive honoring of DF_1_NOOPEN flag.

18 years agoAdjust prototype of _dl_map_object_deps.
drepper [Sun, 10 Feb 2002 22:29:48 +0000 (22:29 +0000)]
Adjust prototype of _dl_map_object_deps.

18 years ago(dl_main): Add zero as last parameter to _dl_map_object_deps call.
drepper [Sun, 10 Feb 2002 22:28:42 +0000 (22:28 +0000)]
(dl_main): Add zero as last parameter to _dl_map_object_deps call.

18 years ago(dl_open_worker): Pass __RTLD_DLOPEN flag is set to _dl_map_object_deps.
drepper [Sun, 10 Feb 2002 22:26:59 +0000 (22:26 +0000)]
(dl_open_worker): Pass __RTLD_DLOPEN flag is set to _dl_map_object_deps.

18 years ago(struct openaux_args): Add open_mode element.
drepper [Sun, 10 Feb 2002 22:24:33 +0000 (22:24 +0000)]
(struct openaux_args): Add open_mode element.
(openaux): Pass open_mode as new last argument to _dl_map_object.
(_dl_map_object_deps): Add new argument open_mode.  Initialize
open_mode element of args variable with it.

18 years agoUpdate.
drepper [Sun, 10 Feb 2002 18:58:00 +0000 (18:58 +0000)]
Update.

18 years agoMove TLS helper macros to tls-macros.h.
drepper [Sun, 10 Feb 2002 18:57:19 +0000 (18:57 +0000)]
Move TLS helper macros to tls-macros.h.

18 years ago(tests): Add tst-tls2.
drepper [Sun, 10 Feb 2002 18:56:17 +0000 (18:56 +0000)]
(tests): Add tst-tls2.
(distribute): Add tls-macros.h.

18 years agoTest for accessing TLS defined variables.
drepper [Sun, 10 Feb 2002 18:55:45 +0000 (18:55 +0000)]
Test for accessing TLS defined variables.

18 years agoMacros to enable use of TLS features without compiler support.
drepper [Sun, 10 Feb 2002 18:54:11 +0000 (18:54 +0000)]
Macros to enable use of TLS features without compiler support.

18 years agoUpdate.
drepper [Sun, 10 Feb 2002 18:32:43 +0000 (18:32 +0000)]
Update.

18 years agoUpdate from translation team.
drepper [Sun, 10 Feb 2002 18:30:58 +0000 (18:30 +0000)]
Update from translation team.

18 years agoUpdate.
drepper [Sun, 10 Feb 2002 09:15:59 +0000 (09:15 +0000)]
Update.

18 years ago(main): Add complete set of tests. Split architecture specific
drepper [Sun, 10 Feb 2002 09:15:05 +0000 (09:15 +0000)]
(main): Add complete set of tests.  Split architecture specific
definitions from the actual test code.

18 years agoUpdate.
drepper [Sun, 10 Feb 2002 08:34:20 +0000 (08:34 +0000)]
Update.

18 years agoUpdate from translation team.
drepper [Sun, 10 Feb 2002 08:33:20 +0000 (08:33 +0000)]
Update from translation team.

18 years agoUpdate.
drepper [Sun, 10 Feb 2002 07:44:36 +0000 (07:44 +0000)]
Update.

18 years ago(tests): Add tst-tls1.
drepper [Sun, 10 Feb 2002 07:43:20 +0000 (07:43 +0000)]
(tests): Add tst-tls1.

18 years agoTest of TLS implementation.
drepper [Sun, 10 Feb 2002 07:42:33 +0000 (07:42 +0000)]
Test of TLS implementation.

18 years ago(_dl_determine_tlsoffset): Don't handle alignment of TCB for now.
drepper [Sun, 10 Feb 2002 07:41:47 +0000 (07:41 +0000)]
(_dl_determine_tlsoffset): Don't handle alignment of TCB for now.

18 years ago(dl_main): Use p_vaddr as address of TLS initialization image for the
drepper [Sun, 10 Feb 2002 07:28:20 +0000 (07:28 +0000)]
(dl_main): Use p_vaddr as address of TLS initialization image for the
application itself.

18 years agoUpdate.
drepper [Sat, 9 Feb 2002 19:02:31 +0000 (19:02 +0000)]
Update.

18 years ago(_dl_allocate_tls): Correctly terminate loop to initial TLS block.
drepper [Sat, 9 Feb 2002 19:01:44 +0000 (19:01 +0000)]
(_dl_allocate_tls): Correctly terminate loop to initial TLS block.

18 years agoUpdate.
drepper [Sat, 9 Feb 2002 06:13:03 +0000 (06:13 +0000)]
Update.

18 years ago(TLS_INIT_TP): Also initialize %gs.
drepper [Sat, 9 Feb 2002 06:11:22 +0000 (06:11 +0000)]
(TLS_INIT_TP): Also initialize %gs.

18 years agoUpdate.
drepper [Sat, 9 Feb 2002 01:59:10 +0000 (01:59 +0000)]
Update.

18 years agoUse \n\ for multiline string.
drepper [Sat, 9 Feb 2002 01:58:16 +0000 (01:58 +0000)]
Use \n\ for multiline string.

18 years agoUpdate.
drepper [Sat, 9 Feb 2002 01:57:11 +0000 (01:57 +0000)]
Update.

18 years agoUse \n\ for multiline string.
drepper [Sat, 9 Feb 2002 01:56:09 +0000 (01:56 +0000)]
Use \n\ for multiline string.

18 years agoUpdate.
drepper [Sat, 9 Feb 2002 01:54:57 +0000 (01:54 +0000)]
Update.

18 years ago(struct rtld_global): Also include _dl_cpuclock_offset if
drepper [Sat, 9 Feb 2002 01:54:24 +0000 (01:54 +0000)]
(struct rtld_global): Also include _dl_cpuclock_offset if
HP_SMALL_TIMING_AVAIL.

18 years ago(unsetenv): Clear cnt before use.
drepper [Sat, 9 Feb 2002 01:49:29 +0000 (01:49 +0000)]
(unsetenv): Clear cnt before use.

18 years agoUpdate.
drepper [Sat, 9 Feb 2002 01:47:50 +0000 (01:47 +0000)]
Update.

18 years agoBug fixes for spelling.
drepper [Sat, 9 Feb 2002 01:47:32 +0000 (01:47 +0000)]
Bug fixes for spelling.

18 years agoUpdate from translation team.
drepper [Sat, 9 Feb 2002 01:46:10 +0000 (01:46 +0000)]
Update from translation team.