From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 98032 invoked by alias); 9 Jan 2017 01:45:01 -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 98008 invoked by uid 89); 9 Jan 2017 01:45:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=2017-01-09, streq, 20170109 X-HELO: mail-pg0-f68.google.com Received: from mail-pg0-f68.google.com (HELO mail-pg0-f68.google.com) (74.125.83.68) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 09 Jan 2017 01:44:59 +0000 Received: by mail-pg0-f68.google.com with SMTP id 204so3317226pge.2 for ; Sun, 08 Jan 2017 17:44:59 -0800 (PST) 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:mime-version :content-disposition:user-agent; bh=0jASyAHAVxPk/hUJmVWfW9VNzPOUMCzS3tWOL62ZcdA=; b=UtMplvd2V/e34GCO+3Mxg0pB+dGNrG2OEB6Yc9G7o1DhDBnySiXtZfBFSHmOcH6AJx ncm9xzfrG6hx4VlCQDINwywhs6oSyCM5YR1YujYlePWecD7UASK5reo8pmhgG5xJsEy0 PwnNJ0HvDLdnxLVP7MmOljjpNmaFOUkadvpE83QAwM7J6zWzFknATXdlKj0QuIeY7XTS isHlNU6BUq2DZrOKAbuv3zRCLqikkGXqqtxhjlbwXtZ1F3Zh2KJhY//kNNRq5Y1GSfZn 5UpY8+xX2erb1WOCmxv2KciriWFtqW4x5hn0aGTjscqpR7cptd178JNeF0rRo4j0eG1y oSQg== X-Gm-Message-State: AIkVDXI5G871Xy1OU2ecMyBjRDlmx1sd+RXYIXBhBq6ZErPJlHfwQFn0vHa1MnBV6fa0sQ== X-Received: by 10.99.140.77 with SMTP id q13mr158627109pgn.109.1483926297903; Sun, 08 Jan 2017 17:44:57 -0800 (PST) Received: from bubble.grove.modra.org (CPE-58-160-71-80.tyqh2.lon.bigpond.net.au. [58.160.71.80]) by smtp.gmail.com with ESMTPSA id x4sm175538945pgc.14.2017.01.08.17.44.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Jan 2017 17:44:57 -0800 (PST) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 3B8F1C2042; Mon, 9 Jan 2017 12:14:53 +1030 (ACDT) Date: Mon, 09 Jan 2017 01:45:00 -0000 From: Alan Modra To: binutils@sourceware.org Cc: Nick Clifton Subject: .rela.dyn comment fix and add missing ChangeLog entry Message-ID: <20170109014453.GV31129@bubble.grove.modra.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00103.txt.bz2 ChangeLog entry missed from commit dd90581873. * readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn comment. diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e5f2e0f..b5e82fe 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2017-01-09 Alan Modra + + * readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn + comment. + 2017-01-06 Nick Clifton * MAINTAINERS: Move Paul Brook to the Past Maintainers section. diff --git a/binutils/ChangeLog-2016 b/binutils/ChangeLog-2016 index 423a902..49cdc50 100644 --- a/binutils/ChangeLog-2016 +++ b/binutils/ChangeLog-2016 @@ -330,6 +330,9 @@ 2016-08-19 Nick Clifton + * readelf.c (process_section_headers): Sanity check section headers. + (process_symbol_table): Don't warn on solaris binaries with local + symbols past symtab sh_info. * testsuite/binutils-all/readelf.s: Adjust expected ordering of sections. * testsuite/binutils-all/readelf.s-64: Likewise. diff --git a/binutils/readelf.c b/binutils/readelf.c index 1eaa505..b488714 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -6092,8 +6092,8 @@ process_section_headers (FILE * file) && (streq (SECTION_NAME (section), ".rel.dyn") || streq (SECTION_NAME (section), ".rela.dyn"))) /* The .rel.dyn and .rela.dyn sections have an sh_info field - of zero. No idea why. I would have expected the index - of the .plt section. */ + of zero. The relocations in these sections may apply + to many different sections. */ ; else warn (_("[%2u]: Info field (%u) should index a relocatable section.\n"), -- Alan Modra Australia Development Lab, IBM