kopensolaris-gnu/glibc.git
18 years agoAdd --without-tls option.
drepper [Thu, 7 Feb 2002 06:19:11 +0000 (06:19 +0000)]
Add --without-tls option.

18 years agoDon't check for TLS support if --without-tls is given.
drepper [Thu, 7 Feb 2002 06:18:23 +0000 (06:18 +0000)]
Don't check for TLS support if --without-tls is given.

18 years agoInclude <tls.h>.
drepper [Thu, 7 Feb 2002 06:17:22 +0000 (06:17 +0000)]
Include <tls.h>.

18 years agoUpdate.
drepper [Thu, 7 Feb 2002 06:16:20 +0000 (06:16 +0000)]
Update.

18 years agoInclude <stddef.h> for size_t.
drepper [Thu, 7 Feb 2002 06:14:03 +0000 (06:14 +0000)]
Include <stddef.h> for size_t.

18 years agoDon't define anything if !USE_TLS.
drepper [Thu, 7 Feb 2002 06:06:02 +0000 (06:06 +0000)]
Don't define anything if !USE_TLS.

18 years ago.
roland [Thu, 7 Feb 2002 05:30:48 +0000 (05:30 +0000)]
.

18 years ago2002-02-06 Roland McGrath <roland@frob.com>
roland [Thu, 7 Feb 2002 05:30:29 +0000 (05:30 +0000)]
2002-02-06  Roland McGrath  <roland@frob.com>

* malloc/hooks.c [! HAVE_MREMAP]: Conditionalize unused decls.
* malloc/malloc.c [! HAVE_MREMAP]: Likewise.

18 years ago.
roland [Thu, 7 Feb 2002 05:25:11 +0000 (05:25 +0000)]
.

18 years ago2002-02-06 Roland McGrath <roland@frob.com>
roland [Thu, 7 Feb 2002 05:24:38 +0000 (05:24 +0000)]
2002-02-06  Roland McGrath  <roland@frob.com>

* scripts/firstversions.awk: Handle libraries that don't have each
particular version named in the third column of shlib-versions.

18 years ago2002-02-06 Roland McGrath <roland@frob.com>
roland [Thu, 7 Feb 2002 05:24:29 +0000 (05:24 +0000)]
2002-02-06  Roland McGrath  <roland@frob.com>

* scripts/versions.awk: Improve error message for missing version.
Each version inherits from the last one only if they have the same
nonnumeric prefix, i.e. GLIBC_x.y and GLIBC_x.z or FOO_x and FOO_y
but not GLIBC_x and FOO_y.

18 years ago.
roland [Thu, 7 Feb 2002 04:37:38 +0000 (04:37 +0000)]
.

18 years ago2002-02-06 Roland McGrath <roland@frob.com>
roland [Thu, 7 Feb 2002 04:33:51 +0000 (04:33 +0000)]
2002-02-06  Roland McGrath  <roland@frob.com>

* scripts/firstversions.awk: Don't mess with GLIBC_PRIVATE.

18 years agoUpdate.
drepper [Thu, 7 Feb 2002 04:08:19 +0000 (04:08 +0000)]
Update.

18 years ago(struct rtld_global): Remove _dl_tls_module_cnt, add
drepper [Thu, 7 Feb 2002 04:04:55 +0000 (04:04 +0000)]
(struct rtld_global): Remove _dl_tls_module_cnt, add
_dl_tls_max_dtv_idx and _dl_tls_dtv_gaps.  Add prototypes for
_dl_next_tls_modid and _dl_determine_tlsoffset.

18 years agoDefinitions for TLS handling in ld.so. i386 version.
drepper [Thu, 7 Feb 2002 04:03:06 +0000 (04:03 +0000)]
Definitions for TLS handling in ld.so.  i386 version.

18 years agoDefinitions for TLS handling in ld.so. Generic version.
drepper [Thu, 7 Feb 2002 04:02:32 +0000 (04:02 +0000)]
Definitions for TLS handling in ld.so.  Generic version.

18 years agoTLS handling for dynamic linker. Generic version.
drepper [Thu, 7 Feb 2002 04:02:05 +0000 (04:02 +0000)]
TLS handling for dynamic linker.  Generic version.

18 years agoUpdate.
drepper [Thu, 7 Feb 2002 04:00:27 +0000 (04:00 +0000)]
Update.

18 years agoDefine THREAD_DTV.
drepper [Thu, 7 Feb 2002 03:59:15 +0000 (03:59 +0000)]
Define THREAD_DTV.

18 years ago(struct link_map): Add l_tls_previmage and l_tls_align.
drepper [Thu, 7 Feb 2002 03:58:05 +0000 (03:58 +0000)]
(struct link_map): Add l_tls_previmage and l_tls_align.

18 years ago(_dl_start_final): Store alignment requirement
drepper [Thu, 7 Feb 2002 03:56:52 +0000 (03:56 +0000)]
(_dl_start_final): Store alignment requirement
along with the other info in rtld map and executable map.
(dl_main): Add ld.so to the init image list if necessary.  Compute
final module ID with _dl_next_tls_modid.

18 years agoDefine _dl_tls_max_dtv_idx and _dl_tls_dtv_gaps.
drepper [Thu, 7 Feb 2002 03:54:11 +0000 (03:54 +0000)]
Define _dl_tls_max_dtv_idx and _dl_tls_dtv_gaps.

18 years ago(_dl_map_object_from_fd): Store alignment requirement along with the
drepper [Thu, 7 Feb 2002 03:53:17 +0000 (03:53 +0000)]
(_dl_map_object_from_fd): Store alignment requirement along with the
other info in the link map.  Change queueing of init images for double
linked list.  Use _dl_next_tls_modid to compute l_tls_modid.

18 years ago.
roland [Thu, 7 Feb 2002 03:52:18 +0000 (03:52 +0000)]
.

18 years ago2002-01-05 Roland McGrath <roland@frob.com>
roland [Thu, 7 Feb 2002 03:51:52 +0000 (03:51 +0000)]
2002-01-05  Roland McGrath  <roland@frob.com>

* mach/Makefile (user-interfaces): Remove default_pager_helper.
It has never been used by anything.

18 years ago2002-01-05 Roland McGrath <roland@frob.com>
roland [Thu, 7 Feb 2002 03:51:49 +0000 (03:51 +0000)]
2002-01-05  Roland McGrath  <roland@frob.com>

* sysdeps/mach/configure.in: New file.
* sysdeps/mach/configure: New generated file.

18 years agowhitespace
roland [Thu, 7 Feb 2002 03:50:24 +0000 (03:50 +0000)]
whitespace

18 years ago[ld]: Add __tls_get_addr to GLIBC_2.3.
drepper [Thu, 7 Feb 2002 03:50:23 +0000 (03:50 +0000)]
[ld]: Add __tls_get_addr to GLIBC_2.3.

18 years ago.
roland [Thu, 7 Feb 2002 03:49:52 +0000 (03:49 +0000)]
.

18 years ago(dl-routines): Add dl-tls.
drepper [Thu, 7 Feb 2002 03:49:37 +0000 (03:49 +0000)]
(dl-routines): Add dl-tls.
(distribute): Add dl-tls.h.

18 years ago2002-02-06 Roland McGrath <roland@frob.com>
roland [Thu, 7 Feb 2002 03:49:15 +0000 (03:49 +0000)]
2002-02-06  Roland McGrath  <roland@frob.com>

* sysdeps/unix/sysv/linux/netinet/ip.h: Moved to ...
* sysdeps/generic/netinet/ip.h: ... here, replacing old file.

18 years ago[ld]: Add GLIBC_2.3.
drepper [Thu, 7 Feb 2002 03:48:00 +0000 (03:48 +0000)]
[ld]: Add GLIBC_2.3.

18 years agoAdditional version definitions for i386/ELF.
drepper [Thu, 7 Feb 2002 03:47:17 +0000 (03:47 +0000)]
Additional version definitions for i386/ELF.

18 years ago.
aj [Wed, 6 Feb 2002 22:48:57 +0000 (22:48 +0000)]
.

18 years ago Make sure the right <ldsodefs.h> is included.
aj [Wed, 6 Feb 2002 22:48:35 +0000 (22:48 +0000)]
  Make sure the right <ldsodefs.h> is included.

18 years agoUpdate.
drepper [Wed, 6 Feb 2002 18:14:12 +0000 (18:14 +0000)]
Update.

18 years ago(struct stat): Add attribute((packed)) to counter stupid people
drepper [Wed, 6 Feb 2002 18:12:16 +0000 (18:12 +0000)]
(struct stat): Add attribute((packed)) to counter stupid people
misuing gcc options.
(struct stat64): Likewise.

18 years agoUpdate.
aj [Wed, 6 Feb 2002 14:19:54 +0000 (14:19 +0000)]
Update.

18 years agoChange users of INT to use INTUSE.
aj [Wed, 6 Feb 2002 14:19:42 +0000 (14:19 +0000)]
Change users of INT to use INTUSE.

18 years agoUpdate.
aj [Wed, 6 Feb 2002 14:14:51 +0000 (14:14 +0000)]
Update.

18 years ago * include/libc-symbols.h (INTUSE): Renamed from INT.
aj [Wed, 6 Feb 2002 14:14:30 +0000 (14:14 +0000)]
* include/libc-symbols.h (INTUSE): Renamed from INT.
* elf/dl-deps.c: Change users.
* sysdeps/generic/dl-sysdep.c: Likewise.
* sysdeps/generic/dl-cache.c: Likewise.
* elf/dl-reloc.c: Likewise.
* elf/rtld.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-dst.h: Likewise.
* elf/dl-init.c: Likewise.

18 years agoUpdate.
aj [Wed, 6 Feb 2002 12:55:35 +0000 (12:55 +0000)]
Update.

18 years agoUndefine SPECIAL to avoid duplicate definition.
aj [Wed, 6 Feb 2002 12:54:16 +0000 (12:54 +0000)]
Undefine SPECIAL to avoid duplicate definition.

18 years ago(dl_main): Correct indentation. Use bool as type for the variables
drepper [Wed, 6 Feb 2002 03:42:42 +0000 (03:42 +0000)]
(dl_main): Correct indentation.  Use bool as type for the variables
which are used as booleans.

18 years agoUpdate.
drepper [Wed, 6 Feb 2002 01:14:01 +0000 (01:14 +0000)]
Update.

18 years agoDefine _itoa_lower_digits.
drepper [Wed, 6 Feb 2002 01:13:12 +0000 (01:13 +0000)]
Define _itoa_lower_digits.

18 years ago(elf_get_dynamic_info): ld.so can have DT_FLAGS set.
drepper [Wed, 6 Feb 2002 01:05:37 +0000 (01:05 +0000)]
(elf_get_dynamic_info): ld.so can have DT_FLAGS set.

18 years ago(elf_get_dynamic_info): Fix typo in last patch.
drepper [Wed, 6 Feb 2002 00:59:21 +0000 (00:59 +0000)]
(elf_get_dynamic_info): Fix typo in last patch.

18 years agoUpdate.
drepper [Wed, 6 Feb 2002 00:55:46 +0000 (00:55 +0000)]
Update.

18 years ago(_dl_map_object_from_fd): Prevent dynamically loading modules with the
drepper [Wed, 6 Feb 2002 00:54:40 +0000 (00:54 +0000)]
(_dl_map_object_from_fd): Prevent dynamically loading modules with the
DF_STATIC_TLS flag set.

18 years ago(elf_get_dynamic_info): Initialize l_flags element.
drepper [Wed, 6 Feb 2002 00:53:40 +0000 (00:53 +0000)]
(elf_get_dynamic_info): Initialize l_flags element.

18 years ago(struct link_map): Add l_flags field.
drepper [Wed, 6 Feb 2002 00:53:05 +0000 (00:53 +0000)]
(struct link_map): Add l_flags field.

18 years ago(DF_STATIC_TLS): New definition.
drepper [Wed, 6 Feb 2002 00:51:01 +0000 (00:51 +0000)]
(DF_STATIC_TLS): New definition.

18 years agoUpdate.
drepper [Wed, 6 Feb 2002 00:28:46 +0000 (00:28 +0000)]
Update.

18 years agoAdd rules to build and run bug-dlopen1.
drepper [Wed, 6 Feb 2002 00:27:41 +0000 (00:27 +0000)]
Add rules to build and run bug-dlopen1.

18 years agodlopen bug test case.
drepper [Wed, 6 Feb 2002 00:27:13 +0000 (00:27 +0000)]
dlopen bug test case.

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

18 years ago(process_dl_debug): Correct printing help message.
drepper [Wed, 6 Feb 2002 00:18:23 +0000 (00:18 +0000)]
(process_dl_debug): Correct printing help message.

18 years ago(_dl_debug_vdprintf): Implement precision handling for %s.
drepper [Wed, 6 Feb 2002 00:15:50 +0000 (00:15 +0000)]
(_dl_debug_vdprintf): Implement precision handling for %s.

18 years agoUpdate.
drepper [Tue, 5 Feb 2002 23:29:24 +0000 (23:29 +0000)]
Update.

18 years ago(innetgr): Add int* parameter to getfct definition and pass &errno in
drepper [Tue, 5 Feb 2002 23:27:57 +0000 (23:27 +0000)]
(innetgr): Add int* parameter to getfct definition and pass &errno in
use of this variable.

18 years agoWrap calls that output messages with WITH_CUR_LOCALE. Include "localedef.h"
drepper [Tue, 5 Feb 2002 23:23:18 +0000 (23:23 +0000)]
Wrap calls that output messages with WITH_CUR_LOCALE.  Include "localedef.h"
first.

18 years ago(WITH_CUR_LOCALE): Define.
drepper [Tue, 5 Feb 2002 23:16:21 +0000 (23:16 +0000)]
(WITH_CUR_LOCALE): Define.

18 years agoUpdate.
drepper [Tue, 5 Feb 2002 19:39:42 +0000 (19:39 +0000)]
Update.

18 years ago(_dl_start_final): Determine load address to locate ehdr with
drepper [Tue, 5 Feb 2002 19:24:21 +0000 (19:24 +0000)]
(_dl_start_final): Determine load address to locate ehdr with
GL(dl_rtld_map).l_map_start.

18 years agoUpdate.
drepper [Tue, 5 Feb 2002 19:20:07 +0000 (19:20 +0000)]
Update.

18 years agoUpdate from translation team.
drepper [Tue, 5 Feb 2002 19:03:06 +0000 (19:03 +0000)]
Update from translation team.

18 years agoUpdate.
drepper [Tue, 5 Feb 2002 08:38:38 +0000 (08:38 +0000)]
Update.

18 years ago(_dl_map_object_from_fd): Handle PT_TLS program header entry.
drepper [Tue, 5 Feb 2002 08:37:52 +0000 (08:37 +0000)]
(_dl_map_object_from_fd): Handle PT_TLS program header entry.

18 years agoDefine _dl_initimage_list and _dl_tls_module_cnt.
drepper [Tue, 5 Feb 2002 08:34:47 +0000 (08:34 +0000)]
Define _dl_initimage_list and _dl_tls_module_cnt.

18 years agoUpdate.
drepper [Tue, 5 Feb 2002 08:25:04 +0000 (08:25 +0000)]
Update.

18 years ago(dl_main): Read PT_TLS entry of the executable.
drepper [Tue, 5 Feb 2002 08:24:20 +0000 (08:24 +0000)]
(dl_main): Read PT_TLS entry of the executable.

18 years ago(struct rtld_global): Add _dl_tls_module_cnt.
drepper [Tue, 5 Feb 2002 08:23:52 +0000 (08:23 +0000)]
(struct rtld_global): Add _dl_tls_module_cnt.

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

18 years ago(elf_machine_rel): Implement missing TLS relocation. When using TLS
drepper [Tue, 5 Feb 2002 08:01:13 +0000 (08:01 +0000)]
(elf_machine_rel): Implement missing TLS relocation.  When using TLS
we now use RESOLVE_MAP.
(elf_machine_rela): Use RESOLVE_MAP instead of RESOLVE_MAP if TLS is used.

18 years agoConfiguration of ELF lookup process for i386.
drepper [Tue, 5 Feb 2002 07:59:13 +0000 (07:59 +0000)]
Configuration of ELF lookup process for i386.

18 years ago(struct rtld_global): Remove _rtld_tlsoffset, add _dl_initimage_list.
drepper [Tue, 5 Feb 2002 07:58:36 +0000 (07:58 +0000)]
(struct rtld_global): Remove _rtld_tlsoffset, add _dl_initimage_list.

18 years ago(_dl_cache_libcmp): Mark as possibly unused.
drepper [Tue, 5 Feb 2002 07:56:58 +0000 (07:56 +0000)]
(_dl_cache_libcmp): Mark as possibly unused.

18 years ago(struct link_map): Add various members for TLS information.
drepper [Tue, 5 Feb 2002 07:55:59 +0000 (07:55 +0000)]
(struct link_map): Add various members for TLS information.

18 years ago(_dl_start): Fill TLS values in link map for rtld.
drepper [Tue, 5 Feb 2002 07:55:11 +0000 (07:55 +0000)]
(_dl_start): Fill TLS values in link map for rtld.

18 years agoUpdate.
drepper [Tue, 5 Feb 2002 00:57:29 +0000 (00:57 +0000)]
Update.

18 years ago(distribute): Add tls.h.
drepper [Tue, 5 Feb 2002 00:56:31 +0000 (00:56 +0000)]
(distribute): Add tls.h.

18 years agoUpdate.
drepper [Tue, 5 Feb 2002 00:55:55 +0000 (00:55 +0000)]
Update.

18 years ago(elf_machine_rel): Add support for TLS relocations. Not complete yet.
drepper [Tue, 5 Feb 2002 00:55:35 +0000 (00:55 +0000)]
(elf_machine_rel): Add support for TLS relocations.  Not complete yet.

18 years agoGeneric definitions for TLS handling.
drepper [Tue, 5 Feb 2002 00:54:24 +0000 (00:54 +0000)]
Generic definitions for TLS handling.

18 years agoInclude <tls.h>. Define first TLS elements in rtld_global.
drepper [Tue, 5 Feb 2002 00:53:37 +0000 (00:53 +0000)]
Include <tls.h>.  Define first TLS elements in rtld_global.

18 years agoAllow user to define __need_res_state and only define __res_start
drepper [Tue, 5 Feb 2002 00:52:30 +0000 (00:52 +0000)]
Allow user to define __need_res_state and only define __res_start
structure then.

18 years agoUpdate.
drepper [Tue, 5 Feb 2002 00:51:14 +0000 (00:51 +0000)]
Update.

18 years agoInclude descr.h instead of internals.h.
drepper [Tue, 5 Feb 2002 00:50:51 +0000 (00:50 +0000)]
Include descr.h instead of internals.h.

18 years agoAlso include <linuxthreads/internals.h>.
drepper [Tue, 5 Feb 2002 00:49:43 +0000 (00:49 +0000)]
Also include <linuxthreads/internals.h>.

18 years agoUpdate.
drepper [Tue, 5 Feb 2002 00:47:20 +0000 (00:47 +0000)]
Update.

18 years agoTLS definitions for Linuxthreads/i386.
drepper [Tue, 5 Feb 2002 00:46:49 +0000 (00:46 +0000)]
TLS definitions for Linuxthreads/i386.

18 years agoMove thread descriptor definition in descr.h.
drepper [Tue, 5 Feb 2002 00:45:26 +0000 (00:45 +0000)]
Move thread descriptor definition in descr.h.

18 years agoThread descriptor definition for Linuxthreads.
drepper [Tue, 5 Feb 2002 00:44:55 +0000 (00:44 +0000)]
Thread descriptor definition for Linuxthreads.

18 years agoOnly declare functions if _RESOLV_H_ is defined.
drepper [Tue, 5 Feb 2002 00:43:32 +0000 (00:43 +0000)]
Only declare functions if _RESOLV_H_ is defined.

18 years ago(_dl_start_final): Allocate TLS and initialize thread-pointer as soon
drepper [Tue, 5 Feb 2002 00:42:41 +0000 (00:42 +0000)]
(_dl_start_final): Allocate TLS and initialize thread-pointer as soon
as possible.

18 years agoUpdate.
drepper [Mon, 4 Feb 2002 08:38:52 +0000 (08:38 +0000)]
Update.

18 years ago(_dl_start_final): Initialize dl_cpuclock_offset.
drepper [Mon, 4 Feb 2002 08:38:18 +0000 (08:38 +0000)]
(_dl_start_final): Initialize dl_cpuclock_offset.

18 years ago(_dl_sysdep_start): Move dl_cpuclock_offset initialization to _dl_start_final.
drepper [Mon, 4 Feb 2002 08:37:01 +0000 (08:37 +0000)]
(_dl_sysdep_start): Move dl_cpuclock_offset initialization to _dl_start_final.