Update concepts branch to revision 131834
[official-gcc.git] / gcc / config / avr / t-avr
blob5804400540a04da73795c49d810b9c304320088b
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         _copy_data \
18         _clear_bss \
19         _ctors \
20         _dtors
22 # We do not have the DF type.
23 # Most of the C functions in libgcc2 use almost all registers,
24 # so use -mcall-prologues for smaller code size.
25 TARGET_LIBGCC2_CFLAGS = -DDF=SF -Dinhibit_libc -mcall-prologues -Os
27 fp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/avr/t-avr
28         echo '#define FLOAT' > fp-bit.c
29         echo '#define FLOAT_ONLY' >> fp-bit.c
30         echo '#define CMPtype QItype' >> fp-bit.c
31         echo '#define DF SF' >> fp-bit.c
32         echo '#define DI SI' >> fp-bit.c
33         echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
34         echo '#define SMALL_MACHINE' >> fp-bit.c
35         echo 'typedef int QItype __attribute__ ((mode (QI)));' >> fp-bit.c
36         cat $(srcdir)/config/fp-bit.c >> fp-bit.c
38 FPBIT = fp-bit.c
40 MULTILIB_OPTIONS = mmcu=avr2/mmcu=avr25/mmcu=avr3/mmcu=avr31/mmcu=avr35/mmcu=avr4/mmcu=avr5/mmcu=avr51/mmcu=avr6
41 MULTILIB_DIRNAMES = avr2 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6
43 # The many avr2 matches are not listed here - this is the default.
44 MULTILIB_MATCHES = \
45         mmcu?avr25=mmcu?attiny13 \
46         mmcu?avr25=mmcu?attiny2313 \
47         mmcu?avr25=mmcu?attiny24 \
48         mmcu?avr25=mmcu?attiny44 \
49         mmcu?avr25=mmcu?attiny84 \
50         mmcu?avr25=mmcu?attiny25 \
51         mmcu?avr25=mmcu?attiny45 \
52         mmcu?avr25=mmcu?attiny85 \
53         mmcu?avr25=mmcu?attiny261 \
54         mmcu?avr25=mmcu?attiny461 \
55         mmcu?avr25=mmcu?attiny861 \
56         mmcu?avr25=mmcu?attiny43u \
57         mmcu?avr25=mmcu?attiny48 \
58         mmcu?avr25=mmcu?attiny88 \
59         mmcu?avr25=mmcu?at86rf401 \
60         mmcu?avr3=mmcu?at43usb320 \
61         mmcu?avr3=mmcu?at43usb355 \
62         mmcu?avr3=mmcu?at76c711 \
63         mmcu?avr31=mmcu?atmega103 \
64         mmcu?avr35=mmcu?at90usb82 \
65         mmcu?avr35=mmcu?at90usb162 \
66         mmcu?avr4=mmcu?atmega48 \
67         mmcu?avr4=mmcu?atmega48p \
68         mmcu?avr4=mmcu?atmega8 \
69         mmcu?avr4=mmcu?atmega8515 \
70         mmcu?avr4=mmcu?atmega8535 \
71         mmcu?avr4=mmcu?atmega88 \
72         mmcu?avr4=mmcu?atmega88p \
73         mmcu?avr4=mmcu?atmega8hva \
74         mmcu?avr4=mmcu?at90pwm1 \
75         mmcu?avr4=mmcu?at90pwm2 \
76         mmcu?avr4=mmcu?at90pwm2b \
77         mmcu?avr4=mmcu?at90pwm3 \
78         mmcu?avr4=mmcu?at90pwm3b \
79         mmcu?avr5=mmcu?atmega16 \
80         mmcu?avr5=mmcu?atmega161 \
81         mmcu?avr5=mmcu?atmega162 \
82         mmcu?avr5=mmcu?atmega163 \
83         mmcu?avr5=mmcu?atmega164p \
84         mmcu?avr5=mmcu?atmega165 \
85         mmcu?avr5=mmcu?atmega165p \
86         mmcu?avr5=mmcu?atmega168 \
87         mmcu?avr5=mmcu?atmega168p \
88         mmcu?avr5=mmcu?atmega169 \
89         mmcu?avr5=mmcu?atmega169p \
90         mmcu?avr5=mmcu?atmega32 \
91         mmcu?avr5=mmcu?atmega323 \
92         mmcu?avr5=mmcu?atmega324p \
93         mmcu?avr5=mmcu?atmega325 \
94         mmcu?avr5=mmcu?atmega325p \
95         mmcu?avr5=mmcu?atmega3250 \
96         mmcu?avr5=mmcu?atmega3250p \
97         mmcu?avr5=mmcu?atmega328p \
98         mmcu?avr5=mmcu?atmega329 \
99         mmcu?avr5=mmcu?atmega329p \
100         mmcu?avr5=mmcu?atmega3290 \
101         mmcu?avr5=mmcu?atmega3290p \
102         mmcu?avr5=mmcu?atmega32hvb \
103         mmcu?avr5=mmcu?atmega406 \
104         mmcu?avr5=mmcu?atmega64  \
105         mmcu?avr5=mmcu?atmega640 \
106         mmcu?avr5=mmcu?atmega644 \
107         mmcu?avr5=mmcu?atmega644p \
108         mmcu?avr5=mmcu?atmega645 \
109         mmcu?avr5=mmcu?atmega6450 \
110         mmcu?avr5=mmcu?atmega649 \
111         mmcu?avr5=mmcu?atmega6490 \
112         mmcu?avr5=mmcu?atmega16hva \
113         mmcu?avr5=mmcu?at90can32 \
114         mmcu?avr5=mmcu?at90can64 \
115         mmcu?avr5=mmcu?at90pwm216 \
116         mmcu?avr5=mmcu?at90pwm316 \
117         mmcu?avr5=mmcu?at90usb646 \
118         mmcu?avr5=mmcu?at90usb647 \
119         mmcu?avr5=mmcu?at94k \
120         mmcu?avr51=mmcu?atmega128 \
121         mmcu?avr51=mmcu?atmega1280 \
122         mmcu?avr51=mmcu?atmega1281 \
123         mmcu?avr51=mmcu?atmega1284p \
124         mmcu?avr51=mmcu?at90can128 \
125         mmcu?avr51=mmcu?at90usb1286 \
126         mmcu?avr51=mmcu?at90usb1287 \
127         mmcu?avr6=mmcu?atmega2560 \
128         mmcu?avr6=mmcu?atmega2561
130 MULTILIB_EXCEPTIONS =
132 LIBGCC = stmp-multilib
133 INSTALL_LIBGCC = install-multilib