X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fcpu-m68hc12.c;h=43520a1028f64d8fa8669d301f82a96985e4d273;hb=7ebede5616fbc72ac4177676c039bef55cdf2b85;hp=1810438b291ac559d4e4b5aa0340ff84f6f7f551;hpb=71f6b58639da628af9accaef2b58249c5a60679a;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/cpu-m68hc12.c b/bfd/cpu-m68hc12.c index 1810438b29..43520a1028 100644 --- a/bfd/cpu-m68hc12.c +++ b/bfd/cpu-m68hc12.c @@ -1,5 +1,5 @@ /* BFD support for the Motorola 68HC12 processor - Copyright 1999, 2000 Free Software Foundation, Inc. + Copyright 1999, 2000, 2002, 2003 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -15,24 +15,40 @@ 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. */ +Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "bfd.h" #include "sysdep.h" #include "libbfd.h" +const bfd_arch_info_type bfd_m68hc12s_arch = +{ + 16, /* 16 bits in a word */ + 32, /* 16 bits in an address */ + 8, /* 8 bits in a byte */ + bfd_arch_m68hc12, + bfd_mach_m6812s, + "m68hc12:HCS12", + "m68hc12", + 4, /* section alignment power */ + TRUE, + bfd_default_compatible, + bfd_default_scan, + 0, +}; + const bfd_arch_info_type bfd_m68hc12_arch = { 16, /* 16 bits in a word */ - 16, /* 16 bits in an address */ + 32, /* 16 bits in an address */ 8, /* 8 bits in a byte */ bfd_arch_m68hc12, 0, "m68hc12", "m68hc12", 4, /* section alignment power */ - true, + TRUE, bfd_default_compatible, bfd_default_scan, - 0, + &bfd_m68hc12s_arch, };