diff options
author | Alan Modra <amodra@gmail.com> | 2021-03-29 09:47:16 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-03-29 11:22:21 +1030 |
commit | 1be305ffcd43050184097a8f41445c85a4b1a411 (patch) | |
tree | 988d1122fc51da06afe628a09152f1fbbc18527e /binutils/readelf.c | |
parent | 3d7d6c1b507b4a5c4b991dd4158c35d91539aa8e (diff) | |
download | gdb-1be305ffcd43050184097a8f41445c85a4b1a411.zip gdb-1be305ffcd43050184097a8f41445c85a4b1a411.tar.gz gdb-1be305ffcd43050184097a8f41445c85a4b1a411.tar.bz2 |
binutils int vs bfd_boolean fixes
* objdump.c (process_links): Use type int.
* readelf.c (request_dump): Don't increment do_dump, set it.
* windint.h (target_is_bigendian): Use type bfd_boolean.
* windmc.c (target_is_bigendian): Likewise.
* windres.c (target_is_bigendian): Likewise.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 7370aa9..c995911 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -4747,7 +4747,7 @@ request_dump (struct dump_data *dumpdata, dump_type type) int section; char * cp; - do_dump++; + do_dump = TRUE; section = strtoul (optarg, & cp, 0); if (! *cp && section >= 0) |