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.
This commit is contained in:
Alan Modra
2021-03-29 09:47:16 +10:30
parent 3d7d6c1b50
commit 1be305ffcd
6 changed files with 15 additions and 6 deletions

View File

@@ -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)