X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fcpu-m68hc12.c;h=43520a1028f64d8fa8669d301f82a96985e4d273;hb=0bf60745767d2465c81ee57ae7705a62d6d8fafe;hp=830ddb51ae5b63d52aa797240295bf88964dee58;hpb=27e232885db363fb545fd2f450e72d929e59b8f6;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/cpu-m68hc12.c b/bfd/cpu-m68hc12.c index 830ddb51ae..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_m68hc12_arch = -{ +const bfd_arch_info_type bfd_m68hc12s_arch = +{ 16, /* 16 bits in a word */ - 16, /* 16 bits in an address */ - 8, /* 8 bits in a byte */ + 32, /* 16 bits in an address */ + 8, /* 8 bits in a byte */ bfd_arch_m68hc12, - 0, + bfd_mach_m6812s, + "m68hc12:HCS12", "m68hc12", - "m68hc12", - 4, /* section alignment power */ - true, - bfd_default_compatible, - bfd_default_scan, - 0, + 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 */ + 32, /* 16 bits in an address */ + 8, /* 8 bits in a byte */ + bfd_arch_m68hc12, + 0, + "m68hc12", + "m68hc12", + 4, /* section alignment power */ + TRUE, + bfd_default_compatible, + bfd_default_scan, + &bfd_m68hc12s_arch, };