Date: Tue, 19 Jul 2011 08:23:49 -0600 From: Warner Losh <imp@bsdimp.com> To: Robert Millan <rmh@debian.org> Cc: freebsd-mips@freebsd.org Subject: Re: [PATCH] _MIPS_SIM builtin macro Message-ID: <F445DB67-88EB-41D6-9070-B59EFCE2ACFA@bsdimp.com> In-Reply-To: <CAOfDtXOLhRsimdOAYetBc6uovaz4Bg9mZ2BLAESFb-PowU1MOw@mail.gmail.com> References: <CAOfDtXNhGs-piK4ZUe%2BO0Zb2wxi%2B8Vdg0PysXjRo04BQ=Bahhg@mail.gmail.com> <CA%2B7sy7CZEC8dywWq0kQZSZOLjzxLrBGdkW4YmJH5_=Wx4QD2gA@mail.gmail.com> <CAOfDtXOLhRsimdOAYetBc6uovaz4Bg9mZ2BLAESFb-PowU1MOw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 19, 2011, at 8:06 AM, Robert Millan wrote: > 2011/7/19 Jayachandran C. <c.jayachandran@gmail.com>: >> The macros seems to be already there, or am I missing something here? >> >> [jc@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F445DB67-88EB-41D6-9070-B59EFCE2ACFA>