From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24224 invoked by alias); 5 Oct 2018 00:01:06 -0000 Mailing-List: contact gnu-gabi-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: gnu-gabi-owner@sourceware.org Received: (qmail 24041 invoked by uid 89); 5 Oct 2018 00:01:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=difficulty, HX-Received:sk:d7-v6mr, HX-Received:aa87, H*f:CAMe9rOr_Dk1vv X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-pl1-f196.google.com Received: from mail-pl1-f196.google.com (HELO mail-pl1-f196.google.com) (209.85.214.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 05 Oct 2018 00:00:57 +0000 Received: by mail-pl1-f196.google.com with SMTP id b5-v6so5938998plr.5; Thu, 04 Oct 2018 17:00:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=DgJWnOSNfx5qzH1Iaa9Y/iQqdzKX985Iqa56FhwtYxQ=; b=kuB3Ep2FWpRNiB2HQfGvCszCHdVIr+rx2tL56tRzrjKqZmTDGbldbQL0BKC5doV5sR 1gR8LGd4ltc5REsNhWDNFJQoJAOo1exBav9aWP/3OxscRlA4AaOx73L9a0QnuOJLSvyN ft6hZ2oPn9O3Ded/xuGWwaW8a4BfMF/qn5f5fFRltX5bPpL6U3cExURT+AFVwedpvIKq gRYwewQ3tEXXeuk15M+xozxFlSDuADcxPiWX7vdV0lajTZZPQmkyiYw99BGmECXwLnVk s+yka6ceI5052qRTnawm8ZPJn9TZ26VsdZj3CmHn41jiAaRpEY6ChXFvMu+YccuzsaDG bRRA== 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:user-agent; bh=DgJWnOSNfx5qzH1Iaa9Y/iQqdzKX985Iqa56FhwtYxQ=; b=daQ5AqDrSGG6PksatDPJJvgmEGU3/uXm9k58vhnvWbxBf2GsY9eUC8Cc+nb9ducHb4 pwda9rFRJ/6/EjfBVepPGccFMYAJcmFCq6PW3TXEGRNCc4rRNs0gDkH/X5kvoRT2oxF8 u/aXOk3Ww+KJUHcZ6VGxG8Tb5tk11eYTOk45TbZj/43thq1o+ShBZV/FyzKsyTcujL9V LOx4DQRLjQ+KqcpgPw88oA/UKt20EzgxEavSPx2wv91jKtsTOZS3BEafuL9zh1Pxt7QE tJI9MXi7pG755XmOO6cZBZbRtiVCkLs6V6LBVr0CCAxPeo9Hhoz288dUKQoYbgtWll44 REvQ== X-Gm-Message-State: ABuFfoiCt3t921daM9lTN5v45jQ8JjQ1i4BljtKcZLuJ+4PD+S6L2mzj 9EVr42diS13r83bLivnWkSA= X-Google-Smtp-Source: ACcGV603NOJ7UOTnsdVFMbTSfCcK7tjp+0A8TCgCDnd3j4qGG//LQ+ag1DEkSnOVuqWjLRc3gxg+FQ== X-Received: by 2002:a17:902:aa87:: with SMTP id d7-v6mr8958138plr.25.1538697656013; Thu, 04 Oct 2018 17:00:56 -0700 (PDT) Received: from bubble.grove.modra.org ([58.175.241.133]) by smtp.gmail.com with ESMTPSA id h77-v6sm13640513pfh.13.2018.10.04.17.00.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Oct 2018 17:00:54 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 22F4F806D3; Fri, 5 Oct 2018 09:30:50 +0930 (ACST) Date: Mon, 01 Jan 2018 00:00:00 -0000 From: Alan Modra To: "H.J. Lu" Cc: Rich Felker , Cary Coutant , Michael Matz , Carlos O'Donell , Florian Weimer , Szabolcs Nagy , Jan Beulich , Binutils , gnu-gabi@sourceware.org Subject: Re: RFC: Add GNU_PROPERTY_NEED_PHDRS Message-ID: <20181005000049.GF3179@bubble.grove.modra.org> References: <20181003075416.GD3179@bubble.grove.modra.org> <20181004021457.GE3179@bubble.grove.modra.org> <20181004171640.GE17110@brightrain.aerifal.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-IsSubscribed: yes X-SW-Source: 2018-q4/txt/msg00016.txt.bz2 On Thu, Oct 04, 2018 at 12:12:17PM -0700, H.J. Lu wrote: > On Thu, Oct 4, 2018 at 10:16 AM Rich Felker wrote: > > Can you elaborate on what would go wrong with them? AIUI they can't > > remove anything from segments; they can only remove non-loaded > > sections. (I found this out the hard way a long time ago trying to get > > strip to remove unneeded .eh_frame) > > Sorry. I don't remember the details. One difficulty is what to put in p_vaddr and p_paddr of a segment without sections. I'm working on a linker/bfd solution that doesn't require a note section. -- Alan Modra Australia Development Lab, IBM