This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.4 PATCH: Consistently use _ABIO32 for _MIPS_SIM
On Thu, Oct 09, 2003 at 08:33:55PM +0200, Rainer Orth wrote:
> Daniel Jacobowitz <drow@mvista.com> writes:
>
> > Would this have always have the same value as _MIPS_SIM_ABI32, i.e. do
> > all systems use the same number? It appears OK for mips-linux.
>
> At least the definitions of _MIPS_SIM_*ABI* in IRIX <sgidefs.h> and the
> _ABI* macros predefined by cc and gcc match :-) I expect hell to break
> loose if someone changed this.
>
> The old way was broken simply because it defined _MIPS_SIM for the O32 ABI
> in terms of _MIPS_SIM_ABI32 *without providing a definition of the latter*.
> GCC never predefined the _MIPS_SIM_*ABI* macros and, as indicated elsewhere
> in this thread, I don't think it should.
Makes sense to me. Thanks.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer