Push mips support for as into the tree.

This commit is contained in:
Warner Losh 2008-12-11 08:15:14 +00:00
parent a87b76397e
commit 7932522f76
3 changed files with 27 additions and 0 deletions

View File

@ -20,6 +20,10 @@ SRCS+= app.c as.c atof-generic.c atof-ieee.c bignum-copy.c \
# DEO: why not used?
#SRCS+= itbl-ops.c
.if ${TARGET_ARCH} == "mips"
SRCS+= itbl-ops.c itbl-parse.y itbl-lex.l
.endif
.if ${TARGET_ARCH} == "amd64"
SRCS+= tc-i386.c
.elif ${TARGET_ARCH} == "powerpc"

View File

@ -0,0 +1,19 @@
/* $FreeBSD$ */
#include "itbl-mips.h"
/* Choose a default ABI for MIPS targets. */
/* XXX: Where should this be ? */
#define MIPS_DEFAULT_ABI NO_ABI
/* Default CPU for MIPS targets. */
#define MIPS_CPU_STRING_DEFAULT "from-abi"
/* Generate 64-bit code by default on MIPS targets. */
#define MIPS_DEFAULT_64BIT 0
/* Allow use of E_MIPS_ABI_O32 on MIPS targets. */
#define USE_E_MIPS_ABI_O32 1
/* Use traditional mips */
#define TE_TMIPS 1

View File

@ -0,0 +1,4 @@
/* $FreeBSD$ */
#define TE_TMIPS 1
#include "tc-mips.h"