1 LIB1ASMSRC = avr/libgcc.S
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
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
40 MULTILIB_OPTIONS = mmcu=avr2/mmcu=avr3/mmcu=avr4/mmcu=avr5
41 MULTILIB_DIRNAMES = avr2 avr3 avr4 avr5
43 # The many avr2 matches are not listed here - this is the default.
45 mmcu?avr3=mmcu?atmega103 mmcu?avr3=mmcu?atmega603 \
46 mmcu?avr3=mmcu?at43usb320 mmcu?avr3=mmcu?at43usb355 \
47 mmcu?avr3=mmcu?at76c711 \
48 mmcu?avr4=mmcu?atmega8515 mmcu?avr4=mmcu?atmega8535 \
49 mmcu?avr4=mmcu?atmega8 mmcu?avr4=mmcu?atmega48 \
50 mmcu?avr4=mmcu?atmega88 \
51 mmcu?avr5=mmcu?atmega161 mmcu?avr5=mmcu?atmega162 \
52 mmcu?avr5=mmcu?atmega163 mmcu?avr5=mmcu?atmega169 \
53 mmcu?avr5=mmcu?atmega16 mmcu?avr5=mmcu?atmega168 \
54 mmcu?avr5=mmcu?atmega165 \
55 mmcu?avr5=mmcu?atmega323 mmcu?avr5=mmcu?atmega32 \
56 mmcu?avr5=mmcu?atmega325 mmcu?avr5=mmcu?atmega3250 \
57 mmcu?avr5=mmcu?atmega64 mmcu?avr5=mmcu?atmega128 \
58 mmcu?avr5=mmcu?atmega645 mmcu?avr5=mmcu?atmega6450 \
59 mmcu?avr5=mmcu?at94k mmcu?avr5=mmcu?at90can128
63 LIBGCC = stmp-multilib
64 INSTALL_LIBGCC = install-multilib