1 CROSS_LIBGCC1 = libgcc1-asm.a
2 LIB1ASMSRC = arm/lib1funcs.asm
3 LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX
5 # We want fine grained libraries, so use the new code to build the
6 # floating point emulation libraries.
10 fp-bit.c: $(srcdir)/config/fp-bit.c
11 echo '#define FLOAT' > fp-bit.c
12 echo '#ifndef __ARMEB__' >> fp-bit.c
13 echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
14 echo '#endif' >> fp-bit.c
15 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
17 dp-bit.c: $(srcdir)/config/fp-bit.c
18 echo '#ifndef __ARMEB__' > dp-bit.c
19 echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
20 echo '#define FLOAT_WORD_ORDER_MISMATCH' >> dp-bit.c
21 echo '#endif' >> dp-bit.c
22 cat $(srcdir)/config/fp-bit.c >> dp-bit.c
24 # MULTILIB_OPTIONS = mlittle-endian/mbig-endian
25 # MULTILIB_DIRNAMES = le be
26 # MULTILIB_EXCEPTIONS =
27 # MULTILIB_MATCHES = mbig-endian=mbe mlittle-endian=mle
29 # MULTILIB_OPTIONS += mhard-float/msoft-float
30 # MULTILIB_DIRNAMES += fpu soft
32 # MULTILIB_OPTIONS += mapcs-32/mapcs-26
33 # MULTILIB_DIRNAMES += 32bit 26bit
35 # MULTILIB_OPTIONS += mno-thumb-interwork/mthumb-interwork
36 # MULTILIB_DIRNAMES += normal interwork
37 # MULTILIB_EXCEPTIONS += *mapcs-26/*mthumb-interwork*
39 # MULTILIB_OPTIONS += fno-leading-underscore/fleading-underscore
40 # MULTILIB_DIRNAMES += elf under
42 # MULTILIB_OPTIONS += mcpu=arm7
43 # MULTILIB_DIRNAMES += nofmult
44 # MULTILIB_EXCEPTIONS += *mthumb-interwork*/*mcpu=arm7*
45 # # We have to match all the arm cpu variants which do not have the
46 # # multiply instruction and treat them as if the user had specified
47 # # -mcpu=arm7. Note that in the following the ? is interpreted as
48 # # an = for the purposes of matching command line options.
49 # # FIXME: There ought to be a better way to do this.
50 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm7d
51 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm7di
52 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm70
53 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm700
54 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm700i
55 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm710
56 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm710c
57 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm7100
58 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm7500
59 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm7500fe
60 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm6
61 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm60
62 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm600
63 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm610
64 # MULTILIB_MATCHES += mcpu?arm7=mcpu?arm620
66 # EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o
67 # LIBGCC = stmp-multilib
68 # INSTALL_LIBGCC = install-multilib
70 # If EXTRA_MULTILIB_PARTS is not defined above then define EXTRA_PARTS here
71 EXTRA_PARTS = crtbegin.o crtend.o
73 TARGET_LIBGCC2_CFLAGS = -Dinhibit_libc