assert (nsid < GL(dl_nns));
/* Look for this name among those already loaded. */
- if (!GLRO(dl_enable_fastload) || name[0] == '\0')
+ if (name[0] == '\0')
{
/* Special case: both main exe and vdso can have empty name;
so search from head: it is important to return the map for main
__asm volatile ("" : "+r" (n), "+m" (scope->r_list));
struct link_map **list = scope->r_list;
- if (GLRO(dl_enable_fastload))
- {
if (scope == GL(dl_ns)[LM_ID_BASE]._ns_main_searchlist && i == 0)
{
const int skip_to = earliest_pos_from_hash_table (undef_name);
return 0;
}
}
- }
do
{
int _dl_position_hash_mask;
int _dl_position_hash_cutoff = DL_POSITION_HASH_CUTOFF_DEFAULT;
int _dl_position_hash_bits;
-int _dl_enable_fastload = 1;
size_t _dl_pagesize = EXEC_PAGESIZE;
struct link_map *tmap;
unsigned int n;
- if (!GLRO(dl_enable_fastload) || name[0] == '\0')
+ if (name[0] == '\0')
{
/* Special case: both main exe and vdso can have empty name;
so search from head: it is important to return the map for main
if (_dl_name_match_p (name, tmap))
return tmap;
}
+
/* The required object is not in the global scope, look to see if it is
a dependency of the current object. */
for (n = 0; n < map->l_searchlist.r_nlist; n++)
._dl_tls_get_addr_soft = _dl_tls_get_addr_soft,
._dl_position_hash_cutoff = DL_POSITION_HASH_CUTOFF_DEFAULT,
._dl_position_hash_bits = 0,
- ._dl_enable_fastload = 1,
#ifdef HAVE_DL_DISCOVER_OSVERSION
._dl_discover_osversion = _dl_discover_osversion
#endif
/* We have now finished loading every required (linked-in) object.
Set up the position hash if needed. */
- if (GLRO(dl_enable_fastload) == 1)
_dl_fill_position_hash (main_map);
HP_TIMING_NOW (stop);
= _dl_strtoul (&envline[16], NULL);;
break;
- case 16:
- if (memcmp (envline, "FASTLOAD_ENABLED", 16) == 0)
- GLRO(dl_enable_fastload)
- = _dl_strtoul (&envline[17], NULL);;
- break;
-
case 18:
if (memcmp (envline, "FASTLOAD_HASH_BITS", 18) == 0)
GLRO(dl_position_hash_bits)
EXTERN int _dl_position_hash_mask;
EXTERN int _dl_position_hash_bits;
EXTERN int _dl_position_hash_cutoff;
- EXTERN int _dl_enable_fastload;
#define DL_POSITION_HASH_BITS_MAX 27 /* (1 << 27) entries. */
#if defined(__powerpc__) && !defined(__powerpc64__)