From 4697c1d0cccc83ba10c6c5e376db0f5033fd450e Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 1 Mar 1999 04:01:57 +0000 Subject: Add TARGET_ARCH=mipsel and TARGET_ARCH=mipseb as a valid targets. Unlike the unisex architecutres we've had so far, mips is bisexual. These tools can produce either byte sex, and the compiler/make determines the proper gender to use. Otherwise, we'd have to have had mipsel and mipseb in all the places that we have just mips. And there are other complications with doing that (binutils doesn't like to build mips tools without both byte genders, it seems). Introduced BINUTIL_ARCH so that other bisexual architectures can a generic mechanism. We cannot just define MACHINE_ARCH as mips because we need to differentiate big and little endian types of binaries. Discussions on freebsd-arch have hashed out this issue (and the parallel libc issues). NetBSD is moving towards mipsel and mipseb for their two flavors of mips ports (in time for 1.4, if this change hasn't already been accomplished). I've been building i386 worlds with this tree for a three months with these files in place with no ill effects. --- gnu/usr.bin/binutils/libopcodes/Makefile.mips | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 gnu/usr.bin/binutils/libopcodes/Makefile.mips (limited to 'gnu/usr.bin/binutils/libopcodes/Makefile.mips') diff --git a/gnu/usr.bin/binutils/libopcodes/Makefile.mips b/gnu/usr.bin/binutils/libopcodes/Makefile.mips new file mode 100644 index 0000000..5ac18d6 --- /dev/null +++ b/gnu/usr.bin/binutils/libopcodes/Makefile.mips @@ -0,0 +1,6 @@ +# +# $Id: Makefile.i386,v 1.1 1998/03/12 02:55:32 jdp Exp $ +# + +SRCS+= mips-dis.c +CFLAGS+= -DARCH_mips -- cgit v1.1