(elf_get_dynamic_info): Copy DT_FLAGS_1 entry if it exists into l_flags_1 word.
authordrepper <drepper>
Thu, 20 Jul 2000 22:48:05 +0000 (22:48 +0000)
committerdrepper <drepper>
Thu, 20 Jul 2000 22:48:05 +0000 (22:48 +0000)
elf/dynamic-link.h

index 79e17ed..c6fa3e1 100644 (file)
@@ -114,6 +114,8 @@ elf_get_dynamic_info (struct link_map *l)
       if (flags & DF_BIND_NOW)
        info[DT_BIND_NOW] = info[DT_FLAGS];
     }
+  if (info[VERSYMIDX (DT_FLAGS_1)] != NULL)
+    l->l_flags_1 = info[VERSYMIDX (DT_FLAGS_1)]->d_un.d_val;
   if (info[DT_RUNPATH] != NULL)
     /* If both RUNPATH and RPATH are given, the latter is ignored.  */
     info[DT_RPATH] = NULL;