i386.c (override_options): -masm=intel isn't supported on darwin.

* config/i386/i386.c (override_options): -masm=intel isn't
	supported on darwin.
	* doc/invoke.texi (i386 and x86-64 Options): Likewise.

From-SVN: r106927
This commit is contained in:
Mike Stump 2005-11-15 01:44:36 +00:00 committed by Mike Stump
parent 3bea02d1f4
commit 1f4c2c57da
3 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2005-11-14 Mike Stump <mrs@apple.com>
* config/i386/i386.c (override_options): -masm=intel isn't
supported on darwin.
* doc/invoke.texi (i386 and x86-64 Options): Likewise.
2005-11-15 Joseph S. Myers <joseph@codesourcery.com>
* crtstuff.c: Undefine gid_t, pid_t, rlim_t, ssize_t, uid_t and

View File

@ -1337,7 +1337,8 @@ override_options (void)
}
if (ix86_asm_string != 0)
{
if (!strcmp (ix86_asm_string, "intel"))
if (! TARGET_MACHO
&& !strcmp (ix86_asm_string, "intel"))
ix86_asm_dialect = ASM_INTEL;
else if (!strcmp (ix86_asm_string, "att"))
ix86_asm_dialect = ASM_ATT;

View File

@ -9103,8 +9103,9 @@ functional units well resulting in instable performance.
@item -masm=@var{dialect}
@opindex masm=@var{dialect}
Output asm instructions using selected @var{dialect}. Supported choices are
@samp{intel} or @samp{att} (the default one).
Output asm instructions using selected @var{dialect}. Supported
choices are @samp{intel} or @samp{att} (the default one). Darwin does
not support intel.
@item -mieee-fp
@itemx -mno-ieee-fp