diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-12-29 14:15:20 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-12-29 14:15:20 +0000 |
commit | ba104c838a87d1a68c04c1d2ca2b25947a474c5e (patch) | |
tree | d0be6c6930f3119b1cb21de0f7db8f995841837c /gas | |
parent | f6f3eb6ccf9ccb79b5fc1d0ab675752d7047f47e (diff) | |
download | gdb-ba104c838a87d1a68c04c1d2ca2b25947a474c5e.zip gdb-ba104c838a87d1a68c04c1d2ca2b25947a474c5e.tar.gz gdb-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')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-i386.c | 13 |
2 files changed, 16 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index f57aac0..26b04df 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +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. + 2007-12-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> * 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 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)) \ |