diff options
author | Nick Clifton <nickc@redhat.com> | 2008-02-14 13:04:29 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-02-14 13:04:29 +0000 |
commit | ba074874859ffa93a811b33e16492506a867e7c8 (patch) | |
tree | 22fc5b3f94f47dd5a2564911f69de028c2073575 /include | |
parent | ad4168df548c686f431c5c44fe620f717e56ddae (diff) | |
download | binutils-redhat-ba074874859ffa93a811b33e16492506a867e7c8.tar.gz |
PR gas/2626
* avr.h (AVR_ISA_2xxe): Define.
* config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
to AVR_ISA_2xxe.
(avr_operand): Disallow post-increment addressing in the lpm
instruction for the attiny26.
Diffstat (limited to 'include')
-rw-r--r-- | include/opcode/ChangeLog | 5 | ||||
-rw-r--r-- | include/opcode/avr.h | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 9edf24ce84..b5e77b852a 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,8 @@ +2008-02-14 Hakan Ardo <hakan@debian.org> + + PR gas/2626 + * avr.h (AVR_ISA_2xxe): Define. + 2008-02-04 Adam Nemet <anemet@caviumnetworks.com> * mips.h: Update copyright. diff --git a/include/opcode/avr.h b/include/opcode/avr.h index 7f7ee0c35a..8038b4f7f8 100644 --- a/include/opcode/avr.h +++ b/include/opcode/avr.h @@ -1,6 +1,6 @@ /* Opcode table for the Atmel AVR micro controllers. - Copyright 2000, 2001, 2004, 2006 Free Software Foundation, Inc. + Copyright 2000, 2001, 2004, 2006, 2008 Free Software Foundation, Inc. Contributed by Denis Chertykov <denisc@overta.ru> This program is free software; you can redistribute it and/or modify @@ -34,6 +34,8 @@ #define AVR_ISA_TINY1 (AVR_ISA_1200 | AVR_ISA_LPM) #define AVR_ISA_PWMx (AVR_ISA_M8 | AVR_ISA_BRK) #define AVR_ISA_2xxx (AVR_ISA_TINY1 | AVR_ISA_SRAM) +/* For the attiny26 which is missing LPM Rd,Z+. */ +#define AVR_ISA_2xxe (AVR_ISA_2xxx | AVR_ISA_LPMX) #define AVR_ISA_RF401 (AVR_ISA_2xxx | AVR_ISA_MOVW | AVR_ISA_LPMX) #define AVR_ISA_TINY2 (AVR_ISA_2xxx | AVR_ISA_MOVW | AVR_ISA_LPMX | \ AVR_ISA_SPM | AVR_ISA_BRK) |