From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67955 invoked by alias); 23 Apr 2015 15:06:21 -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 67942 invoked by uid 89); 23 Apr 2015 15:06:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f177.google.com Received: from mail-yk0-f177.google.com (HELO mail-yk0-f177.google.com) (209.85.160.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 23 Apr 2015 15:06:19 +0000 Received: by ykec202 with SMTP id c202so2935132yke.2 for ; Thu, 23 Apr 2015 08:06:17 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.170.144.212 with SMTP id l203mr3157651ykc.128.1429801577602; Thu, 23 Apr 2015 08:06:17 -0700 (PDT) Received: by 10.129.92.10 with HTTP; Thu, 23 Apr 2015 08:06:17 -0700 (PDT) In-Reply-To: <20150423035955.GN12627@bubble.grove.modra.org> References: <20150423035955.GN12627@bubble.grove.modra.org> Date: Thu, 23 Apr 2015 15:06:00 -0000 Message-ID: Subject: Re: Accept odd result in ld-powerpc/tocnovar testcase From: Cary Coutant To: Binutils Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00353.txt.bz2 > I didn't commit this with the relro and powerpc .TOC. changes, > thinking that something should be done about the odd result of > .shstrtab appearing in PT_GNU_RELRO. On looking at it further, > I think that changing readelf would be wrong, so let's just > accept the results. Real binaries will always have other sections > past .got, so PT_GNU_RELRO won't finish past the end of loaded > sections. Still, why should readelf show any non-allocated sections as part of a segment? -cary