| OLD | NEW |
| 1 /* BFD library support routines for the AVR architecture. | 1 /* BFD library support routines for the AVR architecture. |
| 2 Copyright 1999, 2000, 2002, 2005, 2006, 2007, 2008 | 2 Copyright 1999, 2000, 2002, 2005, 2006, 2007, 2008 |
| 3 Free Software Foundation, Inc. | 3 Free Software Foundation, Inc. |
| 4 Contributed by Denis Chertykov <denisc@overta.ru> | 4 Contributed by Denis Chertykov <denisc@overta.ru> |
| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 addr_bits, /* bits in an address. */ \ | 89 addr_bits, /* bits in an address. */ \ |
| 90 8, /* 8 bits in a byte. */ \ | 90 8, /* 8 bits in a byte. */ \ |
| 91 bfd_arch_avr, \ | 91 bfd_arch_avr, \ |
| 92 machine, /* Machine number. */ \ | 92 machine, /* Machine number. */ \ |
| 93 "avr", /* Architecture name. */ \ | 93 "avr", /* Architecture name. */ \ |
| 94 print, /* Printable name. */ \ | 94 print, /* Printable name. */ \ |
| 95 1, /* Section align power. */ \ | 95 1, /* Section align power. */ \ |
| 96 default, /* Is this the default ? */ \ | 96 default, /* Is this the default ? */ \ |
| 97 compatible, \ | 97 compatible, \ |
| 98 bfd_default_scan, \ | 98 bfd_default_scan, \ |
| 99 bfd_arch_default_fill, \ |
| 99 next \ | 100 next \ |
| 100 } | 101 } |
| 101 | 102 |
| 102 static const bfd_arch_info_type arch_info_struct[] = | 103 static const bfd_arch_info_type arch_info_struct[] = |
| 103 { | 104 { |
| 104 /* Assembler only. */ | 105 /* Assembler only. */ |
| 105 N (16, bfd_mach_avr1, "avr:1", FALSE, & arch_info_struct[1]), | 106 N (16, bfd_mach_avr1, "avr:1", FALSE, & arch_info_struct[1]), |
| 106 | 107 |
| 107 /* Classic, <= 8K. */ | 108 /* Classic, <= 8K. */ |
| 108 N (16, bfd_mach_avr2, "avr:2", FALSE, & arch_info_struct[2]), | 109 N (16, bfd_mach_avr2, "avr:2", FALSE, & arch_info_struct[2]), |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 /* Xmega 6 */ | 154 /* Xmega 6 */ |
| 154 N (24, bfd_mach_avrxmega6, "avr:106", FALSE, & arch_info_struct[16]), | 155 N (24, bfd_mach_avrxmega6, "avr:106", FALSE, & arch_info_struct[16]), |
| 155 | 156 |
| 156 /* Xmega 7 */ | 157 /* Xmega 7 */ |
| 157 N (24, bfd_mach_avrxmega7, "avr:107", FALSE, NULL) | 158 N (24, bfd_mach_avrxmega7, "avr:107", FALSE, NULL) |
| 158 | 159 |
| 159 }; | 160 }; |
| 160 | 161 |
| 161 const bfd_arch_info_type bfd_avr_arch = | 162 const bfd_arch_info_type bfd_avr_arch = |
| 162 N (16, bfd_mach_avr2, "avr", TRUE, & arch_info_struct[0]); | 163 N (16, bfd_mach_avr2, "avr", TRUE, & arch_info_struct[0]); |
| OLD | NEW |