i386.c (override_options): -masm=intel isn't supported on darwin.
authorMike Stump <mrs@apple.com>
Tue, 15 Nov 2005 01:44:36 +0000 (01:44 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Tue, 15 Nov 2005 01:44:36 +0000 (01:44 +0000)
* 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

gcc/ChangeLog
gcc/config/i386/i386.c
gcc/doc/invoke.texi

index b50e7a5d4bb2e263b08684440659bedc7a617503..032b12910b44bd28bce65f74c7fbd9f1f44c1cc1 100644 (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
index 9a0301f671c98e25afd226b5ed61d2ef9b2f3e2d..8d26074ba2a63808f5002ed5f80152243ce64eab 100644 (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;
index bbc747863030a76f11a9272cdeec572e5a01191d..4e87c7e6c56411bd6fa6b2741350929c5114eeb3 100644 (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