From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id BA8B4386F032 for ; Mon, 21 Sep 2020 18:53:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BA8B4386F032 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=mittosystems.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jozef.l@mittosystems.com Received: by mail-wr1-x429.google.com with SMTP id k15so13899181wrn.10 for ; Mon, 21 Sep 2020 11:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mittosystems.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=VcgNf5gduliOoifj17gVDDLoXTiB10vyLQ58LPwj6uU=; b=m3nAY3dJY7eKoCwLChQqQiCswaRoBkykYO1ZEnjMGwdc5DMbChpsU9abjfhmWHsW02 h2fwmLojpstJHarQ29hS1xuDB8IITMm9KoDH+LaWTpE7e4fKMmOr9Cgz9wCsywe+TWDm eCpikUAOR4iJoIjrvqw3R+hXYc3y4jdpnInB97psn+84/FJxJDOAjZK0dmu0NywzzITX YDaLLy+v5TGD/ns+zvmcVPpekJ8vPPCT6fFJ4VLiY8OJ2crk+2ZfAy4Z6g4Tcu+FJbJd kTAkRvdSfIf4sYzP+/dks2ABRbh3GfcxZab+a5dCUFqjDC/tTwCq0HFXJYiiiGdJsgda 4FWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=VcgNf5gduliOoifj17gVDDLoXTiB10vyLQ58LPwj6uU=; b=NfQWDBaSly39GXMldssTTcHf5h5nS3yEZznlZldTpGJcF9cY5d4WKoijzK8BYpb5LG I2cODN9Wf/4zZ49nZPQ1rPIMusfEMdo9X0Rr6Rl441KyMvnRNVdYih9teKViquUpi79e B8LKYKXCukGJysig3F5ivXCfKOBhNxwHsPI+pbb065LvMYjxAzZBlftdDnQbIb6j9bgY gEH6z8YRF1B99GuoMlc2vXTCVP97Oju9l4POxwBXBFbMOr/G3TFYPTRojfJJoi8Q0JK/ U8emN4Rzsno3DNuen2zVQsz3ekLK4zcfAWH/dks1U67jWLGVpc79ZlNpvP6oJ7/nu/Fz DqEw== X-Gm-Message-State: AOAM530Mn/PcJkthteNQO5li3wSdu8IKl4z8aPgzPF4/gvGIUecJGm4Q 1bTuL8VKYfrCla7VKxuqLOb8JQ== X-Google-Smtp-Source: ABdhPJy+v4nkzCyxErRIDwk/SJaoQk6WcZfUZ7TyooVtLTJezrdBmYOL7xGlv5Yk4P0Q8AKifaZa3w== X-Received: by 2002:adf:cf01:: with SMTP id o1mr1178087wrj.421.1600714384885; Mon, 21 Sep 2020 11:53:04 -0700 (PDT) Received: from jozef-acer-manjaro ([2a01:4b00:87fd:900:5e1d:5c99:56da:76e8]) by smtp.gmail.com with ESMTPSA id d23sm676475wmb.6.2020.09.21.11.53.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Sep 2020 11:53:01 -0700 (PDT) Date: Mon, 21 Sep 2020 19:53:00 +0100 From: Jozef Lawrynowicz To: Michael Matz , fweimer@redhat.com Cc: gnu-gabi@sourceware.org Subject: Re: [RFC] SHF_GNU_RETAIN ELF Section Flag Message-ID: <20200921185300.ew7yn5zhky5wgvzs@jozef-acer-manjaro> References: <95e4fd3d-1486-b700-29b0-8b126b24d0ca@redhat.com> <875z8dn9xj.fsf@oldenburg2.str.redhat.com> <20200916141345.wxae5ytkyybbpcec@jozef-acer-manjaro> <20200918100046.r4c3qepxbccp7poc@jozef-acer-manjaro> <877dsr0xbo.fsf@oldenburg2.str.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gnu-gabi@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnu-gabi mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2020 18:53:07 -0000 On Mon, Sep 21, 2020 at 12:42:55PM +0000, Michael Matz wrote: > Hello, > > On Fri, 18 Sep 2020, Florian Weimer via Gnu-gabi wrote: > > > * Jozef Lawrynowicz: > > > > > Unless we are trying to be protective of the remaining operating > > > system-specific section flag bits, I don't really see any downside to > > > going the route of SHF_GNU_RETAIN. It is very simple, the linker > > > implementation requires only one additional line of code, and the > > > definition precisely describes how the section should be treated. > > > > > > SHF_GNU_RETAIN > > > The link editor should not garbage collect the section if it is > > > unused. > > > > I don't have any objections to this wording. > > Me neither. Thanks everyone for the feedback. I'm finalizing the patch so the tests work for all Binutils ELF targets, and will be posting to the Binutils ML soon, with the GCC patch to follow once that is applied. Regards, Jozef