Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Side by Side Diff: bfd/cpu-m68k.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « bfd/cpu-m68hc12.c ('k') | bfd/cpu-m88k.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* BFD library support routines for architectures. 1 /* BFD library support routines for architectures.
2 Copyright 1990, 1991, 1992, 1993, 1994, 1997, 1998, 2000, 2001, 2002, 2 Copyright 1990, 1991, 1992, 1993, 1994, 1997, 1998, 2000, 2001, 2002,
3 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. 3 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
4 Hacked by Steve Chamberlain of Cygnus Support. 4 Hacked by Steve Chamberlain of 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
(...skipping 12 matching lines...) Expand all
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 #include "opcode/m68k.h" 26 #include "opcode/m68k.h"
27 27
28 static const bfd_arch_info_type * 28 static const bfd_arch_info_type *
29 bfd_m68k_compatible (const bfd_arch_info_type *a, 29 bfd_m68k_compatible (const bfd_arch_info_type *a,
30 const bfd_arch_info_type *b); 30 const bfd_arch_info_type *b);
31 31
32 #define N(name, print,d,next) \ 32 #define N(name, print,d,next) \
33 { 32, 32, 8, bfd_arch_m68k, name, "m68k",print,2,d,bfd_m68k_compatible,bfd_defa ult_scan, next, } 33 { 32, 32, 8, bfd_arch_m68k, name, "m68k",print,2,d,bfd_m68k_compatible, \
34 bfd_default_scan, bfd_arch_default_fill, next, }
34 35
35 static const bfd_arch_info_type arch_info_struct[] = 36 static const bfd_arch_info_type arch_info_struct[] =
36 { 37 {
37 N(bfd_mach_m68000, "m68k:68000", FALSE, &arch_info_struct[1]), 38 N(bfd_mach_m68000, "m68k:68000", FALSE, &arch_info_struct[1]),
38 N(bfd_mach_m68008, "m68k:68008", FALSE, &arch_info_struct[2]), 39 N(bfd_mach_m68008, "m68k:68008", FALSE, &arch_info_struct[2]),
39 N(bfd_mach_m68010, "m68k:68010", FALSE, &arch_info_struct[3]), 40 N(bfd_mach_m68010, "m68k:68010", FALSE, &arch_info_struct[3]),
40 N(bfd_mach_m68020, "m68k:68020", FALSE, &arch_info_struct[4]), 41 N(bfd_mach_m68020, "m68k:68020", FALSE, &arch_info_struct[4]),
41 N(bfd_mach_m68030, "m68k:68030", FALSE, &arch_info_struct[5]), 42 N(bfd_mach_m68030, "m68k:68030", FALSE, &arch_info_struct[5]),
42 N(bfd_mach_m68040, "m68k:68040", FALSE, &arch_info_struct[6]), 43 N(bfd_mach_m68040, "m68k:68040", FALSE, &arch_info_struct[6]),
43 N(bfd_mach_m68060, "m68k:68060", FALSE, &arch_info_struct[7]), 44 N(bfd_mach_m68060, "m68k:68060", FALSE, &arch_info_struct[7]),
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 return bfd_lookup_arch (a->arch, 265 return bfd_lookup_arch (a->arch,
265 bfd_m68k_features_to_mach (fido_a | m68881)); 266 bfd_m68k_features_to_mach (fido_a | m68881));
266 } 267 }
267 268
268 return bfd_lookup_arch (a->arch, bfd_m68k_features_to_mach (features)); 269 return bfd_lookup_arch (a->arch, bfd_m68k_features_to_mach (features));
269 } 270 }
270 else 271 else
271 /* They are incompatible. */ 272 /* They are incompatible. */
272 return NULL; 273 return NULL;
273 } 274 }
OLDNEW
« no previous file with comments | « bfd/cpu-m68hc12.c ('k') | bfd/cpu-m88k.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698