diff options
Diffstat (limited to 'gas/as.c')
-rw-r--r-- | gas/as.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -356,7 +356,9 @@ 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} + {"strip-local-absolute", no_argument, NULL, OPTION_STRIP_LOCAL_ABSOLUTE}, +#define OPTION_NOWARNSWAP (OPTION_STD_BASE + 16) + {"nowarnswap", no_argument, NULL, OPTION_NOWARNSWAP} }; /* Construct the option lists from the standard list and the @@ -532,6 +534,10 @@ the GNU General Public License. This program has absolutely no warranty.\n"); case OPTION_GSTABS: debug_type = DEBUG_STABS; break; + + case OPTION_NOWARNSWAP: + flag_warn_instructionswap = 0; + break; case 'J': flag_signed_overflow_ok = 1; @@ -702,6 +708,7 @@ main (argc, argv) #endif out_file_name = OBJ_DEFAULT_OUTPUT_FILE_NAME; + flag_warn_instructionswap = 1; hex_init (); #ifdef BFD_ASSEMBLER |