* ehopt.c: New file.
[deliverable/binutils-gdb.git] / gas / as.c
index 984bf246c84057fc9f40067ec0003fcbaa4be23b..3bbf2d52fa6e94a4185c08d44e3cac36b0b27f23 100644 (file)
--- a/gas/as.c
+++ b/gas/as.c
@@ -1,5 +1,5 @@
 /* as.c - GAS main program.
-   Copyright (C) 1987, 90, 91, 92, 93, 94, 95, 96, 1997
+   Copyright (C) 1987, 90, 91, 92, 93, 94, 95, 96, 97, 1998
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
@@ -159,6 +159,7 @@ Options:\n\
 -R                     fold data section into text section\n\
 --statistics           print various measured statistics from execution\n\
 --strip-local-absolute strip local absolute symbols\n\
+--traditional-format   Use same format as native assembler when possible\n\
 --version              print assembler version number and exit\n\
 -W                     suppress warnings\n\
 --itbl INSTTBL         extend instruction set to include instructions\n\
@@ -356,7 +357,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_TRADITIONAL_FORMAT (OPTION_STD_BASE + 16)
+    {"traditional-format", no_argument, NULL, OPTION_TRADITIONAL_FORMAT}
   };
 
   /* Construct the option lists from the standard list and the
@@ -441,6 +444,10 @@ parse_args (pargc, pargv)
          flag_strip_local_absolute = 1;
          break;
 
+       case OPTION_TRADITIONAL_FORMAT:
+         flag_traditional_format = 1;
+         break;
+
        case OPTION_VERSION:
          /* This output is intended to follow the GNU standards document.  */
          printf ("GNU assembler %s\n", VERSION);
This page took 0.025568 seconds and 4 git commands to generate.