aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-load.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-load.c')
-rw-r--r--elf/dl-load.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index c75a913..212b223 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -331,6 +331,10 @@ _dl_init_paths (const char *llp)
variable. */
struct link_map *l;
+ /* Names of important hardware capabilities. */
+ char **hwcap_names;
+ size_t nhwcap_names;
+
/* Number of elements in the library path. */
size_t nllp;
@@ -347,6 +351,10 @@ _dl_init_paths (const char *llp)
else
nllp = 0;
+ /* Get the capabilities. */
+ hwcap_names = _dl_important_hwcaps (&nhwcap_names,
+ _dl_platform, _dl_platformlen);
+
l = _dl_loaded;
if (l != NULL)
{