Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/bfd/cpu-m68hc12.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* BFD support for the Motorola 68HC12 processor
    2    Copyright 1999, 2000 Free Software Foundation, Inc.
     2   Copyright 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
    33
    44This file is part of BFD, the Binary File Descriptor library.
     
    2222#include "libbfd.h"
    2323
     24static bfd_boolean scan_mach
     25  PARAMS ((const struct bfd_arch_info *, const char *));
     26
     27static bfd_boolean
     28scan_mach (info, string)
     29     const struct bfd_arch_info *info;
     30     const char *string;
     31{
     32  if (strcasecmp (info->printable_name, string) == 0)
     33    return TRUE;
     34  return FALSE;
     35}
     36
     37const bfd_arch_info_type bfd_m68hc12s_arch =
     38{
     39  16,   /* 16 bits in a word */
     40  16,   /* 16 bits in an address */
     41  8,    /* 8 bits in a byte */
     42  bfd_arch_m68hc12,
     43  bfd_mach_m6812s,
     44  "m68hcs12",
     45  "m68hcs12",
     46  4, /* section alignment power */
     47  FALSE,
     48  bfd_default_compatible,
     49  scan_mach,
     50  0,
     51};
     52
    2453const bfd_arch_info_type bfd_m68hc12_arch =
    2554{
    26     16, /* 16 bits in a word */
    27     16, /* 16 bits in an address */
    28     8,  /* 8 bits in a byte */
    29     bfd_arch_m68hc12,
    30     0,
    31     "m68hc12",
    32     "m68hc12",
    33     4, /* section alignment power */
    34     true,
    35     bfd_default_compatible,
    36     bfd_default_scan,
    37     0,
     55  16,   /* 16 bits in a word */
     56  16,   /* 16 bits in an address */
     57  8,    /* 8 bits in a byte */
     58  bfd_arch_m68hc12,
     59  0,
     60  "m68hc12",
     61  "m68hc12",
     62  4, /* section alignment power */
     63  TRUE,
     64  bfd_default_compatible,
     65  scan_mach,
     66  &bfd_m68hc12s_arch,
    3867};
Note: See TracChangeset for help on using the changeset viewer.