Re: Lost __mips_o32 predefine on NetBSD

2014-04-01 Thread Richard Sandiford
Martin Husemann writes: > On Mon, Mar 31, 2014 at 08:35:30PM +0100, Richard Sandiford wrote: >> Are you sure it was ever in FSF GCC? I went through every revision >> of netbsd.h in git and couldn't see it. > > No, I'm not - guess I never tried a pure gcc on mips. > >> I can go ahead and apply the

Re: Lost __mips_o32 predefine on NetBSD

2014-03-31 Thread Martin Husemann
On Mon, Mar 31, 2014 at 08:35:30PM +0100, Richard Sandiford wrote: > Are you sure it was ever in FSF GCC? I went through every revision > of netbsd.h in git and couldn't see it. No, I'm not - guess I never tried a pure gcc on mips. > I can go ahead and apply the patch anyway if it's the right th

Re: Lost __mips_o32 predefine on NetBSD

2014-03-31 Thread Richard Sandiford
Martin Husemann writes: > In the mips--netbsdelf target gcc 4.9 lost the pre-definition of > __mips_o32, which is heavily used in NetBSD sources. > > The obvious trivial patch adds it back. Are you sure it was ever in FSF GCC? I went through every revision of netbsd.h in git and couldn't see it.

Lost __mips_o32 predefine on NetBSD

2014-03-28 Thread Martin Husemann
In the mips--netbsdelf target gcc 4.9 lost the pre-definition of __mips_o32, which is heavily used in NetBSD sources. The obvious trivial patch adds it back. Martin --8-<-- Define __mips_o32 for -mabi=32 --- gcc/config/mips/netbsd.h.orig 2014-01-02 23:23:26.0 +0100 +++ gcc/config/