From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31036 invoked by alias); 15 Apr 2016 22:25:29 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 31016 invoked by uid 89); 15 Apr 2016 22:25:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-Received:10.66.235.9 X-HELO: mail-pa0-f42.google.com Received: from mail-pa0-f42.google.com (HELO mail-pa0-f42.google.com) (209.85.220.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 15 Apr 2016 22:25:27 +0000 Received: by mail-pa0-f42.google.com with SMTP id fs9so40332697pac.2 for ; Fri, 15 Apr 2016 15:25:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=cfXeOMpZHfX9FuRQtXlpZXpZbVEyRRGQSAfhPidXqDI=; b=JNDwQgkvXsiI6BJp5vMY7jReZL02A90M191BMsO9F0SvT2r5VTUkkto06EYvw4kEOJ 6YIf82z8ujbYcOfDq9e2GxQF64uOJVKPV6N/gaEI4z3H6DacKgtIltBKihvcTpsND6tB +a9DKpa/EJN7UxJHSjTdeuvEDdwWKbpZU1W8bhIaGnRZMcMqIp+eSMm7nQKEhWhJFqko qCj1P57lJxy9/idxD8QYmOAV2ifkdWfyuMtHC/AypDpoFMtZVt6+1Q+hUxiIr/E9vZ50 +gvZlvx5pU1lGt7azpmqqbpVZzR0FxVEHFoQyLXHSC1vjIb4MJ14COLlaaBkWNxTv3Fm +JTA== X-Gm-Message-State: AOPr4FUur5V6CAojt03CPDdbNrhDSS+bYYXWCR68OBy2itPbJeowAGj7nt6h8wXD6ym6DQ== X-Received: by 10.66.235.9 with SMTP id ui9mr32779156pac.135.1460759125301; Fri, 15 Apr 2016 15:25:25 -0700 (PDT) Received: from bubble.grove.modra.org (CPE-58-160-146-233.sa.bigpond.net.au. [58.160.146.233]) by smtp.gmail.com with ESMTPSA id p78sm7279107pfa.75.2016.04.15.15.25.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Apr 2016 15:25:24 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 46778EA0153; Sat, 16 Apr 2016 07:55:20 +0930 (ACST) Date: Fri, 15 Apr 2016 22:25:00 -0000 From: Alan Modra To: Matthew Fortune Cc: "binutils@sourceware.org" , Anibal Monsalve Salazar Subject: Re: [RFD] How legal is it to delete dynamic tags? Message-ID: <20160415222520.GD15088@bubble.grove.modra.org> References: <6D39441BF12EF246A7ABCE6654B023537E3D685D@hhmail02.hh.imgtec.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6D39441BF12EF246A7ABCE6654B023537E3D685D@hhmail02.hh.imgtec.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00242.txt.bz2 On Fri, Apr 15, 2016 at 03:08:41PM +0000, Matthew Fortune wrote: > Firstly, to what extent is it OK to just delete a dynamic tag rather > than set it to DT_NULL? DT_NULL marks the end of the dynamic tags array. Setting a tag to DT_NULL is not an option (except when the following tag is DT_NULL). You'll break ld.so if you do that. -- Alan Modra Australia Development Lab, IBM