OLD | NEW |
1 /* BFD support for the Infineon XC16X Microcontroller. | 1 /* BFD support for the Infineon XC16X Microcontroller. |
2 Copyright 2006, 2007 Free Software Foundation, Inc. | 2 Copyright 2006, 2007 Free Software Foundation, Inc. |
3 Contributed by KPIT Cummins Infosystems | 3 Contributed by KPIT Cummins Infosystems |
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 Contributed by Anil Paranjpe(anilp1@kpitcummins.com) | 6 Contributed by Anil Paranjpe(anilp1@kpitcummins.com) |
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 19 matching lines...) Expand all Loading... |
30 16, /* Bits per address. */ | 30 16, /* Bits per address. */ |
31 8, /* Bits per byte. */ | 31 8, /* Bits per byte. */ |
32 bfd_arch_xc16x, /* Architecture. */ | 32 bfd_arch_xc16x, /* Architecture. */ |
33 bfd_mach_xc16xs, /* Machine. */ | 33 bfd_mach_xc16xs, /* Machine. */ |
34 "xc16x", /* Architecture name. */ | 34 "xc16x", /* Architecture name. */ |
35 "xc16xs", /* Printable name. */ | 35 "xc16xs", /* Printable name. */ |
36 1, /* Section alignment - 16 bit. */ | 36 1, /* Section alignment - 16 bit. */ |
37 TRUE, /* The default ? */ | 37 TRUE, /* The default ? */ |
38 bfd_default_compatible, /* Architecture comparison fn. */ | 38 bfd_default_compatible, /* Architecture comparison fn. */ |
39 bfd_default_scan, /* String to architecture convert fn. */ | 39 bfd_default_scan, /* String to architecture convert fn. */ |
| 40 bfd_arch_default_fill, /* Default fill. */ |
40 NULL /* Next in list. */ | 41 NULL /* Next in list. */ |
41 }; | 42 }; |
42 | 43 |
43 const bfd_arch_info_type xc16xl_info_struct = | 44 const bfd_arch_info_type xc16xl_info_struct = |
44 { | 45 { |
45 16, /* Bits per word. */ | 46 16, /* Bits per word. */ |
46 32, /* Bits per address. */ | 47 32, /* Bits per address. */ |
47 8, /* Bits per byte. */ | 48 8, /* Bits per byte. */ |
48 bfd_arch_xc16x, /* Architecture. */ | 49 bfd_arch_xc16x, /* Architecture. */ |
49 bfd_mach_xc16xl, /* Machine. */ | 50 bfd_mach_xc16xl, /* Machine. */ |
50 "xc16x", /* Architecture name. */ | 51 "xc16x", /* Architecture name. */ |
51 "xc16xl", /* Printable name. */ | 52 "xc16xl", /* Printable name. */ |
52 1, /* Section alignment - 16 bit. */ | 53 1, /* Section alignment - 16 bit. */ |
53 TRUE, /* The default ? */ | 54 TRUE, /* The default ? */ |
54 bfd_default_compatible, /* Architecture comparison fn. */ | 55 bfd_default_compatible, /* Architecture comparison fn. */ |
55 bfd_default_scan, /* String to architecture convert fn. */ | 56 bfd_default_scan, /* String to architecture convert fn. */ |
| 57 bfd_arch_default_fill, /* Default fill. */ |
56 & xc16xs_info_struct /* Next in list. */ | 58 & xc16xs_info_struct /* Next in list. */ |
57 }; | 59 }; |
58 | 60 |
59 const bfd_arch_info_type bfd_xc16x_arch = | 61 const bfd_arch_info_type bfd_xc16x_arch = |
60 { | 62 { |
61 16, /* Bits per word. */ | 63 16, /* Bits per word. */ |
62 16, /* Bits per address. */ | 64 16, /* Bits per address. */ |
63 8, /* Bits per byte. */ | 65 8, /* Bits per byte. */ |
64 bfd_arch_xc16x, /* Architecture. */ | 66 bfd_arch_xc16x, /* Architecture. */ |
65 bfd_mach_xc16x, /* Machine. */ | 67 bfd_mach_xc16x, /* Machine. */ |
66 "xc16x", /* Architecture name. */ | 68 "xc16x", /* Architecture name. */ |
67 "xc16x", /* Printable name. */ | 69 "xc16x", /* Printable name. */ |
68 1, /* Section alignment - 16 bit. */ | 70 1, /* Section alignment - 16 bit. */ |
69 TRUE, /* The default ? */ | 71 TRUE, /* The default ? */ |
70 bfd_default_compatible, /* Architecture comparison fn. */ | 72 bfd_default_compatible, /* Architecture comparison fn. */ |
71 bfd_default_scan, /* String to architecture convert fn. */ | 73 bfd_default_scan, /* String to architecture convert fn. */ |
| 74 bfd_arch_default_fill, /* Default fill. */ |
72 & xc16xl_info_struct /* Next in list. */ | 75 & xc16xl_info_struct /* Next in list. */ |
73 }; | 76 }; |
OLD | NEW |