diff options
| author | takemura <takemura@NetBSD.org> | 1999-09-29 13:19:13 +0000 |
|---|---|---|
| committer | takemura <takemura@NetBSD.org> | 1999-09-29 13:19:13 +0000 |
| commit | cdabc2eb91cc574c8f0cfe6fc13af8780c073960 (patch) | |
| tree | 7c15bb7559014b7e6f0e9313652df6d5a24a7efb /gnu | |
| parent | f644b42971edfe705df6e2130447ce2df223dcc9 (diff) | |
Hpcmips needs completely FPU instruction free user land.
XXX, this modification is kinda ad-hoc.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/dist/gcc/config/mips/ecoff.h | 2 | ||||
| -rw-r--r-- | gnu/dist/gcc/config/mips/elf.h | 2 | ||||
| -rw-r--r-- | gnu/dist/gcc/config/mips/netbsd.h | 9 | ||||
| -rw-r--r-- | gnu/lib/libgcc/Makefile | 6 | ||||
| -rw-r--r-- | gnu/lib/libobjc/Makefile | 6 | ||||
| -rw-r--r-- | gnu/usr.bin/egcs/Makefile.inc | 6 |
6 files changed, 28 insertions, 3 deletions
diff --git a/gnu/dist/gcc/config/mips/ecoff.h b/gnu/dist/gcc/config/mips/ecoff.h index dcc00a4b4b8..e4fc1120b20 100644 --- a/gnu/dist/gcc/config/mips/ecoff.h +++ b/gnu/dist/gcc/config/mips/ecoff.h @@ -19,8 +19,10 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef NOUSE_GOFAST /* US Software GOFAST library support. */ #define INIT_SUBTARGET_OPTABS INIT_GOFAST_OPTABS +#endif #include "mips/mips.h" diff --git a/gnu/dist/gcc/config/mips/elf.h b/gnu/dist/gcc/config/mips/elf.h index cfaa9d1f21f..684ed71b415 100644 --- a/gnu/dist/gcc/config/mips/elf.h +++ b/gnu/dist/gcc/config/mips/elf.h @@ -29,7 +29,9 @@ Boston, MA 02111-1307, USA. */ #endif /* Mostly like ECOFF. */ +#ifndef NOUSE_GOFAST #include "gofast.h" +#endif #include "mips/ecoff.h" /* We need to use .esize and .etype instead of .size and .type to diff --git a/gnu/dist/gcc/config/mips/netbsd.h b/gnu/dist/gcc/config/mips/netbsd.h index 03bcebc866f..72577d3fb2b 100644 --- a/gnu/dist/gcc/config/mips/netbsd.h +++ b/gnu/dist/gcc/config/mips/netbsd.h @@ -23,6 +23,11 @@ Boston, MA 02111-1307, USA. */ #define TARGET_ENDIAN_DEFAULT 0 #define TARGET_DEFAULT MASK_GAS +#ifdef hpcmips /* XXX should use distinct target name -uch */ +#define NOUSE_GOFAST +#define SOFT_FLOAT +#endif + /* Get generic mips ELF definitions. */ #include <mips/elf.h> @@ -252,7 +257,11 @@ do { \ GO_IF_LEGITIMATE_ADDRESS ever accepting such addresses. */ #undef TARGET_DEFAULT +#ifdef SOFT_FLOAT +#define TARGET_DEFAULT (MASK_GAS|MASK_DEBUG_A|MASK_SOFT_FLOAT) +#else #define TARGET_DEFAULT (MASK_GAS|MASK_DEBUG_A) +#endif /* Since gas and gld are standard on NetBSD, we don't need these */ #undef ASM_FINAL_SPEC diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile index f1ce58a7acf..acb21d33faf 100644 --- a/gnu/lib/libgcc/Makefile +++ b/gnu/lib/libgcc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 1999/02/24 17:18:26 drochner Exp $ +# $NetBSD: Makefile,v 1.9 1999/09/29 13:19:14 takemura Exp $ HAVE_GCC28!= ${CXX} --version | egrep "^(2\.8|egcs)" ; echo @@ -18,6 +18,10 @@ ARCHSUBDIR= ${MACHINE_ARCH} CPPFLAGS+= -I${ARCH}/${ARCHSUBDIR} -I${ARCH} \ -I${DIST}/config -I${DIST}/cp -I${DIST} +.if (${MACHINE} == "hpcmips") # XXX +CPPFLAGS+=-D${MACHINE} +.endif + LIB2OBJS= __gcc_bcmp.o _varargs.o __dummy.o _eprintf.o _bb.o _shtab.o \ _clear_cache.o _trampoline.o __main.o _exit.o _ctors.o \ _pure.o diff --git a/gnu/lib/libobjc/Makefile b/gnu/lib/libobjc/Makefile index 669cb06abad..d007c1943e2 100644 --- a/gnu/lib/libobjc/Makefile +++ b/gnu/lib/libobjc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 1999/02/24 17:18:26 drochner Exp $ +# $NetBSD: Makefile,v 1.7 1999/09/29 13:19:15 takemura Exp $ HAVE_GCC28!= ${CXX} --version | egrep "^(2\.8|egcs)" ; echo @@ -24,6 +24,10 @@ ARCHSUBDIR= ${MACHINE_ARCH} CPPFLAGS+= -I. -I${ARCH}/${ARCHSUBDIR} -I${ARCH} \ -I${DIST}/config -I${DIST} +.if (${MACHINE} == "hpcmips") # XXX +CPPFLAGS+=-D${MACHINE} +.endif + MKLINT= no DIST= ${.CURDIR}/../../dist/gcc diff --git a/gnu/usr.bin/egcs/Makefile.inc b/gnu/usr.bin/egcs/Makefile.inc index 72d2c290232..5ac14d4ae3f 100644 --- a/gnu/usr.bin/egcs/Makefile.inc +++ b/gnu/usr.bin/egcs/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.20 1999/07/30 04:07:23 mycroft Exp $ +# $NetBSD: Makefile.inc,v 1.21 1999/09/29 13:19:15 takemura Exp $ .if !defined(GCC_MAKEFILE_INC) GCC_MAKEFILE_INC=1 @@ -38,6 +38,10 @@ CPPFLAGS+= -I${.CURDIR}/../arch \ CPPFLAGS+=-DDEFAULT_ELF .endif +.if (${MACHINE} == "hpcmips") # XXX +CPPFLAGS+=-D${MACHINE} +.endif + HOST_CPPFLAGS= ${CPPFLAGS} .PATH: ${.CURDIR}/../arch \ |
