diff options
author | imp <imp@FreeBSD.org> | 1999-04-21 07:46:06 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1999-04-21 07:46:06 +0000 |
commit | 3e5b2956135ef173c55b405081b901efc580fa6c (patch) | |
tree | 3740877353b39253ab83d3a34f707513d92b2e00 /gnu | |
parent | ac2a924402f70a02f11498a756b38ffdf4a69ed3 (diff) | |
download | FreeBSD-src-3e5b2956135ef173c55b405081b901efc580fa6c.zip FreeBSD-src-3e5b2956135ef173c55b405081b901efc580fa6c.tar.gz |
TARGET was being defined wrong, causing ld to always fail. It is the
name of the bfd target, not the gnu-standard target name. Corrected
to be elf32-{big,little}mips from mipse[bl]-unknown-freebsd.
DEFAULT_EMULATION was bogusly defined, causing ld to always fail (this
was masked by the TARGET bogosity). Define correctly as elf32bmip and
elf32lmip. Mips doesn't follow the same conventions as i386 and alpha
do in this area.
ld now appears to work correctly for the uncommitted mips changes to
egcs.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/ld/Makefile.mips | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile.mips b/gnu/usr.bin/binutils/ld/Makefile.mips index 535a30e..a78cb5b 100644 --- a/gnu/usr.bin/binutils/ld/Makefile.mips +++ b/gnu/usr.bin/binutils/ld/Makefile.mips @@ -1,16 +1,16 @@ # -# $Id: Makefile.i386,v 1.4 1998/06/04 06:38:17 bde Exp $ +# $Id: Makefile.mips,v 1.1 1999/03/01 04:01:56 imp Exp $ # .if ${MACHINE_ARCH} == "mipseb" HOST= mipseb-unknown-freebsdelf -CFLAGS+= -DDEFAULT_EMULATION=\"elf_mips\" -CFLAGS+= -DTARGET=\"mipseb-unknown-freebsdelf\" +CFLAGS+= -DDEFAULT_EMULATION=\"elf32bmip\" +CFLAGS+= -DTARGET=\"elf32-bigmips\" .endif .if ${MACHINE_ARCH} == "mipsel" HOST= mipsel-unknown-freebsdelf -CFLAGS+= -DDEFAULT_EMULATION=\"elf_mips\" -CFLAGS+= -DTARGET=\"mipsel-unknown-freebsdelf\" +CFLAGS+= -DDEFAULT_EMULATION=\"elf32lmip\" +CFLAGS+= -DTARGET=\"elf32-littlemips\" .endif EMS+= ld_elf32bmip_emulation ld_elf32lmip_emulation LDSCRIPTS+= elf32bmip.x elf32bmip.xbn elf32bmip.xn elf32bmip.xr \ |