Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2008 08:20:34 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r185924 - in head/gnu/usr.bin/binutils: libbfd libopcodes
Message-ID:  <200812110820.mBB8KYFt059239@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Thu Dec 11 08:20:34 2008
New Revision: 185924
URL: http://svn.freebsd.org/changeset/base/185924

Log:
  Push mips support into the tree.

Added:
  head/gnu/usr.bin/binutils/libbfd/Makefile.mips   (contents, props changed)
  head/gnu/usr.bin/binutils/libopcodes/Makefile.mips   (contents, props changed)
Modified:
  head/gnu/usr.bin/binutils/libbfd/bfd.h

Added: head/gnu/usr.bin/binutils/libbfd/Makefile.mips
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/gnu/usr.bin/binutils/libbfd/Makefile.mips	Thu Dec 11 08:20:34 2008	(r185924)
@@ -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

Modified: head/gnu/usr.bin/binutils/libbfd/bfd.h
==============================================================================
--- head/gnu/usr.bin/binutils/libbfd/bfd.h	Thu Dec 11 08:18:45 2008	(r185923)
+++ head/gnu/usr.bin/binutils/libbfd/bfd.h	Thu Dec 11 08:20:34 2008	(r185924)
@@ -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

Added: head/gnu/usr.bin/binutils/libopcodes/Makefile.mips
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/gnu/usr.bin/binutils/libopcodes/Makefile.mips	Thu Dec 11 08:20:34 2008	(r185924)
@@ -0,0 +1,4 @@
+# $FreeBSD$
+
+SRCS+=	mips-dis.c mips-opc.c mips16-opc.c
+CFLAGS+= -DARCH_mips



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812110820.mBB8KYFt059239>