diff options
author | Alan Modra <amodra@gmail.com> | 2023-02-16 09:15:57 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-02-16 21:00:50 +1030 |
commit | 7ed4ad59e91d8bd14807d6ca6a64b93757596df2 (patch) | |
tree | a0beacff1c2dc37582569dfc5fee98260f521130 /gas | |
parent | 7f27b6b18a0b72372128b2f49f743084776f1c54 (diff) | |
download | fsf-binutils-gdb-7ed4ad59e91d8bd14807d6ca6a64b93757596df2.zip fsf-binutils-gdb-7ed4ad59e91d8bd14807d6ca6a64b93757596df2.tar.gz fsf-binutils-gdb-7ed4ad59e91d8bd14807d6ca6a64b93757596df2.tar.bz2 |
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 d4d4c53c68f0 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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/as.c | 9 | ||||
-rw-r--r-- | gas/as.h | 3 | ||||
-rw-r--r-- | gas/write.c | 4 |
3 files changed, 0 insertions, 16 deletions
@@ -1250,7 +1250,6 @@ perform_an_assembly_pass (int argc, char ** argv) { if (*argv) { /* Is it a file-name argument? */ - PROGRESS (1); saw_a_file++; /* argv->"" if stdin desired, else->filename. */ read_a_source_file (*argv); @@ -1301,7 +1300,6 @@ gas_early_init (int *argcp, char ***argvp) myname = **argvp; xmalloc_set_program_name (myname); bfd_set_error_program_name (myname); - START_PROGRESS (myname, 0); expandargv (argcp, argvp); @@ -1350,8 +1348,6 @@ gas_init (void) if (flag_print_statistics) xatexit (dump_statistics); - PROGRESS (1); - dot_symbol_init (); #ifdef tc_init_after_args @@ -1389,7 +1385,6 @@ main (int argc, char ** argv) struct stat sob; gas_early_init (&argc, &argv); - PROGRESS (1); /* Call parse_args before gas_init so that switches like --hash-size can be honored. */ @@ -1436,8 +1431,6 @@ main (int argc, char ** argv) gas_init (); - PROGRESS (1); - /* Assemble it. */ perform_an_assembly_pass (argc, argv); @@ -1513,8 +1506,6 @@ main (int argc, char ** argv) input_scrub_end (); - END_PROGRESS (myname); - /* Use xexit instead of return, because under VMS environments they may not place the same interpretation on the value given. */ if (had_errors () != 0) @@ -77,9 +77,6 @@ #include "bfd.h" #include "libiberty.h" -/* Define the standard progress macros. */ -#include "progress.h" - /* Other stuff from config.h. */ #ifdef NEED_DECLARATION_ENVIRON extern char **environ; diff --git a/gas/write.c b/gas/write.c index fe9bb3d..8273b7a 100644 --- a/gas/write.c +++ b/gas/write.c @@ -2328,8 +2328,6 @@ write_object_file (void) maybe_generate_build_notes (); #endif - PROGRESS (1); - #ifdef tc_frob_file_before_adjust tc_frob_file_before_adjust (); #endif @@ -2472,8 +2470,6 @@ write_object_file (void) } } - PROGRESS (1); - /* Now do any format-specific adjustments to the symbol table, such as adding file symbols. */ #ifdef tc_adjust_symtab |