From 1be305ffcd43050184097a8f41445c85a4b1a411 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 29 Mar 2021 09:47:16 +1030 Subject: 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. --- binutils/readelf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'binutils/readelf.c') 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) -- cgit v1.1