Delete PROGRESS macros

I don't see much point in cluttering the source with the PROGRESS
macros, which of course do nothing at all with the definitions in
progress.h.  progress.h is unchanged apart from the copyright comment
since commit d4d4c53c68 in 1994.

binutils/
	* ar.c: Don't include progress.h, or invoke PROGRESS macros.
	* nm.c: Likewise.
	* objcopy.c: Likewise.
	* objdump.c: Likewise.
gas/
	* as.h: Don't include progress.h.
	* as.c: Don't invoke PROGRESS macros.
	* write.c: Likewise.
include/
	* progress.h: Delete.
ld/
	* ldmain.c: Don't include progress.h, or invoke PROGRESS macros.
This commit is contained in:
Alan Modra
2023-02-16 09:15:57 +10:30
parent 7f27b6b18a
commit 7ed4ad59e9
9 changed files with 1 additions and 92 deletions

View File

@@ -52,7 +52,6 @@
#include "bfd.h"
#include "elf-bfd.h"
#include "coff-bfd.h"
#include "progress.h"
#include "bucomm.h"
#include "elfcomm.h"
#include "demanguse.h"
@@ -5838,8 +5837,6 @@ main (int argc, char **argv)
xmalloc_set_program_name (program_name);
bfd_set_error_program_name (program_name);
START_PROGRESS (program_name, 0);
expandargv (&argc, &argv);
if (bfd_init () != BFD_INIT_MAGIC)
@@ -6221,7 +6218,5 @@ main (int argc, char **argv)
free (dump_ctf_parent_name);
free ((void *) source_comment);
END_PROGRESS (program_name);
return exit_status;
}