3.4 PATCH: Consistently use _ABIO32 for _MIPS_SIM

Alexandre Oliva aoliva@redhat.com
Thu Oct 9 21:20:00 GMT 2003


On Oct  9, 2003, Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> wrote:

> * config/mips/{iris6.h, linux.h} used to define _MIPS_SIM for the O32 ABI
>   in terms of another macro not defined by gcc itself (or SGI's MIPSpro C,
>   for that matter), namely _MIPS_SIM_ABI32.

My understanding is that this made things backward-compatible.  Even
if your sgidefs.h doesn't define _MIPS_SIM_ABI32 (because it pre-dates
the existence of multiple ABIs), they will still compare equal.  If
your code is written with multiple ABIs in mind, it's entitled to
require _MIPS_SIM to be defined to non-zero, after including
<sgidefs.h>.

If your proposal still guarantees this set of assumptions, I don't
have any problem with it.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Libstdc++ mailing list