OSDN Git Service

* config/avr/avr.c (avr_mcu_t): Add atmega8c1, atmega16c1 and
[pf3gnuchains/gcc-fork.git] / gcc / config / avr / t-avr
1 LIB1ASMSRC = avr/libgcc.S
2 LIB1ASMFUNCS = \
3         _mulqi3 \
4         _mulhi3 \
5         _mulsi3 \
6         _udivmodqi4 \
7         _divmodqi4 \
8         _udivmodhi4 \
9         _divmodhi4 \
10         _udivmodsi4 \
11         _divmodsi4 \
12         _prologue \
13         _epilogue \
14         _exit \
15         _cleanup \
16         _tablejump \
17         _tablejump_elpm \
18         _copy_data \
19         _clear_bss \
20         _ctors \
21         _dtors
22
23 # We do not have the DF type.
24 # Most of the C functions in libgcc2 use almost all registers,
25 # so use -mcall-prologues for smaller code size.
26 TARGET_LIBGCC2_CFLAGS = -DDF=SF -Dinhibit_libc -mcall-prologues -Os
27
28 fp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/avr/t-avr
29         echo '#define FLOAT' > fp-bit.c
30         echo '#define FLOAT_ONLY' >> fp-bit.c
31         echo '#define CMPtype QItype' >> fp-bit.c
32         echo '#define DF SF' >> fp-bit.c
33         echo '#define DI SI' >> fp-bit.c
34         echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
35         echo '#define SMALL_MACHINE' >> fp-bit.c
36         echo 'typedef int QItype __attribute__ ((mode (QI)));' >> fp-bit.c
37         cat $(srcdir)/config/fp-bit.c >> fp-bit.c
38
39 FPBIT = fp-bit.c
40
41 MULTILIB_OPTIONS = mmcu=avr2/mmcu=avr25/mmcu=avr3/mmcu=avr31/mmcu=avr35/mmcu=avr4/mmcu=avr5/mmcu=avr51/mmcu=avr6
42 MULTILIB_DIRNAMES = avr2 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6
43
44 # The many avr2 matches are not listed here - this is the default.
45 MULTILIB_MATCHES = \
46         mmcu?avr25=mmcu?ata6289 \
47         mmcu?avr25=mmcu?attiny13 \
48         mmcu?avr25=mmcu?attiny13a \
49         mmcu?avr25=mmcu?attiny2313 \
50         mmcu?avr25=mmcu?attiny24 \
51         mmcu?avr25=mmcu?attiny44 \
52         mmcu?avr25=mmcu?attiny84 \
53         mmcu?avr25=mmcu?attiny25 \
54         mmcu?avr25=mmcu?attiny45 \
55         mmcu?avr25=mmcu?attiny85 \
56         mmcu?avr25=mmcu?attiny261 \
57         mmcu?avr25=mmcu?attiny461 \
58         mmcu?avr25=mmcu?attiny861 \
59         mmcu?avr25=mmcu?attiny43u \
60         mmcu?avr25=mmcu?attiny87 \
61         mmcu?avr25=mmcu?attiny48 \
62         mmcu?avr25=mmcu?attiny88 \
63         mmcu?avr25=mmcu?at86rf401 \
64         mmcu?avr3=mmcu?at43usb355 \
65         mmcu?avr3=mmcu?at76c711 \
66         mmcu?avr31=mmcu?atmega103 \
67         mmcu?avr31=mmcu?at43usb320 \
68         mmcu?avr35=mmcu?at90usb82 \
69         mmcu?avr35=mmcu?at90usb162 \
70         mmcu?avr35=mmcu?attiny167 \
71         mmcu?avr35=mmcu?attiny327 \
72         mmcu?avr4=mmcu?atmega48 \
73         mmcu?avr4=mmcu?atmega48p \
74         mmcu?avr4=mmcu?atmega8 \
75         mmcu?avr4=mmcu?atmega8515 \
76         mmcu?avr4=mmcu?atmega8535 \
77         mmcu?avr4=mmcu?atmega88 \
78         mmcu?avr4=mmcu?atmega88p \
79         mmcu?avr4=mmcu?atmega8hva \
80         mmcu?avr4=mmcu?atmega4hvd \
81         mmcu?avr4=mmcu?atmega8hvd \
82         mmcu?avr4=mmcu?atmega8c1 \
83         mmcu?avr4=mmcu?atmega8m1 \
84         mmcu?avr4=mmcu?at90pwm1 \
85         mmcu?avr4=mmcu?at90pwm2 \
86         mmcu?avr4=mmcu?at90pwm2b \
87         mmcu?avr4=mmcu?at90pwm3 \
88         mmcu?avr4=mmcu?at90pwm3b \
89         mmcu?avr4=mmcu?at90pwm81 \
90         mmcu?avr5=mmcu?atmega16 \
91         mmcu?avr5=mmcu?atmega161 \
92         mmcu?avr5=mmcu?atmega162 \
93         mmcu?avr5=mmcu?atmega163 \
94         mmcu?avr5=mmcu?atmega164p \
95         mmcu?avr5=mmcu?atmega165 \
96         mmcu?avr5=mmcu?atmega165p \
97         mmcu?avr5=mmcu?atmega168 \
98         mmcu?avr5=mmcu?atmega168p \
99         mmcu?avr5=mmcu?atmega169 \
100         mmcu?avr5=mmcu?atmega169p \
101         mmcu?avr5=mmcu?atmega32 \
102         mmcu?avr5=mmcu?atmega323 \
103         mmcu?avr5=mmcu?atmega324p \
104         mmcu?avr5=mmcu?atmega325 \
105         mmcu?avr5=mmcu?atmega325p \
106         mmcu?avr5=mmcu?atmega3250 \
107         mmcu?avr5=mmcu?atmega3250p \
108         mmcu?avr5=mmcu?atmega328p \
109         mmcu?avr5=mmcu?atmega329 \
110         mmcu?avr5=mmcu?atmega329p \
111         mmcu?avr5=mmcu?atmega3290 \
112         mmcu?avr5=mmcu?atmega3290p \
113         mmcu?avr5=mmcu?atmega406 \
114         mmcu?avr5=mmcu?atmega64  \
115         mmcu?avr5=mmcu?atmega640 \
116         mmcu?avr5=mmcu?atmega644 \
117         mmcu?avr5=mmcu?atmega644p \
118         mmcu?avr5=mmcu?atmega645 \
119         mmcu?avr5=mmcu?atmega6450 \
120         mmcu?avr5=mmcu?atmega649 \
121         mmcu?avr5=mmcu?atmega6490 \
122         mmcu?avr5=mmcu?atmega16hva \
123         mmcu?avr5=mmcu?atmega16hvb \
124         mmcu?avr5=mmcu?atmega32hvb \
125         mmcu?avr5=mmcu?at90can32 \
126         mmcu?avr5=mmcu?at90can64 \
127         mmcu?avr5=mmcu?at90pwm216 \
128         mmcu?avr5=mmcu?at90pwm316 \
129         mmcu?avr5=mmcu?atmega16c1 \
130         mmcu?avr5=mmcu?atmega32c1 \
131         mmcu?avr5=mmcu?atmega64c1 \
132         mmcu?avr5=mmcu?atmega16m1 \
133         mmcu?avr5=mmcu?atmega32m1 \
134         mmcu?avr5=mmcu?atmega64m1 \
135         mmcu?avr5=mmcu?atmega16u4 \
136         mmcu?avr5=mmcu?atmega32u4 \
137         mmcu?avr5=mmcu?atmega32u6 \
138         mmcu?avr5=mmcu?at90scr100 \
139         mmcu?avr5=mmcu?at90usb646 \
140         mmcu?avr5=mmcu?at90usb647 \
141         mmcu?avr5=mmcu?at94k \
142         mmcu?avr51=mmcu?atmega128 \
143         mmcu?avr51=mmcu?atmega1280 \
144         mmcu?avr51=mmcu?atmega1281 \
145         mmcu?avr51=mmcu?atmega1284p \
146         mmcu?avr51=mmcu?atmega128rfa1 \
147         mmcu?avr51=mmcu?at90can128 \
148         mmcu?avr51=mmcu?at90usb1286 \
149         mmcu?avr51=mmcu?at90usb1287 \
150         mmcu?avr51=mmcu?m3000f \
151         mmcu?avr51=mmcu?m3000s \
152         mmcu?avr51=mmcu?m3001b \
153         mmcu?avr6=mmcu?atmega2560 \
154         mmcu?avr6=mmcu?atmega2561
155
156 MULTILIB_EXCEPTIONS =
157
158 LIBGCC = stmp-multilib
159 INSTALL_LIBGCC = install-multilib