3.4 PATCH: Consistently use _ABIO32 for _MIPS_SIM
Daniel Jacobowitz
drow@mvista.com
Wed Oct 8 17:33:00 GMT 2003
On Wed, Oct 08, 2003 at 02:35:27PM +0200, Rainer Orth wrote:
> As David pointed out, my libffi patch
>
> http://gcc.gnu.org/ml/gcc-patches/2003-10/msg00412.html
>
> broke bootstrap for mipsisa32el-linux (or in fact for all mips*-*-{irix,
> linux}* platforms):
>
> http://gcc.gnu.org/ml/gcc-patches/2003-10/msg00566.html
>
> As described in
>
> http://gcc.gnu.org/ml/gcc-patches/2003-10/msg00599.html
>
> 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
> tree.
>
> 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?
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.
drow@nevyn:/opt/src/glibc/libc/sysdeps% grep -r MIPS_SIM mips unix/sysv/linux/mips | grep ABI32 | wc
55 298 3584
On the other hand I believe they are all a recent development and could
be changed. But I don't know what else is using this value.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gcc-patches
mailing list