This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: [PATCH RFA] add support for NetBSD/mips as ELF.


ica2_ts@csv.ica.uni-stuttgart.de ("Thiemo Seufer") writes:
> cgd@broadcom.com wrote:
> [snip]
> > --- configure.tgt	2001/10/31 09:50:09	1.66
> > +++ configure.tgt	2001/11/01 06:25:50
> > @@ -287,7 +287,13 @@
> >  mips*el-*-ecoff*)	targ_emul=mipsidtl ;;
> >  mips*-*-ecoff*)		targ_emul=mipsidt ;;
> >  mips*-dec-bsd*)		targ_emul=mipsbsd ;;
> > -mips*-dec-netbsd*)	targ_emul=elf32lmip ;;
> > +mips*-dec-netbsd* | mips*el-*-netbsd*)
> > +			targ_emul=elf32lmip
> > +			targ_extra_emuls="elf32bmip"
> > +			;;
> 
> It#s already there, and surely has historic reasons, but why is it
> called mips*-dec-netbsd* instead of mips*el-dec-netbsd* ?
> It looks a bit inconsistent.

"Historical reasons."  NetBSD, when configuring for the target, would
in fact use mipsel-netbsd.

If you look through the configury for 'mips.*dec', you'll see plenty
of entries, all of which are little endian.  At some point, years ago
I guess, when the somebody added configuration for the tools to
support NetBSD/pmax (the original MIPS port in NetBSD), I guess it was
decided to add it that way.

Looking at the change logs, it goes back to 1995.  8-)


I think it'd probably be reasonable to GC mips*-dec-netbsd* and a
bunch of other target names (hey, anybody using any of those rare DEC
MIPS OSF/1 systems 8-), but I didn't want to go there now.



chris


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