This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH RFA] add support for NetBSD/mips as ELF.
- To: ica2_ts at csv dot ica dot uni-stuttgart dot de
- Subject: Re: [PATCH RFA] add support for NetBSD/mips as ELF.
- From: cgd at broadcom dot com
- Date: 01 Nov 2001 09:28:03 -0800
- cc: binutils at sources dot redhat dot com
- References: <yov5ady79etq.fsf@broadcom.com><20011101121925.D9605@rembrandt.csv.ica.uni-stuttgart.de><mailpost.1004613655.10291@postal.sibyte.com>
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