]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* cpu-m32r.c,elf32-m32r.c: New files.
authorDavid Edelsohn <dje.gcc@gmail.com>
Thu, 12 Sep 1996 18:58:36 +0000 (18:58 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Thu, 12 Sep 1996 18:58:36 +0000 (18:58 +0000)
bfd/ChangeLog
bfd/cpu-m32r.c [new file with mode: 0644]

index 0d372c314c9a048e5ca16cf0ca233545b7b1b755..dc53953be7769898bff4afca583cecfd69e22d87 100644 (file)
@@ -3,6 +3,7 @@ Thu Sep 12 11:45:57 1996  Doug Evans  <dje@seba.cygnus.com>
 
        * reloc.c: Add m32r relocs.
        * bfd-in2.h, libbfd.h: Rebuilt.
+       * cpu-m32r.c,elf32-m32r.c: New files.
 end-sanitize-m32r
 
 Thu Sep 12 11:10:05 1996  Ian Lance Taylor  <ian@cygnus.com>
diff --git a/bfd/cpu-m32r.c b/bfd/cpu-m32r.c
new file mode 100644 (file)
index 0000000..7022c29
--- /dev/null
@@ -0,0 +1,38 @@
+/* BFD support for the M32R processor.
+   Copyright (C) 1996 Free Software Foundation, Inc.
+
+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 2 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+
+#include "bfd.h"
+#include "sysdep.h"
+#include "libbfd.h"
+
+const bfd_arch_info_type bfd_m32r_arch =
+{
+    32,        /* bits in a word */
+    32,        /* bits in an address */
+    8, /* bits in a byte */
+    bfd_arch_m32r,
+    0,
+    "d10v",
+    "d10v",
+    4, /* section alignment power */
+    true, /* the default */
+    bfd_default_compatible,
+    bfd_default_scan,
+    0
+};