OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [config/] [avr/] [t-avr] - Rev 12

Compare with Previous | Blame | View Log

LIB1ASMSRC = avr/libgcc.S
LIB1ASMFUNCS = \
        _mulqi3 \
        _mulhi3 \
        _mulsi3 \
        _udivmodqi4 \
        _divmodqi4 \
        _udivmodhi4 \
        _divmodhi4 \
        _udivmodsi4 \
        _divmodsi4 \
        _prologue \
        _epilogue \
        _exit \
        _cleanup \
        _tablejump \
        _copy_data \
        _clear_bss \
        _ctors \
        _dtors

# We do not have the DF type.
# Most of the C functions in libgcc2 use almost all registers,
# so use -mcall-prologues for smaller code size.
TARGET_LIBGCC2_CFLAGS = -DDF=SF -Dinhibit_libc -mcall-prologues

fp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/avr/t-avr
        echo '#define FLOAT' > fp-bit.c
        echo '#define FLOAT_ONLY' >> fp-bit.c
        echo '#define CMPtype QItype' >> fp-bit.c
        echo '#define DF SF' >> fp-bit.c
        echo '#define DI SI' >> fp-bit.c
        echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
        echo '#define SMALL_MACHINE' >> fp-bit.c
        echo 'typedef int QItype __attribute__ ((mode (QI)));' >> fp-bit.c
        cat $(srcdir)/config/fp-bit.c >> fp-bit.c

FPBIT = fp-bit.c

MULTILIB_OPTIONS = mmcu=avr2/mmcu=avr3/mmcu=avr4/mmcu=avr5
MULTILIB_DIRNAMES = avr2 avr3 avr4 avr5

# The many avr2 matches are not listed here - this is the default.
MULTILIB_MATCHES = \
        mmcu?avr3=mmcu?atmega103 mmcu?avr3=mmcu?atmega603 \
        mmcu?avr3=mmcu?at43usb320 mmcu?avr3=mmcu?at43usb355 \
        mmcu?avr3=mmcu?at76c711 \
        mmcu?avr4=mmcu?atmega8515 mmcu?avr4=mmcu?atmega8535 \
        mmcu?avr4=mmcu?atmega8 mmcu?avr4=mmcu?atmega48 \
        mmcu?avr4=mmcu?atmega88 \
        mmcu?avr5=mmcu?atmega161 mmcu?avr5=mmcu?atmega162 \
        mmcu?avr5=mmcu?atmega163 mmcu?avr5=mmcu?atmega169 \
        mmcu?avr5=mmcu?atmega16 mmcu?avr5=mmcu?atmega168 \
        mmcu?avr5=mmcu?atmega165 \
        mmcu?avr5=mmcu?atmega323 mmcu?avr5=mmcu?atmega32 \
        mmcu?avr5=mmcu?atmega325 mmcu?avr5=mmcu?atmega3250 \
        mmcu?avr5=mmcu?atmega64  mmcu?avr5=mmcu?atmega128 \
        mmcu?avr5=mmcu?atmega645 mmcu?avr5=mmcu?atmega6450 \
        mmcu?avr5=mmcu?at94k mmcu?avr5=mmcu?at90can128

MULTILIB_EXCEPTIONS =

LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.