From 6cb9c90330ae7bf0e63c8ced32241622e710d574 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Thu, 12 Sep 1996 18:58:36 +0000 Subject: [PATCH] * cpu-m32r.c,elf32-m32r.c: New files. --- bfd/ChangeLog | 1 + bfd/cpu-m32r.c | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 bfd/cpu-m32r.c diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0d372c314c9..dc53953be77 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -3,6 +3,7 @@ Thu Sep 12 11:45:57 1996 Doug Evans * 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 diff --git a/bfd/cpu-m32r.c b/bfd/cpu-m32r.c new file mode 100644 index 00000000000..7022c29d2a0 --- /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 +}; -- 2.30.2