Back to index

cell-binutils  2.17cvs20070401
Functions | Variables
cpu-powerpc.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
*powerpc_compatible 
PARAMS ((const bfd_arch_info_type *, const bfd_arch_info_type *))
static const bfd_arch_info_typepowerpc_compatible (bfd_arch_info_type *a, const bfd_arch_info_type *b) const

Variables

const bfd_arch_info_type bfd_powerpc_archs []

Function Documentation

Definition at line 32 of file cpu-powerpc.c.

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

Here is the call graph for this function:


Variable Documentation

Definition at line 51 of file cpu-powerpc.c.