aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-12-29 14:15:20 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-12-29 14:15:20 +0000
commitba104c838a87d1a68c04c1d2ca2b25947a474c5e (patch)
treed0be6c6930f3119b1cb21de0f7db8f995841837c /gas/config
parentf6f3eb6ccf9ccb79b5fc1d0ab675752d7047f47e (diff)
downloadbinutils-ba104c838a87d1a68c04c1d2ca2b25947a474c5e.zip
binutils-ba104c838a87d1a68c04c1d2ca2b25947a474c5e.tar.gz
binutils-ba104c838a87d1a68c04c1d2ca2b25947a474c5e.tar.bz2
2007-12-29 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_show_usage): Add -mmnemonic, -msyntax, -mindex-reg, -mnaked-reg and -mold-gcc.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 85ca2bb..7bf7661 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -294,7 +294,7 @@ static int old_gcc = OLDGCC_COMPAT;
/* 1 if register prefix % not required. */
static int allow_naked_reg = 0;
-/* 1 if fake index register, eiz/riz, is allowed . */
+/* 1 if pseudo index register, eiz/riz, is allowed . */
static int allow_index_reg = 0;
/* Register prefix used for error message. */
@@ -7177,7 +7177,16 @@ md_show_usage (stream)
-march=CPU/-mtune=CPU generate code/optimize for CPU, where CPU is one of:\n\
i386, i486, pentium, pentiumpro, pentium4, nocona,\n\
core, core2, k6, athlon, k8, generic32, generic64\n"));
-
+ fprintf (stream, _("\
+ -mmnemonic=[att|intel] use AT&T/Intel mnemonic\n"));
+ fprintf (stream, _("\
+ -msyntax=[att|intel] use AT&T/Intel syntax\n"));
+ fprintf (stream, _("\
+ -mindex-reg support pseudo index registers\n"));
+ fprintf (stream, _("\
+ -mnaked-reg don't require `%%' prefix for registers\n"));
+ fprintf (stream, _("\
+ -mold-gcc support old (<= 2.8.1) versions of gcc\n"));
}
#if ((defined (OBJ_MAYBE_COFF) && defined (OBJ_MAYBE_AOUT)) \