diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-03-19 05:22:18 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-03-19 05:22:30 -0700 |
commit | ef3df11042c3dbaf695c1260b42364688cafa8ea (patch) | |
tree | eb262750bef84ffa1484c2745f29cbb69357e5e9 /binutils/ChangeLog | |
parent | cada5fc921e39a1945c422eea055c8b326d8d353 (diff) | |
download | gdb-ef3df11042c3dbaf695c1260b42364688cafa8ea.zip gdb-ef3df11042c3dbaf695c1260b42364688cafa8ea.tar.gz gdb-ef3df11042c3dbaf695c1260b42364688cafa8ea.tar.bz2 |
readelf.c: Use unsigned long to iterate over num_syms
process_symbol_table () has
unsigned long num_syms;
...
for (si = 0, psym = symtab; si < num_syms; si++, psym++)
We should use unsigned long to iterate over num_syms.
* readelf.c (process_symbol_table): Use unsigned long for si.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index f340593..d012f07 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2020-03-19 H.J. Lu <hongjiu.lu@intel.com> + + * readelf.c (process_symbol_table): Use unsigned long for si. + 2020-03-19 Alan Modra <amodra@gmail.com> * elfcomm.c: Don't include bfd.h or bucomm.h. |