public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix typo in add_dependency
@ 2004-05-25 12:49 Jakub Jelinek
  2004-05-26  4:21 ` Ulrich Drepper
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2004-05-25 12:49 UTC (permalink / raw)
  To: Ulrich Drepper; +Cc: Glibc hackers

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix typo in add_dependency
  2004-05-25 12:49 [PATCH] Fix typo in add_dependency Jakub Jelinek
@ 2004-05-26  4:21 ` Ulrich Drepper
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2004-05-26  4:21 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: Glibc hackers

Applied.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-26  4:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-25 12:49 [PATCH] Fix typo in add_dependency Jakub Jelinek
2004-05-26  4:21 ` Ulrich Drepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).