OLD | NEW |
1 /* bfd back-end for mips support | 1 /* bfd back-end for mips support |
2 Copyright 1990, 1991, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001, | 2 Copyright 1990, 1991, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001, |
3 2002, 2003, 2004, 2005, 2007, 2008, 2009 Free Software Foundation, Inc. | 3 2002, 2003, 2004, 2005, 2007, 2008, 2009 Free Software Foundation, Inc. |
4 Written by Steve Chamberlain of Cygnus Support. | 4 Written 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 BITS_ADDR, /* bits in an address */ \ | 48 BITS_ADDR, /* bits in an address */ \ |
49 8, /* 8 bits in a byte */ \ | 49 8, /* 8 bits in a byte */ \ |
50 bfd_arch_mips, \ | 50 bfd_arch_mips, \ |
51 NUMBER, \ | 51 NUMBER, \ |
52 "mips", \ | 52 "mips", \ |
53 PRINT, \ | 53 PRINT, \ |
54 3, \ | 54 3, \ |
55 DEFAULT, \ | 55 DEFAULT, \ |
56 mips_compatible, \ | 56 mips_compatible, \ |
57 bfd_default_scan, \ | 57 bfd_default_scan, \ |
| 58 bfd_arch_default_fill, \ |
58 NEXT, \ | 59 NEXT, \ |
59 } | 60 } |
60 | 61 |
61 enum | 62 enum |
62 { | 63 { |
63 I_mips3000, | 64 I_mips3000, |
64 I_mips3900, | 65 I_mips3900, |
65 I_mips4000, | 66 I_mips4000, |
66 I_mips4010, | 67 I_mips4010, |
67 I_mips4100, | 68 I_mips4100, |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 N (64, 64, bfd_mach_mips_xlr, "mips:xlr", FALSE, NN(I_xlr)), | 142 N (64, 64, bfd_mach_mips_xlr, "mips:xlr", FALSE, NN(I_xlr)), |
142 N (64, 64, bfd_mach_mips_micromips,"mips:micromips",FALSE,0) | 143 N (64, 64, bfd_mach_mips_micromips,"mips:micromips",FALSE,0) |
143 }; | 144 }; |
144 | 145 |
145 /* The default architecture is mips:3000, but with a machine number of | 146 /* The default architecture is mips:3000, but with a machine number of |
146 zero. This lets the linker distinguish between a default setting | 147 zero. This lets the linker distinguish between a default setting |
147 of mips, and an explicit setting of mips:3000. */ | 148 of mips, and an explicit setting of mips:3000. */ |
148 | 149 |
149 const bfd_arch_info_type bfd_mips_arch = | 150 const bfd_arch_info_type bfd_mips_arch = |
150 N (32, 32, 0, "mips", TRUE, &arch_info_struct[0]); | 151 N (32, 32, 0, "mips", TRUE, &arch_info_struct[0]); |
OLD | NEW |