Push mips support into the tree.
This commit is contained in:
parent
d7aeea2745
commit
5abe265777
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=185924
27
gnu/usr.bin/binutils/libbfd/Makefile.mips
Normal file
27
gnu/usr.bin/binutils/libbfd/Makefile.mips
Normal file
@ -0,0 +1,27 @@
|
||||
# $FreeBSD$
|
||||
|
||||
#xxxIMPxxx: endian and size
|
||||
DEFAULT_VECTOR= bfd_elf32_tradbigmips_vec
|
||||
|
||||
SRCS+= coff-mips.c \
|
||||
cpu-mips.c \
|
||||
ecoff.c \
|
||||
ecofflink.c \
|
||||
elf32.c \
|
||||
elf64.c \
|
||||
elfn32-mips.c \
|
||||
elf32-mips.c \
|
||||
elf64-mips.c \
|
||||
elfxx-mips.c \
|
||||
elf32-target.h \
|
||||
elf64-target.h \
|
||||
elflink.c
|
||||
|
||||
VECS= bfd_elf32_tradbigmips_vec \
|
||||
bfd_elf32_tradlittlemips_vec \
|
||||
bfd_elf32_ntradbigmips_vec \
|
||||
bfd_elf32_ntradlittlemips_vec \
|
||||
bfd_elf64_tradbigmips_vec \
|
||||
bfd_elf64_tradlittlemips_vec \
|
||||
ecoff_little_vec \
|
||||
ecoff_big_vec
|
@ -57,7 +57,7 @@ extern "C" {
|
||||
#define BFD_ARCH_SIZE 64
|
||||
|
||||
|
||||
#if defined(__i386__) || defined(__powerpc__) || defined(__arm__)
|
||||
#if defined(__i386__) || defined(__powerpc__) || defined(__arm__) || defined(__mips__)
|
||||
#define BFD_HOST_64BIT_LONG 0
|
||||
#define BFD_HOST_64_BIT long long
|
||||
#define BFD_HOST_U_64_BIT unsigned long long
|
||||
|
4
gnu/usr.bin/binutils/libopcodes/Makefile.mips
Normal file
4
gnu/usr.bin/binutils/libopcodes/Makefile.mips
Normal file
@ -0,0 +1,4 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SRCS+= mips-dis.c mips-opc.c mips16-opc.c
|
||||
CFLAGS+= -DARCH_mips
|
Loading…
Reference in New Issue
Block a user