[patch] gcc compat: Support -masm= flag for x86 targets

Nico Weber thakis at chromium.org
Tue May 13 04:18:57 PDT 2014


On Tue, May 13, 2014 at 1:00 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> On 13 May 2014 03:58, Nico Weber <thakis at chromium.org> wrote:
> > It says `unrecognized command line option '-masm=intel'` (or att) when
> > targeting mips or arm.
> > https://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html lists it as under
> > "i386 and x86-64 Options", so I'm guessing gcc will say `unrecognized
> > command line option` for ppc too. Do you think it'll do something
> peculiar
> > for ppc? Should I build a gcc targeting ppc, or is adding a mips run line
> > good enough for you?
>
> Oh, I just asked for ppc because arm is know to have its own syntax
> variation, so I was not sure if it would accept att for anything but
> arm. If it is explicitly documented as x86 and x86-64, this is fine.
>

r208683, thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140513/26a5aee5/attachment.html>


More information about the cfe-commits mailing list