From: Bill Moyer Date: Wed, 28 Jan 1998 22:36:10 +0000 (+0000) Subject: Added "--nowarnswap" option for suppressing "Swapping instructions" warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4d1dc7f122f5349bd62e11542d1f3d851f1ee601;p=binutils-gdb.git Added "--nowarnswap" option for suppressing "Swapping instructions" warnings. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index d991d27c659..2ea76a13c4b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,11 @@ +Wed Jan 28 14:35:00 1998 Bill Moyer + + * 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 * configure.in (i386-*-mingw32*): New target. @@ -21,13 +29,6 @@ Wed Jan 28 13:48:08 1998 Ian Lance Taylor * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define. -Fri Jan 28 10:18:06 1998 Bill Moyer - - * 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 diff --git a/gas/as.c b/gas/as.c index 93959668dd3..984bf246c84 100644 --- a/gas/as.c +++ b/gas/as.c @@ -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 diff --git a/gas/as.h b/gas/as.h index cab71558367..64d418b0555 100644 --- a/gas/as.h +++ b/gas/as.h @@ -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;