diff options
author | Marek Michalkiewicz <marekm@amelek.gda.pl> | 2002-06-01 15:47:29 +0200 |
---|---|---|
committer | Marek Michalkiewicz <marekm@gcc.gnu.org> | 2002-06-01 13:47:29 +0000 |
commit | 01e9ae86327636d3a3309b19b88b261d8eabe6af (patch) | |
tree | a2cf733d125b45017b6e5ae532a04ee4a701a4b2 /gcc | |
parent | 407c72cb298e71da241639399ee64e65308d21a1 (diff) | |
download | gcc-01e9ae86327636d3a3309b19b88b261d8eabe6af.zip gcc-01e9ae86327636d3a3309b19b88b261d8eabe6af.tar.gz gcc-01e9ae86327636d3a3309b19b88b261d8eabe6af.tar.bz2 |
avr.c (avr_mcu_types): Remove devices that were once expected, but don't really exist...
* config/avr/avr.c (avr_mcu_types): Remove devices that were once
expected, but don't really exist: atmega83, atmega85, attiny10.
* config/avr/avr.h (LINK_SPEC): Update to use the new avr[1-5] ld
emulations for all devices.
(CRT_BINUTILS_SPECS): Remove atmega83, atmega85, attiny10.
* config/avr/t-avr (MULTILIB_MATCHES): Remove atmega83, atmega85.
From-SVN: r54146
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/config/avr/avr.c | 3 | ||||
-rw-r--r-- | gcc/config/avr/avr.h | 49 | ||||
-rw-r--r-- | gcc/config/avr/t-avr | 3 |
4 files changed, 20 insertions, 44 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fed41ea..2cdf39b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2002-06-01 Marek Michalkiewicz <marekm@amelek.gda.pl> + + * config/avr/avr.c (avr_mcu_types): Remove devices that were once + expected, but don't really exist: atmega83, atmega85, attiny10. + * config/avr/avr.h (LINK_SPEC): Update to use the new avr[1-5] ld + emulations for all devices. + (CRT_BINUTILS_SPECS): Remove atmega83, atmega85, attiny10. + * config/avr/t-avr (MULTILIB_MATCHES): Remove atmega83, atmega85. + 2002-06-01 Kazu Hirata <kazu@cs.umass.edu> * config/h8300/h8300-protos.h: Add a prototype for diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 953e032..cf7b6c0 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -177,8 +177,6 @@ static const struct mcu_type_s avr_mcu_types[] = { /* Enhanced, <= 8K. */ { "avr4", 4, NULL }, { "atmega8", 4, "__AVR_ATmega8__" }, - { "atmega83", 4, "__AVR_ATmega83__" }, - { "atmega85", 4, "__AVR_ATmega85__" }, { "atmega8515", 4, "__AVR_ATmega8515__" }, /* Enhanced, > 8K. */ { "avr5", 5, NULL }, @@ -194,7 +192,6 @@ static const struct mcu_type_s avr_mcu_types[] = { /* Assembler only. */ { "avr1", 1, NULL }, { "at90s1200", 1, "__AVR_AT90S1200__" }, - { "attiny10", 1, "__AVR_ATtiny11__" }, /* Yes, tiny11. */ { "attiny11", 1, "__AVR_ATtiny11__" }, { "attiny12", 1, "__AVR_ATtiny12__" }, { "attiny15", 1, "__AVR_ATtiny15__" }, diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h index 22843ec..6102a03 100644 --- a/gcc/config/avr/avr.h +++ b/gcc/config/avr/avr.h @@ -2565,40 +2565,13 @@ extern int avr_case_values_threshold; Do not define this macro if it does not need to do anything. */ -#define LINK_SPEC "\ -%{!mmcu*:-m avr85xx} \ -%{mmcu=atmega603:-m avrmega603} \ -%{mmcu=atmega103:-m avrmega103} \ -%{mmcu=at43usb320:-m avr3} \ -%{mmcu=at43usb355:-m avr3} \ -%{mmcu=at76c711:-m avr3} \ -%{mmcu=atmega16:-m avrmega161} \ -%{mmcu=atmega161:-m avrmega161} \ -%{mmcu=atmega162:-m avr5 -Tdata 0x800100} \ -%{mmcu=atmega163:-m avrmega161} \ -%{mmcu=atmega32:-m avr5} \ -%{mmcu=atmega323:-m avr5} \ -%{mmcu=atmega64:-m avr5 -Tdata 0x800100} \ -%{mmcu=atmega128:-m avr5 -Tdata 0x800100} \ -%{mmcu=at94k:-m avr5} \ -%{mmcu=atmega8:-m avr4} \ -%{mmcu=atmega83:-m avr4} \ -%{mmcu=atmega85:-m avr4} \ -%{mmcu=atmega8515:-m avr4} \ -%{mmcu=at90s1200|mmcu=attiny1*:-m avr1200} \ -%{mmcu=attiny28:-m avr1} \ -%{mmcu=at90s2313:-m avr23xx} \ -%{mmcu=at90s2323:-m avr23xx} \ -%{mmcu=at90s2333:-m avr23xx} \ -%{mmcu=at90s2343:-m avr23xx} \ -%{mmcu=attiny22:-m avr23xx} \ -%{mmcu=attiny26:-m avr23xx} \ -%{mmcu=at90s4433:-m avr4433} \ -%{mmcu=at90s4414:-m avr44x4} \ -%{mmcu=at90s4434:-m avr44x4} \ -%{mmcu=at90c8534:-m avr85xx} \ -%{mmcu=at90s8535:-m avr85xx} \ -%{mmcu=at90s8515:-m avr85xx}" +#define LINK_SPEC " %{!mmcu*:-m avr2}\ +%{mmcu=at90s1200|mmcu=attiny1*|mmcu=attiny28:-m avr1} \ +%{mmcu=attiny22|mmcu=attiny26|mmcu=at90s2*|mmcu=at90s4*|mmcu=at90s8*|mmcu=at90c8*:-m avr2}\ +%{mmcu=atmega103|mmcu=atmega603|mmcu=at43*|mmcu=at76*:-m avr3}\ +%{mmcu=atmega8*:-m avr4}\ +%{mmcu=atmega16*|mmcu=atmega32*|mmcu=atmega64|mmcu=atmega128|mmcu=at94k:-m avr5}\ +%{mmcu=atmega64|mmcu=atmega128|mmcu=atmega162: -Tdata 0x800100} " /* A C string constant that tells the GNU CC driver program options to pass to the linker. It can also specify how to translate options @@ -2643,7 +2616,7 @@ extern int avr_case_values_threshold; #define CRT_BINUTILS_SPECS "\ %{mmcu=at90s1200|mmcu=avr1:crts1200.o%s} \ -%{mmcu=attiny10|mmcu=attiny11:crttn11.o%s} \ +%{mmcu=attiny11:crttn11.o%s} \ %{mmcu=attiny12:crttn12.o%s} \ %{mmcu=attiny15:crttn15.o%s} \ %{mmcu=attiny28:crttn28.o%s} \ @@ -2663,10 +2636,8 @@ extern int avr_case_values_threshold; %{mmcu=atmega603:crtm603.o%s} \ %{mmcu=at43usb320:crt43320.o%s} \ %{mmcu=at43usb355:crt43355.o%s} \ -%{mmcu=at76c711:crt76711.o%s } \ -%{mmcu=atmega8:crtm8.o%s} \ -%{mmcu=atmega83|mmcu=avr4:crtm83.o%s} \ -%{mmcu=atmega85:crtm85.o%s} \ +%{mmcu=at76c711:crt76711.o%s} \ +%{mmcu=atmega8|mmcu=avr4:crtm8.o%s} \ %{mmcu=atmega8515:crtm8515.o%s} \ %{mmcu=atmega16:crtm16.o%s} \ %{mmcu=atmega161|mmcu=avr5:crtm161.o%s} \ diff --git a/gcc/config/avr/t-avr b/gcc/config/avr/t-avr index 68b04d6..0b28e8d 100644 --- a/gcc/config/avr/t-avr +++ b/gcc/config/avr/t-avr @@ -45,8 +45,7 @@ MULTILIB_MATCHES = \ mmcu?avr3=mmcu?atmega103 mmcu?avr3=mmcu?atmega603 \ mmcu?avr3=mmcu?at43usb320 mmcu?avr3=at43usb355 \ mmcu?avr3=mmcu?at76c711 \ - mmcu?avr4=mmcu?atmega8515 mmcu?avr4=mmcu?atmega83 \ - mmcu?avr4=mmcu?atmega85 mmcu?avr4=mmcu?atmega8 \ + mmcu?avr4=mmcu?atmega8515 mmcu?avr4=mmcu?atmega8 \ mmcu?avr5=mmcu?atmega161 mmcu?avr5=mmcu?atmega162 \ mmcu?avr5=mmcu?atmega163 mmcu?avr5=mmcu?atmega16 \ mmcu?avr5=mmcu?atmega323 mmcu?avr5=mmcu?atmega32 \ |