diff options
author | Alan Modra <amodra@gmail.com> | 2017-01-09 12:08:00 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-01-09 12:24:10 +1030 |
commit | 9f44236a721676e258cb2d4bf4c357b9f4b35542 (patch) | |
tree | 0fda3f06b98b0ba13bda772ed6971ba52d6f9245 /binutils | |
parent | 154b755299700a044d6e327d66f8969d4a9d40ab (diff) | |
download | gdb-9f44236a721676e258cb2d4bf4c357b9f4b35542.zip gdb-9f44236a721676e258cb2d4bf4c357b9f4b35542.tar.gz gdb-9f44236a721676e258cb2d4bf4c357b9f4b35542.tar.bz2 |
.rela.dyn comment fix and add missing ChangeLog entry
ChangeLog entry missed from commit dd90581873.
* readelf.c (process_section_headers): Correct .rel.dyn/.rela.dyn
comment.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/ChangeLog-2016 | 3 | ||||
-rw-r--r-- | binutils/readelf.c | 4 |
3 files changed, 10 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 6a61d61..475175e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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. diff --git a/binutils/ChangeLog-2016 b/binutils/ChangeLog-2016 index 279e98c..0e4dacd 100644 --- a/binutils/ChangeLog-2016 +++ b/binutils/ChangeLog-2016 @@ -321,6 +321,9 @@ 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. diff --git a/binutils/readelf.c b/binutils/readelf.c index 702cffb..8dca490 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -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"), |