diff options
author | imp <imp@FreeBSD.org> | 2008-12-11 08:20:34 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2008-12-11 08:20:34 +0000 |
commit | feb07c8eb0a898880e1e72ece2eeb6fae5227a94 (patch) | |
tree | 0d48db7ad1aa101e4387213697a87f8096e81612 /gnu | |
parent | 0ca6a3767d10fcff00d550f249475ccf6d759048 (diff) | |
download | FreeBSD-src-feb07c8eb0a898880e1e72ece2eeb6fae5227a94.zip FreeBSD-src-feb07c8eb0a898880e1e72ece2eeb6fae5227a94.tar.gz |
Push mips support into the tree.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/libbfd/Makefile.mips | 27 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/libbfd/bfd.h | 2 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/libopcodes/Makefile.mips | 4 |
3 files changed, 32 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/libbfd/Makefile.mips b/gnu/usr.bin/binutils/libbfd/Makefile.mips new file mode 100644 index 0000000..6f03eb7 --- /dev/null +++ b/gnu/usr.bin/binutils/libbfd/Makefile.mips @@ -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 diff --git a/gnu/usr.bin/binutils/libbfd/bfd.h b/gnu/usr.bin/binutils/libbfd/bfd.h index 570927f..6b152d5 100644 --- a/gnu/usr.bin/binutils/libbfd/bfd.h +++ b/gnu/usr.bin/binutils/libbfd/bfd.h @@ -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 diff --git a/gnu/usr.bin/binutils/libopcodes/Makefile.mips b/gnu/usr.bin/binutils/libopcodes/Makefile.mips new file mode 100644 index 0000000..4265de0 --- /dev/null +++ b/gnu/usr.bin/binutils/libopcodes/Makefile.mips @@ -0,0 +1,4 @@ +# $FreeBSD$ + +SRCS+= mips-dis.c mips-opc.c mips16-opc.c +CFLAGS+= -DARCH_mips |