]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
.rela.dyn comment fix and add missing ChangeLog entry
authorAlan Modra <amodra@gmail.com>
Mon, 9 Jan 2017 01:38:00 +0000 (12:08 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 9 Jan 2017 01:54:10 +0000 (12:24 +1030)
ChangeLog entry missed from commit dd90581873.

* readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn
comment.

binutils/ChangeLog
binutils/ChangeLog-2016
binutils/readelf.c

index 6a61d61fee1bf2809d6731be3394909dd7b3ee32..475175ef333f1fc6169b84e2c9f77d1eb8c4fc35 100644 (file)
@@ -1,3 +1,8 @@
+2017-01-09  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn
+       comment.
+
 2017-01-02  Alan Modra  <amodra@gmail.com>
 
        Update year range in copyright notice of all files.
index 279e98c183fd345717954d60a0c665149cb92706..0e4dacdc989538bfcf863e89f3828b74fa221ab8 100644 (file)
 
 2016-08-19  Nick Clifton  <nickc@redhat.com>
 
+       * 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.
index 702cffbeee0fed46c7f91004cb40e630b4fbf862..8dca49022633a8363e66fcf8401c03abc0ca0fb4 100644 (file)
@@ -6085,8 +6085,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"),