This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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


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


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