This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi!
The code was mistakenly setting DF_BIND_NOW (8) in l_flags
instead of DF_1_NODELETE (8) in l_flags_1.
2004-05-24 Jakub Jelinek <jakub@redhat.com>
* elf/dl-lookup.c (add_dependency): Set DF_1_NODELETE bit
in l_flags_1, not in l_flags.
--- libc/elf/dl-lookup.c.jj 2004-05-18 10:52:24.000000000 +0200
+++ libc/elf/dl-lookup.c 2004-05-24 13:24:12.624800758 +0200
@@ -108,7 +108,7 @@ add_dependency (struct link_map *undef_m
|| (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;
}
Jakub
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |