aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-05-26 04:18:34 +0000
committerUlrich Drepper <drepper@redhat.com>2004-05-26 04:18:34 +0000
commita752d0cc542a891a086d486654a43212f1821360 (patch)
tree7c2e381deadfc793f469308e74af2d89d481862e
parentb84515a12fb55cf44dda5437a6f1e546bfbc4c3f (diff)
downloadglibc-a752d0cc542a891a086d486654a43212f1821360.tar
glibc-a752d0cc542a891a086d486654a43212f1821360.tar.gz
glibc-a752d0cc542a891a086d486654a43212f1821360.tar.bz2
glibc-a752d0cc542a891a086d486654a43212f1821360.zip
(add_dependency): Set DF_1_NODELETE bit in l_flags_1, not in l_flags.
-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;
}