1 # Prevent some of the more complicated libgcc functions from being
2 # compiled. This is because they are generally too big to fit into an
3 # AE anyway, so there is no point in having them. Also, some don't
4 # compile properly so we'll ignore them for the moment.
5 LIB1ASMSRC = picochip/lib1funcs.S
6 LIB1ASMFUNCS = _mulsc3 _divsc3
8 # Compile the extra library functions.
10 $(srcdir)/config/picochip/ashrsi3.S \
11 $(srcdir)/config/picochip/ashlsi3.S \
12 $(srcdir)/config/picochip/divmodhi4.S \
13 $(srcdir)/config/picochip/udivmodhi4.S \
14 $(srcdir)/config/picochip/divmodsi4.S \
15 $(srcdir)/config/picochip/udivmodsi4.S \
16 $(srcdir)/config/picochip/divmod15.S \
17 $(srcdir)/config/picochip/ucmpsi2.S \
18 $(srcdir)/config/picochip/cmpsi2.S \
19 $(srcdir)/config/picochip/clzsi2.S \
20 $(srcdir)/config/picochip/adddi3.S \
21 $(srcdir)/config/picochip/subdi3.S \
22 $(srcdir)/config/picochip/lshrsi3.S \
23 $(srcdir)/config/picochip/parityhi2.S \
24 $(srcdir)/config/picochip/popcounthi2.S
26 # Special libgcc setup. Make single/double floating point the same,
27 # and use our own include files.
28 HOST_LIBGCC2_CFLAGS += -DDF=SF -I../../includes/
30 # Switch off all debugging for the embedded libraries.
31 # (embedded processors need small libraries by default).
32 # NOTE: If the debug level is increased, turn off instruction scheduling.
33 LIBGCC2_DEBUG_CFLAGS = -g0
35 # Turn off the building of exception handling libraries.
38 # Turn off ranlib on target libraries.
39 RANLIB_FOR_TARGET = cat