# Test static linking of all the libraries we can possibly link
# together. Note that in some configurations this may be less than the
-# complete list of libraries we build but we try to maxmimize this list.
+# complete list of libraries we build but we try to maximize this list.
$(objpfx)tst-linkall-static: \
$(common-objpfx)math/libm.a \
$(common-objpfx)resolv/libresolv.a \
size_t tls_free_end;
tls_free_start = tls_free_end = NO_TLS_OFFSET;
- /* Protects global and module specitic TLS state. */
+ /* Protects global and module specific TLS state. */
__rtld_lock_lock_recursive (GL(dl_load_tls_lock));
/* We modify the list of loaded objects. */
/* Copy the binary into position 0. */
l_initfini[0] = map->l_searchlist.r_list[map_index];
- /* Copy the filtees. */
+ /* Copy the filters. */
for (i = 0; i < map_index; ++i)
l_initfini[i+1] = map->l_searchlist.r_list[i];
}
rtld_hidden_def (_dl_find_object)
-/* Subroutine of _dlfo_process_initial to split out noncontigous link
+/* Subroutine of _dlfo_process_initial to split out noncontiguous link
maps. NODELETE is the number of used _dlfo_nodelete_mappings
elements. It is incremented as needed, and the new NODELETE value
is returned. */
{
/* Non-contiguous main maps are handled in
_dlfo_process_initial. Mark as initialized, but not
- coverying any valid PC. */
+ covering any valid PC. */
_dlfo_main.map_start = -1;
_dlfo_main.map_end = -1;
}
#ifdef SHARED
if (was_not_consistent)
- /* Avoid redudant/recursive signalling. */
+ /* Avoid redundant/recursive signalling. */
_dl_audit_activity_nsid (nsid, LA_ACT_CONSISTENT);
#endif
}
/* Extra TLS block for internal usage to append at the end of the TLS blocks
(in allocation order). The address at which the block is allocated must
be aligned to 'extra_tls_align'. The size of the block as returned by
- '_dl_extra_tls_get_size ()' is always a multiple of the aligment.
+ '_dl_extra_tls_get_size ()' is always a multiple of the alignment.
On Linux systems this is where the rseq area will be allocated. On other
systems it is currently unused and both values will be '0'. */
/* Extra TLS block for internal usage to append at the end of the TLS blocks
(in allocation order). The address at which the block is allocated must
be aligned to 'extra_tls_align'. The size of the block as returned by
- '_dl_extra_tls_get_size ()' is always a multiple of the aligment.
+ '_dl_extra_tls_get_size ()' is always a multiple of the alignment.
On Linux systems this is where the rseq area will be allocated. On other
systems it is currently unused and both values will be '0'. */
initialization because it would already be set by the
audit setup, which uses the dlopen code and already
clears l_need_tls_init. Calls with !main_thread from
- pthread_create need to initialze TLS for the current
+ pthread_create need to initialize TLS for the current
thread regardless of namespace. */
if (map->l_ns != LM_ID_BASE && main_thread)
continue;
do_test (void)
{
/* Limit the number of malloc arenas. We use a very low number so
- that despute the address space limit configured below, all
+ that despite the address space limit configured below, all
requested arenas a can be created. */
if (mallopt (M_ARENA_MAX, 2) == 0)
{