aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1996-09-12 18:58:36 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1996-09-12 18:58:36 +0000
commit6cb9c90330ae7bf0e63c8ced32241622e710d574 (patch)
treebbd6a7fe78fa089b51ff85ca90284bc21f4fdfa6 /bfd
parent3ebefb0701202796102634961e895adec7dee4b2 (diff)
downloadgdb-6cb9c90330ae7bf0e63c8ced32241622e710d574.zip
gdb-6cb9c90330ae7bf0e63c8ced32241622e710d574.tar.gz
gdb-6cb9c90330ae7bf0e63c8ced32241622e710d574.tar.bz2
* cpu-m32r.c,elf32-m32r.c: New files.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog1
-rw-r--r--bfd/cpu-m32r.c38
2 files changed, 39 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0d372c3..dc53953 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
index 0000000..7022c29
--- /dev/null
+++ b/bfd/cpu-m32r.c
@@ -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
+};