about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--elf/dl-lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-lookup.c b/elf/dl-lookup.c
index 94da600321..2b73da591a 100644
--- a/elf/dl-lookup.c
+++ b/elf/dl-lookup.c
@@ -108,7 +108,7 @@ add_dependency (struct link_map *undef_map, struct link_map *map)
       || (undef_map->l_flags_1 & DF_1_NODELETE) != 0)
     {
       ++map->l_opencount;
-      map->l_flags |= DF_1_NODELETE;
+      map->l_flags_1 |= DF_1_NODELETE;
       goto out;
     }