/** Globals and flags */
+extern *program_version;
char *program_name = NULL;
bfd *inarch; /* The input arch we're manipulating */
char **files;
char *inarch_filename;
char *temp;
+ int show_version;
bfd_init();
+ verbose = 1;
+ show_version = 0;
#ifdef GNU960
check_v960( argc, argv );
default_target = bfd_make_targ_name(BFD_COFF_FORMAT,HOST_BYTE_ORDER_BIG_P);
case 'o':
preserve_dates = 1;
break;
+ case 'V':
+ show_version = true;
+ break;
case 's':
write_armap = true;
break;
}
}
+ if (show_version)
+ printf ("%s version %s\n", program_name, program_version);
+
if (mri_mode) {
mri_emul();
}
{
print_arelt_descr(stdout,abfd, verbose);
}
+
+
+