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
75 lines
1.5 KiB
Plaintext
75 lines
1.5 KiB
Plaintext
LIB1ASMSRC = avr/lib1funcs.S
|
|
LIB1ASMFUNCS = \
|
|
_mulqi3 \
|
|
_mulhi3 \
|
|
_mulhisi3 \
|
|
_umulhisi3 \
|
|
_usmulhisi3 \
|
|
_muluhisi3 \
|
|
_mulshisi3 \
|
|
_mulsi3 \
|
|
_udivmodqi4 \
|
|
_divmodqi4 \
|
|
_udivmodhi4 \
|
|
_divmodhi4 \
|
|
_divmodpsi4 _udivmodpsi4 \
|
|
_udivmodsi4 \
|
|
_divmodsi4 \
|
|
_prologue \
|
|
_epilogue \
|
|
_exit \
|
|
_cleanup \
|
|
_tablejump \
|
|
_tablejump_elpm \
|
|
_copy_data \
|
|
_clear_bss \
|
|
_ctors \
|
|
_dtors \
|
|
_ffssi2 \
|
|
_ffshi2 \
|
|
_loop_ffsqi2 \
|
|
_ctzsi2 \
|
|
_ctzhi2 \
|
|
_clzdi2 \
|
|
_clzsi2 \
|
|
_clzhi2 \
|
|
_paritydi2 \
|
|
_paritysi2 \
|
|
_parityhi2 \
|
|
_popcounthi2 \
|
|
_popcountsi2 \
|
|
_popcountdi2 \
|
|
_popcountqi2 \
|
|
_bswapsi2 \
|
|
_bswapdi2 \
|
|
_ashldi3 \
|
|
_ashrdi3 \
|
|
_lshrdi3 \
|
|
_fmul _fmuls _fmulsu
|
|
|
|
LIB2FUNCS_EXCLUDE = \
|
|
_clz
|
|
|
|
# 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.
|
|
HOST_LIBGCC2_CFLAGS += -DDF=SF -Dinhibit_libc -mcall-prologues -Os
|
|
|
|
# Extra 16-bit integer functions.
|
|
intfuncs16 = _absvXX2 _addvXX3 _subvXX3 _mulvXX3 _negvXX2 _clrsbXX2
|
|
|
|
hiintfuncs16 = $(subst XX,hi,$(intfuncs16))
|
|
siintfuncs16 = $(subst XX,si,$(intfuncs16))
|
|
|
|
iter-items := $(hiintfuncs16)
|
|
iter-labels := $(siintfuncs16)
|
|
iter-sizes := $(patsubst %,2,$(siintfuncs16)) $(patsubst %,2,$(hiintfuncs16))
|
|
|
|
|
|
include $(srcdir)/empty.mk $(patsubst %,$(srcdir)/siditi-object.mk,$(iter-items))
|
|
libgcc-objects += $(patsubst %,%$(objext),$(hiintfuncs16))
|
|
|
|
ifeq ($(enable_shared),yes)
|
|
libgcc-s-objects += $(patsubst %,%_s$(objext),$(hiintfuncs16))
|
|
endif
|