From ba104c838a87d1a68c04c1d2ca2b25947a474c5e Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 29 Dec 2007 14:15:20 +0000 Subject: [PATCH] 2007-12-29 H.J. Lu * config/tc-i386.c (md_show_usage): Add -mmnemonic, -msyntax, -mindex-reg, -mnaked-reg and -mold-gcc. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.c | 13 +++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index f57aac0b0a1..26b04dfa253 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2007-12-29 H.J. Lu + + * config/tc-i386.c (md_show_usage): Add -mmnemonic, -msyntax, + -mindex-reg, -mnaked-reg and -mold-gcc. + 2007-12-27 John David Anglin * config/tc-hppa.h (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 85ca2bb725e..7bf766127b1 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)) \ -- 2.30.2