This is the mail archive of the gcc-patches@gcc.gnu.org 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: [patch, mips] Patch for new mips triplet - mips-mti-elf


On Sun, 2012-09-16 at 09:22 +0100, Richard Sandiford wrote:

> > +/* This is idential to sde.h except for the ABI setting which defaults
> > +   to 32 instead of n32 on 32 bit architectures and the addition of
> > +   MIPS_ISA_SYNCI_SPEC.  */
> 
> SDE defaults to o32 (-mabi=32) for 32-bit targets and n32 for 64-bit targets.
> I think that's what you'd want here too, otherwise the mips64 multilibs
> are really no different from the mips32 ones.

I am a bit confused about this.  It looks like the current
mips-*-linux-gnu targets default to o32 when compiled for 64-bit targets
but the mips-sde-elf target defaults to n32 when compiled for 64-bit
targets.  I am not sure which default makes more sense but it seems odd
that the two targets have different defaults for the same architecture.
Do you know how the current state of affairs came to be with respect to
this difference in defaults?

Steve Ellcey
sellcey@mips.com


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