.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:40:55 +0000 (12:10 +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 e5f2e0ff2a64b5aa9cc15b51c922b5295aa3cae5..b5e82fed645a837c9300512a3cf8590752bac613 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-06  Nick Clifton  <nickc@redhat.com>
 
        * MAINTAINERS: Move Paul Brook to the Past Maintainers section.
index 423a9022d79c26bca9bce85c6628e530033bfb3b..49cdc50e53c085cb350f22b64d2ae723ac503a08 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 1eaa505ebf9c627d6f361ac4383739aa04fc2255..b4887143afe18077f7b49e1d4d209a3aa3751e9a 100644 (file)
@@ -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"),