Changeset 609 for branches/GNU/src/binutils/bfd/cpu-pj.c
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/bfd/cpu-pj.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 1 1 /* BFD library support routines for the Pico Java architecture. 2 Copyright 1999, 2000 Free Software Foundation, Inc.2 Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 3 3 Hacked by Steve Chamberlain of Transmeta. sac@pobox.com 4 4 … … 23 23 #include "libbfd.h" 24 24 25 static boolean26 scan_mach (info, string)27 const struct bfd_arch_info *info;28 const char *string;29 {30 if (strcasecmp (info->printable_name, string) == 0)31 return true;32 return false;33 }34 35 #if 036 /* This routine is provided two arch_infos and returns whether37 they'd be compatible */38 39 static const bfd_arch_info_type *40 compatible (a,b)41 const bfd_arch_info_type *a;42 const bfd_arch_info_type *b;43 {44 if (a->arch != b->arch || a->mach != b->mach)45 return NULL;46 return a;47 }48 #endif49 50 static const bfd_arch_info_type arch_info_struct[] =51 {52 {53 32, /* 32 bits in a word */54 32, /* 32 bits in an address */55 8, /* 8 bits in a byte */56 bfd_arch_pj,57 0,58 "pj", /* arch_name */59 "pj", /* printable name */60 1,61 false, /* not the default */62 bfd_default_compatible,63 scan_mach,64 0,65 },66 };67 68 25 const bfd_arch_info_type bfd_pj_arch = 69 26 { … … 76 33 "pj", /* printable name */ 77 34 1, 78 true, /* the default machine */35 TRUE, /* the default machine */ 79 36 bfd_default_compatible, 80 scan_mach,81 &arch_info_struct [0]37 bfd_default_scan, 38 0 82 39 }; -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.