]>
Commit | Line | Data |
---|---|---|
997dccbb | 1 | --- gas/config/tc-avr.c.orig 2008-10-29 14:10:04.264816900 -0600 |
2 | +++ gas/config/tc-avr.c 2008-10-29 15:55:03.798197900 -0600 | |
3 | @@ -193,7 +193,11 @@ static struct mcu_type_s mcu_types[] = | |
4 | {"at90usb1287",AVR_ISA_AVR51, bfd_mach_avr51}, | |
5 | {"atmega2560", AVR_ISA_AVR6, bfd_mach_avr6}, | |
6 | {"atmega2561", AVR_ISA_AVR6, bfd_mach_avr6}, | |
7 | + {"atxmega64a3", AVR_ISA_XMEGA, bfd_mach_avrxmega4}, | |
8 | {"atxmega64a1", AVR_ISA_XMEGA, bfd_mach_avrxmega5}, | |
9 | + {"atxmega128a3", AVR_ISA_XMEGA, bfd_mach_avrxmega6}, | |
10 | + {"atxmega256a3", AVR_ISA_XMEGA, bfd_mach_avrxmega6}, | |
11 | + {"atxmega256a3b",AVR_ISA_XMEGA, bfd_mach_avrxmega6}, | |
12 | {"atxmega128a1", AVR_ISA_XMEGA, bfd_mach_avrxmega7}, | |
13 | {NULL, 0, 0} | |
14 | }; | |
15 | @@ -372,6 +376,10 @@ md_show_usage (FILE *stream) | |
16 | " avr5 - enhanced AVR core with up to 64K program memory\n" | |
17 | " avr51 - enhanced AVR core with up to 128K program memory\n" | |
18 | " avr6 - enhanced AVR core with up to 256K program memory\n" | |
19 | + " avrxmega4 - XMEGA, > 64K, <= 128K FLASH, <= 64K RAM\n" | |
20 | + " avrxmega5 - XMEGA, > 64K, <= 128K FLASH, > 64K RAM\n" | |
21 | + " avrxmega6 - XMEGA, > 128K, <= 256K FLASH, <= 64K RAM\n" | |
22 | + " avrxmega7 - XMEGA, > 128K, <= 256K FLASH, > 64K RAM\n" | |
23 | " or immediate microcontroller name.\n")); | |
24 | fprintf (stream, | |
25 | _(" -mall-opcodes accept all AVR opcodes, even if not supported by MCU\n" | |
26 | --- gas/doc/c-avr.texi.orig 2008-08-29 10:58:02.000000000 -0600 | |
27 | +++ gas/doc/c-avr.texi 2008-10-29 15:59:25.299307900 -0600 | |
28 | @@ -76,6 +76,19 @@ at90can128, at90usb1286, at90usb1287). | |
29 | Instruction set avr6 is for the enhanced AVR core with a 3-byte PC (MCU types: | |
30 | atmega2560, atmega2561). | |
31 | ||
32 | +Instruction set avrxmega4 is for the XMEGA AVR cor with up to 64K program | |
33 | +memory space and less than 64K data space (MCU types: atxmega64a3). | |
34 | + | |
35 | +Instruction set avrxmega5 is for the XMEGA AVR core with up to 64K program | |
36 | +memory space and greater than 64K data space (MCU types: atxmega64a1). | |
37 | + | |
38 | +Instruction set avrxmega6 is for the XMEGA AVR core with up to 256K program | |
39 | +memory space and less than 64K data space (MCU types: atxmega128a3, | |
40 | +atxmega256a3, atxmega256a3b). | |
41 | + | |
42 | +Instruction set avrxmega7 is for the XMEGA AVR core with up to 256K program | |
43 | +memory space and greater than 64K data space (MCU types: atxmega128a1). | |
44 | + | |
45 | @cindex @code{-mall-opcodes} command line option, AVR | |
46 | @item -mall-opcodes | |
47 | Accept all AVR opcodes, even if not supported by @code{-mmcu}. |