forked from Imagelibrary/binutils-gdb
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:
@@ -20,7 +20,6 @@
|
||||
|
||||
#include "sysdep.h"
|
||||
#include "bfd.h"
|
||||
#include "progress.h"
|
||||
#include "getopt.h"
|
||||
#include "aout/stab_gnu.h"
|
||||
#include "aout/ranlib.h"
|
||||
@@ -786,8 +785,6 @@ filter_symbols (bfd *abfd, bool is_dynamic, void *minisyms,
|
||||
int keep = 0;
|
||||
asymbol *sym;
|
||||
|
||||
PROGRESS (1);
|
||||
|
||||
sym = bfd_minisymbol_to_symbol (abfd, is_dynamic, (const void *) from, store);
|
||||
if (sym == NULL)
|
||||
bfd_fatal (bfd_get_filename (abfd));
|
||||
@@ -1183,8 +1180,6 @@ print_symbol (bfd * abfd,
|
||||
symbol_info syminfo;
|
||||
struct extended_symbol_info info;
|
||||
|
||||
PROGRESS (1);
|
||||
|
||||
format->print_symbol_filename (archive_bfd, abfd);
|
||||
|
||||
bfd_get_symbol_info (abfd, sym, &syminfo);
|
||||
@@ -1604,8 +1599,6 @@ display_archive (bfd *file)
|
||||
|
||||
for (;;)
|
||||
{
|
||||
PROGRESS (1);
|
||||
|
||||
arfile = bfd_openr_next_archived_file (file, arfile);
|
||||
|
||||
if (arfile == NULL)
|
||||
@@ -2005,8 +1998,6 @@ main (int argc, char **argv)
|
||||
bfd_plugin_set_program_name (program_name);
|
||||
#endif
|
||||
|
||||
START_PROGRESS (program_name, 0);
|
||||
|
||||
expandargv (&argc, &argv);
|
||||
|
||||
if (bfd_init () != BFD_INIT_MAGIC)
|
||||
@@ -2193,13 +2184,10 @@ main (int argc, char **argv)
|
||||
/* We were given several filenames to do. */
|
||||
while (optind < argc)
|
||||
{
|
||||
PROGRESS (1);
|
||||
if (!display_file (argv[optind++]))
|
||||
retval++;
|
||||
}
|
||||
|
||||
END_PROGRESS (program_name);
|
||||
|
||||
exit (retval);
|
||||
return retval;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user