| OLD | NEW |
| 1 /* BFD PowerPC CPU definition | 1 /* BFD PowerPC CPU definition |
| 2 Copyright 1994, 1995, 1996, 2000, 2001, 2002, 2003, 2005, 2007, 2008, 2010 | 2 Copyright 1994, 1995, 1996, 2000, 2001, 2002, 2003, 2005, 2007, 2008, |
| 3 Free Software Foundation, Inc. | 3 2010, 2012 Free Software Foundation, Inc. |
| 4 Contributed by Ian Lance Taylor, Cygnus Support. | 4 Contributed by Ian Lance Taylor, Cygnus Support. |
| 5 | 5 |
| 6 This file is part of BFD, the Binary File Descriptor library. | 6 This file is part of BFD, the Binary File Descriptor library. |
| 7 | 7 |
| 8 This program is free software; you can redistribute it and/or modify | 8 This program is free software; you can redistribute it and/or modify |
| 9 it under the terms of the GNU General Public License as published by | 9 it under the terms of the GNU General Public License as published by |
| 10 the Free Software Foundation; either version 3 of the License, or | 10 the Free Software Foundation; either version 3 of the License, or |
| 11 (at your option) any later version. | 11 (at your option) any later version. |
| 12 | 12 |
| 13 This program is distributed in the hope that it will be useful, | 13 This program is distributed in the hope that it will be useful, |
| 14 but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 GNU General Public License for more details. | 16 GNU General Public License for more details. |
| 17 | 17 |
| 18 You should have received a copy of the GNU General Public License | 18 You should have received a copy of the GNU General Public License |
| 19 along with this program; if not, write to the Free Software | 19 along with this program; if not, write to the Free Software |
| 20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, | 20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, |
| 21 MA 02110-1301, USA. */ | 21 MA 02110-1301, USA. */ |
| 22 | 22 |
| 23 #include "sysdep.h" | 23 #include "sysdep.h" |
| 24 #include "bfd.h" | 24 #include "bfd.h" |
| 25 #include "libbfd.h" | 25 #include "libbfd.h" |
| 26 | 26 |
| 27 /* The common PowerPC architecture is compatible with the RS/6000. */ | 27 /* The common PowerPC architecture is compatible with the RS/6000. */ |
| 28 | 28 |
| 29 static const bfd_arch_info_type *powerpc_compatible | |
| 30 PARAMS ((const bfd_arch_info_type *, const bfd_arch_info_type *)); | |
| 31 | |
| 32 static const bfd_arch_info_type * | 29 static const bfd_arch_info_type * |
| 33 powerpc_compatible (a,b) | 30 powerpc_compatible (const bfd_arch_info_type *a, |
| 34 const bfd_arch_info_type *a; | 31 » » const bfd_arch_info_type *b) |
| 35 const bfd_arch_info_type *b; | |
| 36 { | 32 { |
| 37 BFD_ASSERT (a->arch == bfd_arch_powerpc); | 33 BFD_ASSERT (a->arch == bfd_arch_powerpc); |
| 38 switch (b->arch) | 34 switch (b->arch) |
| 39 { | 35 { |
| 40 default: | 36 default: |
| 41 return NULL; | 37 return NULL; |
| 42 case bfd_arch_powerpc: | 38 case bfd_arch_powerpc: |
| 43 return bfd_default_compatible (a, b); | 39 return bfd_default_compatible (a, b); |
| 44 case bfd_arch_rs6000: | 40 case bfd_arch_rs6000: |
| 45 if (b->mach == bfd_mach_rs6k) | 41 if (b->mach == bfd_mach_rs6k) |
| (...skipping 12 matching lines...) Expand all Loading... |
| 58 64, /* 64 bits in an address */ | 54 64, /* 64 bits in an address */ |
| 59 8, /* 8 bits in a byte */ | 55 8, /* 8 bits in a byte */ |
| 60 bfd_arch_powerpc, | 56 bfd_arch_powerpc, |
| 61 bfd_mach_ppc64, | 57 bfd_mach_ppc64, |
| 62 "powerpc", | 58 "powerpc", |
| 63 "powerpc:common64", | 59 "powerpc:common64", |
| 64 3, | 60 3, |
| 65 TRUE, /* default for 64 bit target */ | 61 TRUE, /* default for 64 bit target */ |
| 66 powerpc_compatible, | 62 powerpc_compatible, |
| 67 bfd_default_scan, | 63 bfd_default_scan, |
| 64 bfd_arch_default_fill, |
| 68 &bfd_powerpc_archs[1] | 65 &bfd_powerpc_archs[1] |
| 69 }, | 66 }, |
| 70 /* elf32-ppc:ppc_elf_object_p relies on the default 32 bit arch | 67 /* elf32-ppc:ppc_elf_object_p relies on the default 32 bit arch |
| 71 being immediately after the 64 bit default. */ | 68 being immediately after the 64 bit default. */ |
| 72 { | 69 { |
| 73 32, /* 32 bits in a word */ | 70 32, /* 32 bits in a word */ |
| 74 32, /* 32 bits in an address */ | 71 32, /* 32 bits in an address */ |
| 75 8, /* 8 bits in a byte */ | 72 8, /* 8 bits in a byte */ |
| 76 bfd_arch_powerpc, | 73 bfd_arch_powerpc, |
| 77 bfd_mach_ppc, /* for the POWER/PowerPC common architecture */ | 74 bfd_mach_ppc, /* for the POWER/PowerPC common architecture */ |
| 78 "powerpc", | 75 "powerpc", |
| 79 "powerpc:common", | 76 "powerpc:common", |
| 80 3, | 77 3, |
| 81 FALSE, | 78 FALSE, |
| 82 powerpc_compatible, | 79 powerpc_compatible, |
| 83 bfd_default_scan, | 80 bfd_default_scan, |
| 81 bfd_arch_default_fill, |
| 84 &bfd_powerpc_archs[2], | 82 &bfd_powerpc_archs[2], |
| 85 }, | 83 }, |
| 86 #else | 84 #else |
| 87 /* Default arch must come first. */ | 85 /* Default arch must come first. */ |
| 88 { | 86 { |
| 89 32, /* 32 bits in a word */ | 87 32, /* 32 bits in a word */ |
| 90 32, /* 32 bits in an address */ | 88 32, /* 32 bits in an address */ |
| 91 8, /* 8 bits in a byte */ | 89 8, /* 8 bits in a byte */ |
| 92 bfd_arch_powerpc, | 90 bfd_arch_powerpc, |
| 93 bfd_mach_ppc, /* for the POWER/PowerPC common architecture */ | 91 bfd_mach_ppc, /* for the POWER/PowerPC common architecture */ |
| 94 "powerpc", | 92 "powerpc", |
| 95 "powerpc:common", | 93 "powerpc:common", |
| 96 3, | 94 3, |
| 97 TRUE, /* default for 32 bit target */ | 95 TRUE, /* default for 32 bit target */ |
| 98 powerpc_compatible, | 96 powerpc_compatible, |
| 99 bfd_default_scan, | 97 bfd_default_scan, |
| 98 bfd_arch_default_fill, |
| 100 &bfd_powerpc_archs[1], | 99 &bfd_powerpc_archs[1], |
| 101 }, | 100 }, |
| 102 /* elf64-ppc:ppc64_elf_object_p relies on the default 64 bit arch | 101 /* elf64-ppc:ppc64_elf_object_p relies on the default 64 bit arch |
| 103 being immediately after the 32 bit default. */ | 102 being immediately after the 32 bit default. */ |
| 104 { | 103 { |
| 105 64, /* 64 bits in a word */ | 104 64, /* 64 bits in a word */ |
| 106 64, /* 64 bits in an address */ | 105 64, /* 64 bits in an address */ |
| 107 8, /* 8 bits in a byte */ | 106 8, /* 8 bits in a byte */ |
| 108 bfd_arch_powerpc, | 107 bfd_arch_powerpc, |
| 109 bfd_mach_ppc64, | 108 bfd_mach_ppc64, |
| 110 "powerpc", | 109 "powerpc", |
| 111 "powerpc:common64", | 110 "powerpc:common64", |
| 112 3, | 111 3, |
| 113 FALSE, | 112 FALSE, |
| 114 powerpc_compatible, | 113 powerpc_compatible, |
| 115 bfd_default_scan, | 114 bfd_default_scan, |
| 115 bfd_arch_default_fill, |
| 116 &bfd_powerpc_archs[2] | 116 &bfd_powerpc_archs[2] |
| 117 }, | 117 }, |
| 118 #endif | 118 #endif |
| 119 { | 119 { |
| 120 32, /* 32 bits in a word */ | 120 32, /* 32 bits in a word */ |
| 121 32, /* 32 bits in an address */ | 121 32, /* 32 bits in an address */ |
| 122 8, /* 8 bits in a byte */ | 122 8, /* 8 bits in a byte */ |
| 123 bfd_arch_powerpc, | 123 bfd_arch_powerpc, |
| 124 bfd_mach_ppc_603, | 124 bfd_mach_ppc_603, |
| 125 "powerpc", | 125 "powerpc", |
| 126 "powerpc:603", | 126 "powerpc:603", |
| 127 3, | 127 3, |
| 128 FALSE, /* not the default */ | 128 FALSE, /* not the default */ |
| 129 powerpc_compatible, | 129 powerpc_compatible, |
| 130 bfd_default_scan, | 130 bfd_default_scan, |
| 131 bfd_arch_default_fill, |
| 131 &bfd_powerpc_archs[3] | 132 &bfd_powerpc_archs[3] |
| 132 }, | 133 }, |
| 133 { | 134 { |
| 134 32, /* 32 bits in a word */ | 135 32, /* 32 bits in a word */ |
| 135 32, /* 32 bits in an address */ | 136 32, /* 32 bits in an address */ |
| 136 8, /* 8 bits in a byte */ | 137 8, /* 8 bits in a byte */ |
| 137 bfd_arch_powerpc, | 138 bfd_arch_powerpc, |
| 138 bfd_mach_ppc_ec603e, | 139 bfd_mach_ppc_ec603e, |
| 139 "powerpc", | 140 "powerpc", |
| 140 "powerpc:EC603e", | 141 "powerpc:EC603e", |
| 141 3, | 142 3, |
| 142 FALSE, /* not the default */ | 143 FALSE, /* not the default */ |
| 143 powerpc_compatible, | 144 powerpc_compatible, |
| 144 bfd_default_scan, | 145 bfd_default_scan, |
| 146 bfd_arch_default_fill, |
| 145 &bfd_powerpc_archs[4] | 147 &bfd_powerpc_archs[4] |
| 146 }, | 148 }, |
| 147 { | 149 { |
| 148 32, /* 32 bits in a word */ | 150 32, /* 32 bits in a word */ |
| 149 32, /* 32 bits in an address */ | 151 32, /* 32 bits in an address */ |
| 150 8, /* 8 bits in a byte */ | 152 8, /* 8 bits in a byte */ |
| 151 bfd_arch_powerpc, | 153 bfd_arch_powerpc, |
| 152 bfd_mach_ppc_604, | 154 bfd_mach_ppc_604, |
| 153 "powerpc", | 155 "powerpc", |
| 154 "powerpc:604", | 156 "powerpc:604", |
| 155 3, | 157 3, |
| 156 FALSE, /* not the default */ | 158 FALSE, /* not the default */ |
| 157 powerpc_compatible, | 159 powerpc_compatible, |
| 158 bfd_default_scan, | 160 bfd_default_scan, |
| 161 bfd_arch_default_fill, |
| 159 &bfd_powerpc_archs[5] | 162 &bfd_powerpc_archs[5] |
| 160 }, | 163 }, |
| 161 { | 164 { |
| 162 32, /* 32 bits in a word */ | 165 32, /* 32 bits in a word */ |
| 163 32, /* 32 bits in an address */ | 166 32, /* 32 bits in an address */ |
| 164 8, /* 8 bits in a byte */ | 167 8, /* 8 bits in a byte */ |
| 165 bfd_arch_powerpc, | 168 bfd_arch_powerpc, |
| 166 bfd_mach_ppc_403, | 169 bfd_mach_ppc_403, |
| 167 "powerpc", | 170 "powerpc", |
| 168 "powerpc:403", | 171 "powerpc:403", |
| 169 3, | 172 3, |
| 170 FALSE, /* not the default */ | 173 FALSE, /* not the default */ |
| 171 powerpc_compatible, | 174 powerpc_compatible, |
| 172 bfd_default_scan, | 175 bfd_default_scan, |
| 176 bfd_arch_default_fill, |
| 173 &bfd_powerpc_archs[6] | 177 &bfd_powerpc_archs[6] |
| 174 }, | 178 }, |
| 175 { | 179 { |
| 176 32, /* 32 bits in a word */ | 180 32, /* 32 bits in a word */ |
| 177 32, /* 32 bits in an address */ | 181 32, /* 32 bits in an address */ |
| 178 8, /* 8 bits in a byte */ | 182 8, /* 8 bits in a byte */ |
| 179 bfd_arch_powerpc, | 183 bfd_arch_powerpc, |
| 180 bfd_mach_ppc_601, | 184 bfd_mach_ppc_601, |
| 181 "powerpc", | 185 "powerpc", |
| 182 "powerpc:601", | 186 "powerpc:601", |
| 183 3, | 187 3, |
| 184 FALSE, /* not the default */ | 188 FALSE, /* not the default */ |
| 185 powerpc_compatible, | 189 powerpc_compatible, |
| 186 bfd_default_scan, | 190 bfd_default_scan, |
| 191 bfd_arch_default_fill, |
| 187 &bfd_powerpc_archs[7] | 192 &bfd_powerpc_archs[7] |
| 188 }, | 193 }, |
| 189 { | 194 { |
| 190 64, /* 64 bits in a word */ | 195 64, /* 64 bits in a word */ |
| 191 64, /* 64 bits in an address */ | 196 64, /* 64 bits in an address */ |
| 192 8, /* 8 bits in a byte */ | 197 8, /* 8 bits in a byte */ |
| 193 bfd_arch_powerpc, | 198 bfd_arch_powerpc, |
| 194 bfd_mach_ppc_620, | 199 bfd_mach_ppc_620, |
| 195 "powerpc", | 200 "powerpc", |
| 196 "powerpc:620", | 201 "powerpc:620", |
| 197 3, | 202 3, |
| 198 FALSE, /* not the default */ | 203 FALSE, /* not the default */ |
| 199 powerpc_compatible, | 204 powerpc_compatible, |
| 200 bfd_default_scan, | 205 bfd_default_scan, |
| 206 bfd_arch_default_fill, |
| 201 &bfd_powerpc_archs[8] | 207 &bfd_powerpc_archs[8] |
| 202 }, | 208 }, |
| 203 { | 209 { |
| 204 64, /* 64 bits in a word */ | 210 64, /* 64 bits in a word */ |
| 205 64, /* 64 bits in an address */ | 211 64, /* 64 bits in an address */ |
| 206 8, /* 8 bits in a byte */ | 212 8, /* 8 bits in a byte */ |
| 207 bfd_arch_powerpc, | 213 bfd_arch_powerpc, |
| 208 bfd_mach_ppc_630, | 214 bfd_mach_ppc_630, |
| 209 "powerpc", | 215 "powerpc", |
| 210 "powerpc:630", | 216 "powerpc:630", |
| 211 3, | 217 3, |
| 212 FALSE, /* not the default */ | 218 FALSE, /* not the default */ |
| 213 powerpc_compatible, | 219 powerpc_compatible, |
| 214 bfd_default_scan, | 220 bfd_default_scan, |
| 221 bfd_arch_default_fill, |
| 215 &bfd_powerpc_archs[9] | 222 &bfd_powerpc_archs[9] |
| 216 }, | 223 }, |
| 217 { | 224 { |
| 218 64, /* 64 bits in a word */ | 225 64, /* 64 bits in a word */ |
| 219 64, /* 64 bits in an address */ | 226 64, /* 64 bits in an address */ |
| 220 8, /* 8 bits in a byte */ | 227 8, /* 8 bits in a byte */ |
| 221 bfd_arch_powerpc, | 228 bfd_arch_powerpc, |
| 222 bfd_mach_ppc_a35, | 229 bfd_mach_ppc_a35, |
| 223 "powerpc", | 230 "powerpc", |
| 224 "powerpc:a35", | 231 "powerpc:a35", |
| 225 3, | 232 3, |
| 226 FALSE, /* not the default */ | 233 FALSE, /* not the default */ |
| 227 powerpc_compatible, | 234 powerpc_compatible, |
| 228 bfd_default_scan, | 235 bfd_default_scan, |
| 236 bfd_arch_default_fill, |
| 229 &bfd_powerpc_archs[10] | 237 &bfd_powerpc_archs[10] |
| 230 }, | 238 }, |
| 231 { | 239 { |
| 232 64, /* 64 bits in a word */ | 240 64, /* 64 bits in a word */ |
| 233 64, /* 64 bits in an address */ | 241 64, /* 64 bits in an address */ |
| 234 8, /* 8 bits in a byte */ | 242 8, /* 8 bits in a byte */ |
| 235 bfd_arch_powerpc, | 243 bfd_arch_powerpc, |
| 236 bfd_mach_ppc_rs64ii, | 244 bfd_mach_ppc_rs64ii, |
| 237 "powerpc", | 245 "powerpc", |
| 238 "powerpc:rs64ii", | 246 "powerpc:rs64ii", |
| 239 3, | 247 3, |
| 240 FALSE, /* not the default */ | 248 FALSE, /* not the default */ |
| 241 powerpc_compatible, | 249 powerpc_compatible, |
| 242 bfd_default_scan, | 250 bfd_default_scan, |
| 251 bfd_arch_default_fill, |
| 243 &bfd_powerpc_archs[11] | 252 &bfd_powerpc_archs[11] |
| 244 }, | 253 }, |
| 245 { | 254 { |
| 246 64, /* 64 bits in a word */ | 255 64, /* 64 bits in a word */ |
| 247 64, /* 64 bits in an address */ | 256 64, /* 64 bits in an address */ |
| 248 8, /* 8 bits in a byte */ | 257 8, /* 8 bits in a byte */ |
| 249 bfd_arch_powerpc, | 258 bfd_arch_powerpc, |
| 250 bfd_mach_ppc_rs64iii, | 259 bfd_mach_ppc_rs64iii, |
| 251 "powerpc", | 260 "powerpc", |
| 252 "powerpc:rs64iii", | 261 "powerpc:rs64iii", |
| 253 3, | 262 3, |
| 254 FALSE, /* not the default */ | 263 FALSE, /* not the default */ |
| 255 powerpc_compatible, | 264 powerpc_compatible, |
| 256 bfd_default_scan, | 265 bfd_default_scan, |
| 266 bfd_arch_default_fill, |
| 257 &bfd_powerpc_archs[12] | 267 &bfd_powerpc_archs[12] |
| 258 }, | 268 }, |
| 259 { | 269 { |
| 260 32, /* 32 bits in a word */ | 270 32, /* 32 bits in a word */ |
| 261 32, /* 32 bits in an address */ | 271 32, /* 32 bits in an address */ |
| 262 8, /* 8 bits in a byte */ | 272 8, /* 8 bits in a byte */ |
| 263 bfd_arch_powerpc, | 273 bfd_arch_powerpc, |
| 264 bfd_mach_ppc_7400, | 274 bfd_mach_ppc_7400, |
| 265 "powerpc", | 275 "powerpc", |
| 266 "powerpc:7400", | 276 "powerpc:7400", |
| 267 3, | 277 3, |
| 268 FALSE, /* not the default */ | 278 FALSE, /* not the default */ |
| 269 powerpc_compatible, | 279 powerpc_compatible, |
| 270 bfd_default_scan, | 280 bfd_default_scan, |
| 281 bfd_arch_default_fill, |
| 271 &bfd_powerpc_archs[13] | 282 &bfd_powerpc_archs[13] |
| 272 }, | 283 }, |
| 273 { | 284 { |
| 274 32, /* 32 bits in a word */ | 285 32, /* 32 bits in a word */ |
| 275 32, /* 32 bits in an address */ | 286 32, /* 32 bits in an address */ |
| 276 8, /* 8 bits in a byte */ | 287 8, /* 8 bits in a byte */ |
| 277 bfd_arch_powerpc, | 288 bfd_arch_powerpc, |
| 278 bfd_mach_ppc_e500, | 289 bfd_mach_ppc_e500, |
| 279 "powerpc", | 290 "powerpc", |
| 280 "powerpc:e500", | 291 "powerpc:e500", |
| 281 3, | 292 3, |
| 282 FALSE, | 293 FALSE, |
| 283 powerpc_compatible, | 294 powerpc_compatible, |
| 284 bfd_default_scan, | 295 bfd_default_scan, |
| 296 bfd_arch_default_fill, |
| 285 &bfd_powerpc_archs[14] | 297 &bfd_powerpc_archs[14] |
| 286 }, | 298 }, |
| 287 { | 299 { |
| 288 32, /* 32 bits in a word */ | 300 32, /* 32 bits in a word */ |
| 289 32, /* 32 bits in an address */ | 301 32, /* 32 bits in an address */ |
| 290 8, /* 8 bits in a byte */ | 302 8, /* 8 bits in a byte */ |
| 291 bfd_arch_powerpc, | 303 bfd_arch_powerpc, |
| 292 bfd_mach_ppc_e500mc, | 304 bfd_mach_ppc_e500mc, |
| 293 "powerpc", | 305 "powerpc", |
| 294 "powerpc:e500mc", | 306 "powerpc:e500mc", |
| 295 3, | 307 3, |
| 296 FALSE, /* not the default */ | 308 FALSE, /* not the default */ |
| 297 powerpc_compatible, | 309 powerpc_compatible, |
| 298 bfd_default_scan, | 310 bfd_default_scan, |
| 311 bfd_arch_default_fill, |
| 299 &bfd_powerpc_archs[15] | 312 &bfd_powerpc_archs[15] |
| 300 }, | 313 }, |
| 301 { | 314 { |
| 302 64, /* 64 bits in a word */ | 315 64, /* 64 bits in a word */ |
| 303 64, /* 64 bits in an address */ | 316 64, /* 64 bits in an address */ |
| 304 8, /* 8 bits in a byte */ | 317 8, /* 8 bits in a byte */ |
| 305 bfd_arch_powerpc, | 318 bfd_arch_powerpc, |
| 306 bfd_mach_ppc_e500mc64, | 319 bfd_mach_ppc_e500mc64, |
| 307 "powerpc", | 320 "powerpc", |
| 308 "powerpc:e500mc64", | 321 "powerpc:e500mc64", |
| 309 3, | 322 3, |
| 310 FALSE, /* not the default */ | 323 FALSE, /* not the default */ |
| 311 powerpc_compatible, | 324 powerpc_compatible, |
| 312 bfd_default_scan, | 325 bfd_default_scan, |
| 326 bfd_arch_default_fill, |
| 313 &bfd_powerpc_archs[16] | 327 &bfd_powerpc_archs[16] |
| 314 }, | 328 }, |
| 315 { | 329 { |
| 316 32, /* 32 bits in a word */ | 330 32, /* 32 bits in a word */ |
| 317 32, /* 32 bits in an address */ | 331 32, /* 32 bits in an address */ |
| 318 8, /* 8 bits in a byte */ | 332 8, /* 8 bits in a byte */ |
| 319 bfd_arch_powerpc, | 333 bfd_arch_powerpc, |
| 320 bfd_mach_ppc_860, | 334 bfd_mach_ppc_860, |
| 321 "powerpc", | 335 "powerpc", |
| 322 "powerpc:MPC8XX", | 336 "powerpc:MPC8XX", |
| 323 3, | 337 3, |
| 324 FALSE, /* not the default */ | 338 FALSE, /* not the default */ |
| 325 powerpc_compatible, | 339 powerpc_compatible, |
| 326 bfd_default_scan, | 340 bfd_default_scan, |
| 341 bfd_arch_default_fill, |
| 327 &bfd_powerpc_archs[17] | 342 &bfd_powerpc_archs[17] |
| 328 }, | 343 }, |
| 329 { | 344 { |
| 330 32, /* 32 bits in a word */ | 345 32, /* 32 bits in a word */ |
| 331 32, /* 32 bits in an address */ | 346 32, /* 32 bits in an address */ |
| 332 8, /* 8 bits in a byte */ | 347 8, /* 8 bits in a byte */ |
| 333 bfd_arch_powerpc, | 348 bfd_arch_powerpc, |
| 334 bfd_mach_ppc_750, | 349 bfd_mach_ppc_750, |
| 335 "powerpc", | 350 "powerpc", |
| 336 "powerpc:750", | 351 "powerpc:750", |
| 337 3, | 352 3, |
| 338 FALSE, /* not the default */ | 353 FALSE, /* not the default */ |
| 339 powerpc_compatible, | 354 powerpc_compatible, |
| 340 bfd_default_scan, | 355 bfd_default_scan, |
| 356 bfd_arch_default_fill, |
| 341 &bfd_powerpc_archs[18] | 357 &bfd_powerpc_archs[18] |
| 342 }, | 358 }, |
| 343 { | 359 { |
| 344 32, /* 32 bits in a word */ | 360 32, /* 32 bits in a word */ |
| 345 32, /* 32 bits in an address */ | 361 32, /* 32 bits in an address */ |
| 346 8, /* 8 bits in a byte */ | 362 8, /* 8 bits in a byte */ |
| 347 bfd_arch_powerpc, | 363 bfd_arch_powerpc, |
| 348 bfd_mach_ppc_titan, | 364 bfd_mach_ppc_titan, |
| 349 "powerpc", | 365 "powerpc", |
| 350 "powerpc:titan", | 366 "powerpc:titan", |
| 351 3, | 367 3, |
| 352 FALSE, /* not the default */ | 368 FALSE, /* not the default */ |
| 353 powerpc_compatible, | 369 powerpc_compatible, |
| 354 bfd_default_scan, | 370 bfd_default_scan, |
| 371 bfd_arch_default_fill, |
| 372 &bfd_powerpc_archs[19] |
| 373 }, |
| 374 { |
| 375 16, /* 16 or 32 bits in a word */ |
| 376 32, /* 32 bits in an address */ |
| 377 8, /* 8 bits in a byte */ |
| 378 bfd_arch_powerpc, |
| 379 bfd_mach_ppc_vle, |
| 380 "powerpc", |
| 381 "powerpc:vle", |
| 382 3, |
| 383 FALSE, /* not the default */ |
| 384 powerpc_compatible, |
| 385 bfd_default_scan, |
| 386 bfd_arch_default_fill, |
| 387 &bfd_powerpc_archs[20] |
| 388 }, |
| 389 { |
| 390 64, /* 64 bits in a word */ |
| 391 64, /* 64 bits in an address */ |
| 392 8, /* 8 bits in a byte */ |
| 393 bfd_arch_powerpc, |
| 394 bfd_mach_ppc_e5500, |
| 395 "powerpc", |
| 396 "powerpc:e5500", |
| 397 3, |
| 398 FALSE, /* not the default */ |
| 399 powerpc_compatible, |
| 400 bfd_default_scan, |
| 401 bfd_arch_default_fill, |
| 402 &bfd_powerpc_archs[21] |
| 403 }, |
| 404 { |
| 405 64, /* 64 bits in a word */ |
| 406 64, /* 64 bits in an address */ |
| 407 8, /* 8 bits in a byte */ |
| 408 bfd_arch_powerpc, |
| 409 bfd_mach_ppc_e6500, |
| 410 "powerpc", |
| 411 "powerpc:e6500", |
| 412 3, |
| 413 FALSE, /* not the default */ |
| 414 powerpc_compatible, |
| 415 bfd_default_scan, |
| 416 bfd_arch_default_fill, |
| 355 0 | 417 0 |
| 356 } | 418 } |
| 357 }; | 419 }; |
| OLD | NEW |