OLD | NEW |
1 /* BFD support for the Intel K1OM architecture. | 1 /* BFD support for the Intel K1OM architecture. |
2 Copyright 2011 | 2 Copyright 2011 |
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. |
11 | 11 |
12 This program is distributed in the hope that it will be useful, | 12 This program is distributed in the hope that it will be useful, |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 GNU General Public License for more details. | 15 GNU General Public License for more details. |
16 | 16 |
17 You should have received a copy of the GNU General Public License | 17 You should have received a copy of the GNU General Public License |
18 along with this program; if not, write to the Free Software | 18 along with this program; if not, write to the Free Software |
19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, | 19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, |
20 MA 02110-1301, USA. */ | 20 MA 02110-1301, USA. */ |
21 | 21 |
22 #include "sysdep.h" | 22 #include "sysdep.h" |
23 #include "bfd.h" | 23 #include "bfd.h" |
24 #include "libbfd.h" | 24 #include "libbfd.h" |
25 | 25 |
| 26 extern void * bfd_arch_i386_short_nop_fill (bfd_size_type, bfd_boolean, |
| 27 bfd_boolean); |
| 28 |
26 static const bfd_arch_info_type bfd_k1om_arch_intel_syntax = | 29 static const bfd_arch_info_type bfd_k1om_arch_intel_syntax = |
27 { | 30 { |
28 64, /* 64 bits in a word */ | 31 64, /* 64 bits in a word */ |
29 64, /* 64 bits in an address */ | 32 64, /* 64 bits in an address */ |
30 8, /* 8 bits in a byte */ | 33 8, /* 8 bits in a byte */ |
31 bfd_arch_k1om, | 34 bfd_arch_k1om, |
32 bfd_mach_k1om_intel_syntax, | 35 bfd_mach_k1om_intel_syntax, |
33 "k1om:intel", | 36 "k1om:intel", |
34 "k1om:intel", | 37 "k1om:intel", |
35 3, | 38 3, |
36 TRUE, | 39 TRUE, |
37 bfd_default_compatible, | 40 bfd_default_compatible, |
38 bfd_default_scan, | 41 bfd_default_scan, |
| 42 bfd_arch_i386_short_nop_fill, |
39 0 | 43 0 |
40 }; | 44 }; |
41 | 45 |
42 const bfd_arch_info_type bfd_k1om_arch = | 46 const bfd_arch_info_type bfd_k1om_arch = |
43 { | 47 { |
44 64, /* 64 bits in a word */ | 48 64, /* 64 bits in a word */ |
45 64, /* 64 bits in an address */ | 49 64, /* 64 bits in an address */ |
46 8, /* 8 bits in a byte */ | 50 8, /* 8 bits in a byte */ |
47 bfd_arch_k1om, | 51 bfd_arch_k1om, |
48 bfd_mach_k1om, | 52 bfd_mach_k1om, |
49 "k1om", | 53 "k1om", |
50 "k1om", | 54 "k1om", |
51 3, | 55 3, |
52 TRUE, | 56 TRUE, |
53 bfd_default_compatible, | 57 bfd_default_compatible, |
54 bfd_default_scan, | 58 bfd_default_scan, |
| 59 bfd_arch_i386_short_nop_fill, |
55 &bfd_k1om_arch_intel_syntax | 60 &bfd_k1om_arch_intel_syntax |
56 }; | 61 }; |
OLD | NEW |