1 LIB1ASMSRC = avr/lib1funcs.S
15 _divmodpsi4 _udivmodpsi4 \
54 # We do not have the DF type.
55 # Most of the C functions in libgcc2 use almost all registers,
56 # so use -mcall-prologues for smaller code size.
57 HOST_LIBGCC2_CFLAGS += -DDF=SF -Dinhibit_libc -mcall-prologues -Os
59 # Extra 16-bit integer functions.
60 intfuncs16 = _absvXX2 _addvXX3 _subvXX3 _mulvXX3 _negvXX2 _clrsbXX2
62 hiintfuncs16 = $(subst XX,hi,$(intfuncs16))
63 siintfuncs16 = $(subst XX,si,$(intfuncs16))
65 iter-items := $(hiintfuncs16)
66 iter-labels := $(siintfuncs16)
67 iter-sizes := $(patsubst %,2,$(siintfuncs16)) $(patsubst %,2,$(hiintfuncs16))
70 include $(srcdir)/empty.mk $(patsubst %,$(srcdir)/siditi-object.mk,$(iter-items))
71 libgcc-objects += $(patsubst %,%$(objext),$(hiintfuncs16))
73 ifeq ($(enable_shared),yes)
74 libgcc-s-objects += $(patsubst %,%_s$(objext),$(hiintfuncs16))