summaryrefslogtreecommitdiffstats
path: root/binutils-2.23/bfd/cpu-we32k.c
diff options
context:
space:
mode:
authorBen Cheng <bccheng@google.com>2013-04-09 11:29:01 -0700
committerBen Cheng <bccheng@google.com>2013-04-09 11:29:01 -0700
commitf226517827d64cc8f9dccb0952731601ac13ef2a (patch)
tree84b1056255b318a87b7a47b2684655660cab66f0 /binutils-2.23/bfd/cpu-we32k.c
parent30fe22e2cc89991b16ab3853f95c7319574456ce (diff)
downloadtoolchain_binutils-f226517827d64cc8f9dccb0952731601ac13ef2a.tar.gz
toolchain_binutils-f226517827d64cc8f9dccb0952731601ac13ef2a.tar.bz2
toolchain_binutils-f226517827d64cc8f9dccb0952731601ac13ef2a.zip
Initial checkin for binutils 2.23.2 (needed by aarch64)
Change-Id: I7e5f319e9e632cc0ccc8a4ec1051169ed2849ca4
Diffstat (limited to 'binutils-2.23/bfd/cpu-we32k.c')
-rw-r--r--binutils-2.23/bfd/cpu-we32k.c41
1 files changed, 41 insertions, 0 deletions
diff --git a/binutils-2.23/bfd/cpu-we32k.c b/binutils-2.23/bfd/cpu-we32k.c
new file mode 100644
index 00000000..99a8ff00
--- /dev/null
+++ b/binutils-2.23/bfd/cpu-we32k.c
@@ -0,0 +1,41 @@
+/* bfd back-end for we32k support
+ Copyright 1992, 2000, 2002, 2005, 2007 Free Software Foundation, Inc.
+ Contributed by Brendan Kehoe (brendan@cs.widener.edu).
+
+ This file is part of BFD, the Binary File Descriptor library.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
+
+#include "sysdep.h"
+#include "bfd.h"
+#include "libbfd.h"
+
+const bfd_arch_info_type bfd_we32k_arch =
+ {
+ 32, /* 32 bits in a word */
+ 32, /* 32 bits in an address */
+ 8, /* 8 bits in a byte */
+ bfd_arch_we32k,
+ 32000, /* only 1 machine */
+ "we32k",
+ "we32k:32000",
+ 3,
+ TRUE, /* the one and only */
+ bfd_default_compatible,
+ bfd_default_scan ,
+ bfd_arch_default_fill,
+ 0,
+ };