/[gcl]/gcl/binutils/bfd/cpu-pj.c
ViewVC logotype

Diff of /gcl/binutils/bfd/cpu-pj.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by camm, Fri Aug 9 05:35:03 2002 UTC revision 1.2 by camm, Fri Sep 9 23:32:08 2005 UTC
# Line 1  Line 1 
1  /* BFD library support routines for the Pico Java architecture.  /* BFD library support routines for the Pico Java architecture.
2     Copyright 1999, 2000, 2001 Free Software Foundation, Inc.     Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
3     Hacked by Steve Chamberlain of Transmeta. sac@pobox.com     Hacked by Steve Chamberlain of Transmeta. sac@pobox.com
4    
5  This file is part of BFD, the Binary File Descriptor library.  This file is part of BFD, the Binary File Descriptor library.
# Line 22  Foundation, Inc., 59 Temple Place - Suit Line 22  Foundation, Inc., 59 Temple Place - Suit
22  #include "sysdep.h"  #include "sysdep.h"
23  #include "libbfd.h"  #include "libbfd.h"
24    
 static boolean scan_mach  
   PARAMS ((const struct bfd_arch_info *, const char *));  
   
 static boolean  
 scan_mach (info, string)  
      const struct bfd_arch_info *info;  
      const char *string;  
 {  
   if (strcasecmp (info->printable_name, string) == 0)  
     return true;  
   return false;  
 }  
   
 #if 0  
 /* This routine is provided two arch_infos and returns whether  
    they'd be compatible */  
   
 static const bfd_arch_info_type *  
 compatible (a,b)  
      const bfd_arch_info_type *a;  
      const bfd_arch_info_type *b;  
 {  
   if (a->arch != b->arch || a->mach != b->mach)  
    return NULL;  
   return a;  
 }  
 #endif  
   
 static const bfd_arch_info_type arch_info_struct[] =  
 {  
   {  
     32,                         /* 32 bits in a word */  
     32,                         /* 32 bits in an address */  
     8,                          /* 8 bits in a byte */  
     bfd_arch_pj,  
     0,  
     "pj",                       /* arch_name  */  
     "pj",                       /* printable name */  
     1,  
     false,                      /* not the default */  
     bfd_default_compatible,  
     scan_mach,  
     0,  
   },  
 };  
   
25  const bfd_arch_info_type bfd_pj_arch =  const bfd_arch_info_type bfd_pj_arch =
26  {  {
27    32,                           /* 32 bits in a word */    32,                           /* 32 bits in a word */
# Line 78  const bfd_arch_info_type bfd_pj_arch = Line 32  const bfd_arch_info_type bfd_pj_arch =
32    "pj",                         /* arch_name  */    "pj",                         /* arch_name  */
33    "pj",                         /* printable name */    "pj",                         /* printable name */
34    1,    1,
35    true,                         /* the default machine */    TRUE,                         /* the default machine */
36    bfd_default_compatible,    bfd_default_compatible,
37    scan_mach,    bfd_default_scan,
38    &arch_info_struct [0]    0
39  };  };

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26