200feb074b
* config.host (tmake_file): Correct comment. (bfin*-elf*): Remove bfin/t-elf from tmake_file, add t-libgcc-pic. (bfin*-uclinux*): Likewise. (bfin*-linux-uclibc*): Likewise. (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file. * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of assigning. * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise. * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise. * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise. * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise. * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise. * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise. * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise. * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise. * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise. * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise. * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise. * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise. * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise. * config/bfin/t-elf: Remove. * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove. From-SVN: r181098
40 lines
1.5 KiB
Plaintext
40 lines
1.5 KiB
Plaintext
# Prevent some of the more complicated libgcc functions from being
|
|
# compiled. This is because they are generally too big to fit into an
|
|
# AE anyway, so there is no point in having them. Also, some don't
|
|
# compile properly so we'll ignore them for the moment.
|
|
LIB1ASMSRC = picochip/lib1funcs.S
|
|
LIB1ASMFUNCS = _mulsc3 _divsc3
|
|
|
|
# Compile the extra library functions.
|
|
LIB2ADD = \
|
|
$(srcdir)/config/picochip/ashrsi3.S \
|
|
$(srcdir)/config/picochip/ashlsi3.S \
|
|
$(srcdir)/config/picochip/divmodhi4.S \
|
|
$(srcdir)/config/picochip/udivmodhi4.S \
|
|
$(srcdir)/config/picochip/divmodsi4.S \
|
|
$(srcdir)/config/picochip/udivmodsi4.S \
|
|
$(srcdir)/config/picochip/divmod15.S \
|
|
$(srcdir)/config/picochip/ucmpsi2.S \
|
|
$(srcdir)/config/picochip/cmpsi2.S \
|
|
$(srcdir)/config/picochip/clzsi2.S \
|
|
$(srcdir)/config/picochip/adddi3.S \
|
|
$(srcdir)/config/picochip/subdi3.S \
|
|
$(srcdir)/config/picochip/lshrsi3.S \
|
|
$(srcdir)/config/picochip/parityhi2.S \
|
|
$(srcdir)/config/picochip/popcounthi2.S
|
|
|
|
# Special libgcc setup. Make single/double floating point the same,
|
|
# and use our own include files.
|
|
HOST_LIBGCC2_CFLAGS += -DDF=SF -I../../includes/
|
|
|
|
# Switch off all debugging for the embedded libraries.
|
|
# (embedded processors need small libraries by default).
|
|
# NOTE: If the debug level is increased, turn off instruction scheduling.
|
|
LIBGCC2_DEBUG_CFLAGS = -g0
|
|
|
|
# Turn off the building of exception handling libraries.
|
|
LIB2ADDEH =
|
|
|
|
# Turn off ranlib on target libraries.
|
|
RANLIB_FOR_TARGET = cat
|