[PATCH] _MIPS_SIM builtin macro

Warner Losh imp at bsdimp.com
Tue Jul 19 14:27:31 UTC 2011


On Jul 19, 2011, at 8:06 AM, Robert Millan wrote:

> 2011/7/19 Jayachandran C. <c.jayachandran at gmail.com>:
>> The macros seems to be already there, or am I missing something here?
>> 
>> [jc at daemon]$ make buildenv
>> Entering world for mips64eb:mips
>> $ touch /tmp/x.c
>> $ gcc -dM -E /tmp/x.c | grep SIM
>> #define _MIPS_SIM _ABI64
> 
> My bad.  I checked gcc/config/mips/mips.h, but in FreeBSD tree they're
> implemented as OS-specific macros.  I should have grepped in the whole
> tree.

That likely is a bug, but maybe not one worth fixing :)

Warner



More information about the freebsd-mips mailing list