Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/bfd/cpu-w65.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* BFD library support routines for the WDC 65816 architecture.
    2    Copyright 1995, 1999, 2000 Free Software Foundation, Inc.
     2   Copyright 1995, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
    33   Hacked by Steve Chamberlain of Cygnus Support.
    44
     
    2323#include "libbfd.h"
    2424
    25 int bfd_default_scan_num_mach();
     25static bfd_boolean scan_mach
     26  PARAMS ((const struct bfd_arch_info *, const char *));
    2627
    27 static boolean
     28static bfd_boolean
    2829scan_mach (info, string)
    2930     const struct bfd_arch_info *info ATTRIBUTE_UNUSED;
    3031     const char *string;
    3132{
    32   if (strcmp(string,"w65") == 0) return true;
    33   if (strcmp(string,"w65816") == 0) return true;
    34   return false;
     33  if (strcmp(string,"w65") == 0)
     34    return TRUE;
     35  if (strcmp(string,"w65816") == 0)
     36    return TRUE;
     37  return FALSE;
    3538}
    3639
     
    4548  "w65",                        /* printable name */
    4649  1,
    47   true,                         /* the default machine */
     50  TRUE,                         /* the default machine */
    4851  bfd_default_compatible,
    4952  scan_mach,
Note: See TracChangeset for help on using the changeset viewer.