Push mips support for as into the tree.
This commit is contained in:
parent
a87b76397e
commit
7932522f76
@ -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"
|
||||
|
19
gnu/usr.bin/binutils/as/mips-freebsd/itbl-cpu.h
Normal file
19
gnu/usr.bin/binutils/as/mips-freebsd/itbl-cpu.h
Normal 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
|
4
gnu/usr.bin/binutils/as/mips-freebsd/targ-cpu.h
Normal file
4
gnu/usr.bin/binutils/as/mips-freebsd/targ-cpu.h
Normal file
@ -0,0 +1,4 @@
|
||||
/* $FreeBSD$ */
|
||||
#define TE_TMIPS 1
|
||||
|
||||
#include "tc-mips.h"
|
Loading…
x
Reference in New Issue
Block a user