From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2907 invoked by alias); 22 Nov 2005 16:18:24 -0000 Received: (qmail 2885 invoked by uid 22791); 22 Nov 2005 16:18:24 -0000 X-Spam-Check-By: sourceware.org Received: from sunsite.ms.mff.cuni.cz (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 22 Nov 2005 16:18:23 +0000 Received: from sunsite.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.mff.cuni.cz (8.13.1/8.13.1) with ESMTP id jAMGIHYh000828; Tue, 22 Nov 2005 17:18:17 +0100 Received: (from jakub@localhost) by sunsite.mff.cuni.cz (8.13.1/8.13.1/Submit) id jAMGIHiN000827; Tue, 22 Nov 2005 17:18:17 +0100 Date: Tue, 22 Nov 2005 16:18:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Remove unused is_static Message-ID: <20051122161816.GT16723@sunsite.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.4.1i Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00027.txt.bz2 Hi! This field was introduced in the 2005-01-06 patch, but all places that use is_static seem to be pointer.is_static, i.e. the is_static field in dtv_t defined in . I've removed this field and glibc still compiles, which suggests that it is really unused. 2005-11-22 Jakub Jelinek * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove unused is_static field from slotinfo array. --- libc/sysdeps/generic/ldsodefs.h.jj 2005-10-14 18:33:23.000000000 +0200 +++ libc/sysdeps/generic/ldsodefs.h 2005-11-22 17:02:06.000000000 +0100 @@ -508,7 +508,6 @@ struct rtld_global struct dtv_slotinfo { size_t gen; - bool is_static; struct link_map *map; } slotinfo[0]; } *_dl_tls_dtv_slotinfo_list; Jakub