| OLD | NEW |
| 1 /* BFD support for the SPARC architecture. | 1 /* BFD support for the SPARC architecture. |
| 2 Copyright 1992, 1995, 1996, 1998, 2000, 2002, 2005, 2007 | 2 Copyright 1992, 1995, 1996, 1998, 2000, 2002, 2005, 2007 |
| 3 Free Software Foundation, Inc. | 3 Free Software Foundation, Inc. |
| 4 | 4 |
| 5 This file is part of BFD, the Binary File Descriptor library. | 5 This file is part of BFD, the Binary File Descriptor library. |
| 6 | 6 |
| 7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
| 8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
| 9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
| 10 (at your option) any later version. | 10 (at your option) any later version. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 32, /* bits in an address */ | 30 32, /* bits in an address */ |
| 31 8, /* bits in a byte */ | 31 8, /* bits in a byte */ |
| 32 bfd_arch_sparc, | 32 bfd_arch_sparc, |
| 33 bfd_mach_sparc_sparclet, | 33 bfd_mach_sparc_sparclet, |
| 34 "sparc", | 34 "sparc", |
| 35 "sparc:sparclet", | 35 "sparc:sparclet", |
| 36 3, | 36 3, |
| 37 FALSE, | 37 FALSE, |
| 38 bfd_default_compatible, | 38 bfd_default_compatible, |
| 39 bfd_default_scan, | 39 bfd_default_scan, |
| 40 bfd_arch_default_fill, |
| 40 &arch_info_struct[1], | 41 &arch_info_struct[1], |
| 41 }, | 42 }, |
| 42 { | 43 { |
| 43 32, /* bits in a word */ | 44 32, /* bits in a word */ |
| 44 32, /* bits in an address */ | 45 32, /* bits in an address */ |
| 45 8, /* bits in a byte */ | 46 8, /* bits in a byte */ |
| 46 bfd_arch_sparc, | 47 bfd_arch_sparc, |
| 47 bfd_mach_sparc_sparclite, | 48 bfd_mach_sparc_sparclite, |
| 48 "sparc", | 49 "sparc", |
| 49 "sparc:sparclite", | 50 "sparc:sparclite", |
| 50 3, | 51 3, |
| 51 FALSE, | 52 FALSE, |
| 52 bfd_default_compatible, | 53 bfd_default_compatible, |
| 53 bfd_default_scan, | 54 bfd_default_scan, |
| 55 bfd_arch_default_fill, |
| 54 &arch_info_struct[2], | 56 &arch_info_struct[2], |
| 55 }, | 57 }, |
| 56 { | 58 { |
| 57 32, /* bits in a word */ | 59 32, /* bits in a word */ |
| 58 32, /* bits in an address */ | 60 32, /* bits in an address */ |
| 59 8, /* bits in a byte */ | 61 8, /* bits in a byte */ |
| 60 bfd_arch_sparc, | 62 bfd_arch_sparc, |
| 61 bfd_mach_sparc_v8plus, | 63 bfd_mach_sparc_v8plus, |
| 62 "sparc", | 64 "sparc", |
| 63 "sparc:v8plus", | 65 "sparc:v8plus", |
| 64 3, | 66 3, |
| 65 FALSE, | 67 FALSE, |
| 66 bfd_default_compatible, | 68 bfd_default_compatible, |
| 67 bfd_default_scan, | 69 bfd_default_scan, |
| 70 bfd_arch_default_fill, |
| 68 &arch_info_struct[3], | 71 &arch_info_struct[3], |
| 69 }, | 72 }, |
| 70 { | 73 { |
| 71 32, /* bits in a word */ | 74 32, /* bits in a word */ |
| 72 32, /* bits in an address */ | 75 32, /* bits in an address */ |
| 73 8, /* bits in a byte */ | 76 8, /* bits in a byte */ |
| 74 bfd_arch_sparc, | 77 bfd_arch_sparc, |
| 75 bfd_mach_sparc_v8plusa, | 78 bfd_mach_sparc_v8plusa, |
| 76 "sparc", | 79 "sparc", |
| 77 "sparc:v8plusa", | 80 "sparc:v8plusa", |
| 78 3, | 81 3, |
| 79 FALSE, | 82 FALSE, |
| 80 bfd_default_compatible, | 83 bfd_default_compatible, |
| 81 bfd_default_scan, | 84 bfd_default_scan, |
| 85 bfd_arch_default_fill, |
| 82 &arch_info_struct[4], | 86 &arch_info_struct[4], |
| 83 }, | 87 }, |
| 84 { | 88 { |
| 85 32, /* bits in a word */ | 89 32, /* bits in a word */ |
| 86 32, /* bits in an address */ | 90 32, /* bits in an address */ |
| 87 8, /* bits in a byte */ | 91 8, /* bits in a byte */ |
| 88 bfd_arch_sparc, | 92 bfd_arch_sparc, |
| 89 bfd_mach_sparc_sparclite_le, | 93 bfd_mach_sparc_sparclite_le, |
| 90 "sparc", | 94 "sparc", |
| 91 "sparc:sparclite_le", | 95 "sparc:sparclite_le", |
| 92 3, | 96 3, |
| 93 FALSE, | 97 FALSE, |
| 94 bfd_default_compatible, | 98 bfd_default_compatible, |
| 95 bfd_default_scan, | 99 bfd_default_scan, |
| 100 bfd_arch_default_fill, |
| 96 &arch_info_struct[5], | 101 &arch_info_struct[5], |
| 97 }, | 102 }, |
| 98 { | 103 { |
| 99 64, /* bits in a word */ | 104 64, /* bits in a word */ |
| 100 64, /* bits in an address */ | 105 64, /* bits in an address */ |
| 101 8, /* bits in a byte */ | 106 8, /* bits in a byte */ |
| 102 bfd_arch_sparc, | 107 bfd_arch_sparc, |
| 103 bfd_mach_sparc_v9, | 108 bfd_mach_sparc_v9, |
| 104 "sparc", | 109 "sparc", |
| 105 "sparc:v9", | 110 "sparc:v9", |
| 106 3, | 111 3, |
| 107 FALSE, | 112 FALSE, |
| 108 bfd_default_compatible, | 113 bfd_default_compatible, |
| 109 bfd_default_scan, | 114 bfd_default_scan, |
| 115 bfd_arch_default_fill, |
| 110 &arch_info_struct[6], | 116 &arch_info_struct[6], |
| 111 }, | 117 }, |
| 112 { | 118 { |
| 113 64, /* bits in a word */ | 119 64, /* bits in a word */ |
| 114 64, /* bits in an address */ | 120 64, /* bits in an address */ |
| 115 8, /* bits in a byte */ | 121 8, /* bits in a byte */ |
| 116 bfd_arch_sparc, | 122 bfd_arch_sparc, |
| 117 bfd_mach_sparc_v9a, | 123 bfd_mach_sparc_v9a, |
| 118 "sparc", | 124 "sparc", |
| 119 "sparc:v9a", | 125 "sparc:v9a", |
| 120 3, | 126 3, |
| 121 FALSE, | 127 FALSE, |
| 122 bfd_default_compatible, | 128 bfd_default_compatible, |
| 123 bfd_default_scan, | 129 bfd_default_scan, |
| 130 bfd_arch_default_fill, |
| 124 &arch_info_struct[7], | 131 &arch_info_struct[7], |
| 125 }, | 132 }, |
| 126 { | 133 { |
| 127 32, /* bits in a word */ | 134 32, /* bits in a word */ |
| 128 32, /* bits in an address */ | 135 32, /* bits in an address */ |
| 129 8, /* bits in a byte */ | 136 8, /* bits in a byte */ |
| 130 bfd_arch_sparc, | 137 bfd_arch_sparc, |
| 131 bfd_mach_sparc_v8plusb, | 138 bfd_mach_sparc_v8plusb, |
| 132 "sparc", | 139 "sparc", |
| 133 "sparc:v8plusb", | 140 "sparc:v8plusb", |
| 134 3, | 141 3, |
| 135 FALSE, | 142 FALSE, |
| 136 bfd_default_compatible, | 143 bfd_default_compatible, |
| 137 bfd_default_scan, | 144 bfd_default_scan, |
| 145 bfd_arch_default_fill, |
| 138 &arch_info_struct[8], | 146 &arch_info_struct[8], |
| 139 }, | 147 }, |
| 140 { | 148 { |
| 141 64, /* bits in a word */ | 149 64, /* bits in a word */ |
| 142 64, /* bits in an address */ | 150 64, /* bits in an address */ |
| 143 8, /* bits in a byte */ | 151 8, /* bits in a byte */ |
| 144 bfd_arch_sparc, | 152 bfd_arch_sparc, |
| 145 bfd_mach_sparc_v9b, | 153 bfd_mach_sparc_v9b, |
| 146 "sparc", | 154 "sparc", |
| 147 "sparc:v9b", | 155 "sparc:v9b", |
| 148 3, | 156 3, |
| 149 FALSE, | 157 FALSE, |
| 150 bfd_default_compatible, | 158 bfd_default_compatible, |
| 151 bfd_default_scan, | 159 bfd_default_scan, |
| 160 bfd_arch_default_fill, |
| 152 0, | 161 0, |
| 153 } | 162 } |
| 154 }; | 163 }; |
| 155 | 164 |
| 156 const bfd_arch_info_type bfd_sparc_arch = | 165 const bfd_arch_info_type bfd_sparc_arch = |
| 157 { | 166 { |
| 158 32, /* bits in a word */ | 167 32, /* bits in a word */ |
| 159 32, /* bits in an address */ | 168 32, /* bits in an address */ |
| 160 8, /* bits in a byte */ | 169 8, /* bits in a byte */ |
| 161 bfd_arch_sparc, | 170 bfd_arch_sparc, |
| 162 bfd_mach_sparc, | 171 bfd_mach_sparc, |
| 163 "sparc", | 172 "sparc", |
| 164 "sparc", | 173 "sparc", |
| 165 3, | 174 3, |
| 166 TRUE, /* the default */ | 175 TRUE, /* the default */ |
| 167 bfd_default_compatible, | 176 bfd_default_compatible, |
| 168 bfd_default_scan, | 177 bfd_default_scan, |
| 178 bfd_arch_default_fill, |
| 169 &arch_info_struct[0], | 179 &arch_info_struct[0], |
| 170 }; | 180 }; |
| OLD | NEW |