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

Diff of /gcl/binutils/bfd/cpu-w65.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 WDC 65816 architecture.  /* BFD library support routines for the WDC 65816 architecture.
2     Copyright 1995, 1999, 2000, 2001 Free Software Foundation, Inc.     Copyright 1995, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
3     Hacked by Steve Chamberlain of Cygnus Support.     Hacked by Steve Chamberlain of Cygnus Support.
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    
25  static boolean scan_mach  static bfd_boolean scan_mach
26    PARAMS ((const struct bfd_arch_info *, const char *));    PARAMS ((const struct bfd_arch_info *, const char *));
27    
28  static boolean  static bfd_boolean
29  scan_mach (info, string)  scan_mach (info, string)
30       const struct bfd_arch_info *info ATTRIBUTE_UNUSED;       const struct bfd_arch_info *info ATTRIBUTE_UNUSED;
31       const char *string;       const char *string;
32  {  {
33    if (strcmp(string,"w65") == 0) return true;    if (strcmp(string,"w65") == 0)
34    if (strcmp(string,"w65816") == 0) return true;      return TRUE;
35    return false;    if (strcmp(string,"w65816") == 0)
36        return TRUE;
37      return FALSE;
38  }  }
39    
40  const bfd_arch_info_type bfd_w65_arch =  const bfd_arch_info_type bfd_w65_arch =
# Line 45  const bfd_arch_info_type bfd_w65_arch = Line 47  const bfd_arch_info_type bfd_w65_arch =
47    "w65",                        /* arch_name  */    "w65",                        /* arch_name  */
48    "w65",                        /* printable name */    "w65",                        /* printable name */
49    1,    1,
50    true,                         /* the default machine */    TRUE,                         /* the default machine */
51    bfd_default_compatible,    bfd_default_compatible,
52    scan_mach,    scan_mach,
53    0,    0,

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