[cfe-commits] [PATCH] add some missing mips cpp defines

Brad Smith brad at comstyle.com
Wed Aug 29 10:54:17 PDT 2012


On Wed, Aug 29, 2012 at 09:13:55PM +0400, Simon Atanasyan wrote:
> Hi,
> 
> On Thu, Aug 23, 2012 at 8:48 AM, Jonathan Gray <jsg at jsg.id.au> wrote:
> > Here is a patch to add __foo__ type defines for mips which
> > were otherwise missing.  Matches what gcc was producing on
> > OpenBSD/sgi (mips64eb).
> 
> Are you sure that __mips__ is not defined? The following call defines
> "__mips", "__mips__" and "mips" (under some conditions) macros.
> 
> [[
>   DefineStd(Builder, "mips", Opts);
> ]]

I had pointed out to Jonathan on our OpenBSD list that most of what he
was looking for was already covered by the use of DefineStd. I posted
another diff that covers the mips64 symbols we're still missing from
the Driver.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the cfe-commits mailing list