This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 3.4 PATCH: Consistently use _ABIO32 for _MIPS_SIM

Rainer Orth wrote:

As David pointed out, my libffi patch

broke bootstrap for mipsisa32el-linux (or in fact for all mips*-*-{irix,
linux}* platforms):

As described in

the mips port should consistently define and use _ABIO32 for _MIPS_SIM
instead of relying on an external definition of _MIPS_SIM_ABI32, which is
only present in <sgidefs.h>.  The following patch does this all over the

I'll better fire off another full bootstrap on mips-sgi-irix6.5; perhaps
someone else could do the same on some MIPS/Linux system to make extra sure
this doesn't break anything else?

Ok for mainline if it passes?


Rainer Orth, Faculty of Technology, Bielefeld University

Wed Oct 8 13:57:17 2003 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>

	* mips_sgi_mach_dep.s: Use _ABIO32 instead of external

	* config/mips/iris6.h (TARGET_OS_CPP_BUILTINS): Define _ABIO32.
	Use it in _MIPS_SIM definition.
	* config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
	* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Likewise.

	* src/mips/ffi.c: Use _ABIN32, _ABIO32 instead of external

	* config/cpu/mips/atomicity.h (__atomic_add): Use _ABIO32 instead
	of external _MIPS_SIM_ABI32.

This patch allows me to build with:

../gcccvs/gcc/configure --host=i686-pc-linux-gnu --target=mipsisa32el-linux --enable-languages=c,c++,java ...

I have not tested anything, but being able to build is a big improvement for me.

David Daney

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]