Back to index

cell-binutils  2.17cvs20070401
Defines | Functions | Variables
cpu-msp430.c File Reference
#include "bfd.h"
#include "sysdep.h"
#include "libbfd.h"

Go to the source code of this file.

Defines

#define N(addr_bits, machine, print, default, next)

Functions

static const
bfd_arch_info_type *compatible 
PARAMS ((const bfd_arch_info_type *, const bfd_arch_info_type *))
static const bfd_arch_info_typecompatible (bfd_arch_info_type *a, const bfd_arch_info_type *b) const

Variables

static const bfd_arch_info_type arch_info_struct []
const bfd_arch_info_type bfd_msp430_arch

Define Documentation

#define N (   addr_bits,
  machine,
  print,
  default,
  next 
)
Value:
{                                                       \
  16,                       /* 16 bits in a word.  */   \
  addr_bits,                /* Bits in an address.  */  \
  8,                        /* 8 bits in a byte.  */    \
  bfd_arch_msp430,                                      \
  machine,                  /* Machine number.  */             \
  "msp430",                 /* Architecture name.   */  \
  print,                    /* Printable name.  */             \
  1,                        /* Section align power.  */ \
  default,                  /* The default machine.  */ \
  compatible,                                           \
  bfd_default_scan,                                     \
  next                                                  \
}

Definition at line 28 of file cpu-msp430.c.


Function Documentation

Definition at line 100 of file cpu-msp430.c.

{
  /* If a & b are for different architectures we can do nothing.  */
  if (a->arch != b->arch)
    return NULL;

  if (a->mach <= b->mach)
    return b;

  return a;
}

Variable Documentation

Definition at line 44 of file cpu-msp430.c.

Initial value:
  N (16, bfd_mach_msp14, "msp:14", TRUE, & arch_info_struct[0])

Definition at line 92 of file cpu-msp430.c.