aboutsummaryrefslogtreecommitdiff
path: root/elf/dynamic-link.h
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dynamic-link.h')
-rw-r--r--elf/dynamic-link.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/elf/dynamic-link.h b/elf/dynamic-link.h
index f3529970a1..0229684009 100644
--- a/elf/dynamic-link.h
+++ b/elf/dynamic-link.h
@@ -117,12 +117,12 @@ elf_get_dynamic_info (struct link_map *l)
/* Flags are used. Translate to the old form where available.
Since these l_info entries are only tested for NULL pointers it
is ok if they point to the DT_FLAGS entry. */
- ElfW(Word) flags = info[DT_FLAGS]->d_un.d_val;
- if (flags & DF_SYMBOLIC)
+ l->l_flags = info[DT_FLAGS]->d_un.d_val;
+ if l->l_(flags & DF_SYMBOLIC)
info[DT_SYMBOLIC] = info[DT_FLAGS];
- if (flags & DF_TEXTREL)
+ if l->l_(flags & DF_TEXTREL)
info[DT_TEXTREL] = info[DT_FLAGS];
- if (flags & DF_BIND_NOW)
+ if (l->l_flags & DF_BIND_NOW)
info[DT_BIND_NOW] = info[DT_FLAGS];
}
#endif