Added "--nowarnswap" option for suppressing "Swapping instructions" warnings.

This commit is contained in:
Bill Moyer 1998-01-28 22:36:10 +00:00
parent eafda179b5
commit 4d1dc7f122
3 changed files with 10 additions and 16 deletions

View File

@ -1,3 +1,11 @@
Wed Jan 28 14:35:00 1998 Bill Moyer <billm@cygnus.com>
* as.h (flag_warn_suppress_instructionswap): added new flag.
* tc-d10v.c (md_parse_option,md_longopts): added "--nowarnswap"
command line argument.
* tc-d10v.c (write_2_short): emit "Swapping instructions"
warning only if flag_warn_suppress_instructionswap is false.
Wed Jan 28 16:41:19 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
* configure.in (i386-*-mingw32*): New target.
@ -21,13 +29,6 @@ Wed Jan 28 13:48:08 1998 Ian Lance Taylor <ian@cygnus.com>
* config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define.
Fri Jan 28 10:18:06 1998 Bill Moyer <billm@cygnus.com>
* as.h (flag_warn_instructionswap): added new flag variable.
* as.c (parse_args): added "--nowarnswap" command line arg.
* tc-d10v.c (write_2_short): emit "Swapping instructions"
warning only if flag_warn_instructionswap is set.
start-sanitize-sky
Wed Jan 28 10:00:40 1998 Doug Evans <devans@canuck.cygnus.com>

View File

@ -356,9 +356,7 @@ parse_args (pargc, pargv)
#define OPTION_GSTABS (OPTION_STD_BASE + 14)
{"gstabs", no_argument, NULL, OPTION_GSTABS},
#define OPTION_STRIP_LOCAL_ABSOLUTE (OPTION_STD_BASE + 15)
{"strip-local-absolute", no_argument, NULL, OPTION_STRIP_LOCAL_ABSOLUTE},
#define OPTION_NOWARNSWAP (OPTION_STD_BASE + 16)
{"nowarnswap", no_argument, NULL, OPTION_NOWARNSWAP}
{"strip-local-absolute", no_argument, NULL, OPTION_STRIP_LOCAL_ABSOLUTE}
};
/* Construct the option lists from the standard list and the
@ -535,10 +533,6 @@ the GNU General Public License. This program has absolutely no warranty.\n");
debug_type = DEBUG_STABS;
break;
case OPTION_NOWARNSWAP:
flag_warn_instructionswap = 0;
break;
case 'J':
flag_signed_overflow_ok = 1;
break;
@ -708,7 +702,6 @@ main (argc, argv)
#endif
out_file_name = OBJ_DEFAULT_OUTPUT_FILE_NAME;
flag_warn_instructionswap = 1;
hex_init ();
#ifdef BFD_ASSEMBLER

View File

@ -424,7 +424,7 @@ COMMON int flag_no_warnings; /* -W */
COMMON unsigned char flag_always_generate_output; /* -Z */
/* True if instruction swapping warnings should be inhibited. */
COMMON unsigned char flag_warn_instructionswap; /* --nowarnswap */
COMMON unsigned char flag_warn_suppress_instructionswap; /* --nowarnswap */
/* This is true if the assembler should output time and space usage. */
COMMON unsigned char flag_print_statistics;