Back to index

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

Go to the source code of this file.

Functions

static const
bfd_arch_info_type
*rs6000_compatible 
PARAMS ((const bfd_arch_info_type *, const bfd_arch_info_type *))
static const bfd_arch_info_typers6000_compatible (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_rs6000_arch

Function Documentation

Definition at line 38 of file cpu-rs6000.c.

{
  BFD_ASSERT (a->arch == bfd_arch_rs6000);
  switch (b->arch)
    {
    default:
      return NULL;
    case bfd_arch_rs6000:
      return bfd_default_compatible (a, b);
    case bfd_arch_powerpc:
      if (a->mach == bfd_mach_rs6k)
       return b;
      return NULL;
    }
  /*NOTREACHED*/
}

Here is the call graph for this function:


Variable Documentation

Definition at line 57 of file cpu-rs6000.c.

Initial value:
  {
    32,       
    32,       
    8, 
    bfd_arch_rs6000,
    bfd_mach_rs6k,   
    "rs6000",
    "rs6000:6000",
    3,
    TRUE, 
    rs6000_compatible,
    bfd_default_scan,
    &arch_info_struct[0]
  }

Definition at line 103 of file cpu-rs6000.c.