From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9031 invoked by alias); 24 May 2004 11:27:53 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 8963 invoked from network); 24 May 2004 11:27:48 -0000 Received: from unknown (HELO sunsite.ms.mff.cuni.cz) (195.113.15.26) by sourceware.org with SMTP; 24 May 2004 11:27:48 -0000 Received: from sunsite.ms.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8) with ESMTP id i4O9ES3j018453; Mon, 24 May 2004 11:14:28 +0200 Received: (from jakub@localhost) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8/Submit) id i4O9EQe0018397; Mon, 24 May 2004 11:14:27 +0200 Date: Tue, 25 May 2004 12:49:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Fix typo in add_dependency Message-ID: <20040524091426.GQ5191@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2004-05/txt/msg00038.txt.bz2 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 * 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