Changeset 609 for branches/GNU/src/binutils/bfd/cpu-h8500.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-h8500.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 1 1 /* BFD library support routines for the H8/500 architecture. 2 Copyright 1993, 1995, 2000 Free Software Foundation, Inc.2 Copyright 1993, 1995, 2000, 2001, 2002 Free Software Foundation, Inc. 3 3 Hacked by Steve Chamberlain of Cygnus Support. 4 4 … … 23 23 #include "libbfd.h" 24 24 25 static bfd_boolean scan_mach 26 PARAMS ((const struct bfd_arch_info *, const char *)); 27 25 28 #if 0 26 27 29 /* 28 30 Relocations for the Z8K … … 119 121 120 122 static reloc_howto_type howto_16 121 = NEWHOWTO (howto16_callback,"abs16",1,false,false);123 = NEWHOWTO (howto16_callback, "abs16", 1, FALSE, FALSE); 122 124 static reloc_howto_type howto_8 123 = NEWHOWTO (howto8_callback,"abs8",0,false,false);125 = NEWHOWTO (howto8_callback, "abs8", 0, FALSE, FALSE); 124 126 125 127 static reloc_howto_type howto_8_FFnn 126 = NEWHOWTO (howto8_FFnn_callback,"ff00+abs8",0,false,false);128 = NEWHOWTO (howto8_FFnn_callback, "ff00+abs8", 0, FALSE, FALSE); 127 129 128 130 static reloc_howto_type howto_8_pcrel 129 = NEWHOWTO (howto8_pcrel_callback,"pcrel8",0,false,true);131 = NEWHOWTO (howto8_pcrel_callback, "pcrel8", 0, FALSE, TRUE); 130 132 131 133 static reloc_howto_type * … … 148 150 #endif 149 151 150 int bfd_default_scan_num_mach(); 151 152 static boolean 152 static bfd_boolean 153 153 scan_mach (info, string) 154 154 const struct bfd_arch_info *info ATTRIBUTE_UNUSED; 155 155 const char *string; 156 156 { 157 if (strcmp(string,"h8/500") == 0) return true; 158 if (strcmp(string,"H8/500") == 0) return true; 159 if (strcmp(string,"h8500") == 0) return true; 160 if (strcmp(string,"H8500") == 0) return true; 161 return false; 157 if (strcmp (string,"h8/500") == 0) 158 return TRUE; 159 if (strcmp (string,"H8/500") == 0) 160 return TRUE; 161 if (strcmp (string,"h8500") == 0) 162 return TRUE; 163 if (strcmp (string,"H8500") == 0) 164 return TRUE; 165 return FALSE; 162 166 } 163 167 … … 187 191 "h8500", /* printable name */ 188 192 1, 189 true, /* the default machine */193 TRUE, /* the default machine */ 190 194 bfd_default_compatible, 191 195 scan_mach, -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.