From 2b1ed17bea76bc848e0b134feb16e7549b0a5767 Mon Sep 17 00:00:00 2001 From: "Eric B. Weddington" Date: Wed, 23 Jan 2008 17:36:23 +0000 Subject: [PATCH] /gas: 2008-01-23 Eric B. Weddington * config/tc-avr.c (mcu_types): Change opcode set for at86rf401. /include: 2008-01-23 Eric B. Weddington * opcode/avr.h (AVR_ISA_RF401): Add new opcode set for at86rf401. --- gas/ChangeLog | 4 ++++ gas/config/tc-avr.c | 2 +- include/ChangeLog | 4 ++++ include/opcode/avr.h | 1 + 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index dc7c744..2d61c1d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2008-01-23 Eric B. Weddington + + * config/tc-avr.c (mcu_types): Change opcode set for at86rf401. + 2008-01-23 H.J. Lu * config/tc-i386.c (md_show_usage): Show more processors for diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c index 0beec90..1e6f7e6 100644 --- a/gas/config/tc-avr.c +++ b/gas/config/tc-avr.c @@ -84,7 +84,7 @@ static struct mcu_type_s mcu_types[] = {"at90s8515", AVR_ISA_2xxx, bfd_mach_avr2}, {"at90s8535", AVR_ISA_2xxx, bfd_mach_avr2}, {"at90c8534", AVR_ISA_2xxx, bfd_mach_avr2}, - {"at86rf401", AVR_ISA_2xxx, bfd_mach_avr2}, + {"at86rf401", AVR_ISA_RF401, bfd_mach_avr2}, {"attiny13", AVR_ISA_TINY2, bfd_mach_avr2}, {"attiny2313", AVR_ISA_TINY2, bfd_mach_avr2}, {"attiny261", AVR_ISA_TINY2, bfd_mach_avr2}, diff --git a/include/ChangeLog b/include/ChangeLog index 98fea92..9e079f6 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2008-01-23 Eric B. Weddington + + * opcode/avr.h (AVR_ISA_RF401): Add new opcode set for at86rf401. + 2008-01-03 Eric B. Weddington * opcode/avr.h (AVR_ISA_USB162): Add new opcode set. diff --git a/include/opcode/avr.h b/include/opcode/avr.h index 50a41a0..7f7ee0c 100644 --- a/include/opcode/avr.h +++ b/include/opcode/avr.h @@ -34,6 +34,7 @@ #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) +#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) #define AVR_ISA_M8 (AVR_ISA_2xxx | AVR_ISA_MUL | AVR_ISA_MOVW | \ -- 2.7.4