* tree-ssa-loop-prefetch.c (determine_unroll_factor): Bound the unroll
[official-gcc.git] / gcc / config / arm / t-xscale-elf
blobd7a8124eea735e15dfe00c58aced8b0fd15a44d4
1 LIB1ASMSRC = arm/lib1funcs.asm
2 LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _bb_init_func _call_via_rX _interwork_call_via_rX
4 # We want fine grained libraries, so use the new code to build the
5 # floating point emulation libraries.
6 FPBIT = fp-bit.c
7 DPBIT = dp-bit.c
9 fp-bit.c: $(srcdir)/config/fp-bit.c
10         echo '#define FLOAT' > fp-bit.c
11         echo '#ifndef __ARMEB__' >> fp-bit.c
12         echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
13         echo '#endif' >> fp-bit.c
14         cat $(srcdir)/config/fp-bit.c >> fp-bit.c
16 dp-bit.c: $(srcdir)/config/fp-bit.c
17         echo '#ifndef __ARMEB__' > dp-bit.c
18         echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
19         echo '#define FLOAT_WORD_ORDER_MISMATCH' >> dp-bit.c
20         echo '#endif' >> dp-bit.c
21         cat $(srcdir)/config/fp-bit.c >> dp-bit.c
23 MULTILIB_OPTIONS     = mbig-endian
24 MULTILIB_DIRNAMES    = be
25 MULTILIB_EXCEPTIONS  = 
26 MULTILIB_MATCHES     = mbig-endian=mbe mlittle-endian=mle
28 # Note XScale does not support hard FP
30 MULTILIB_OPTIONS    += mthumb-interwork
31 MULTILIB_DIRNAMES   += interwork
33 MULTILIB_OPTIONS    += mthumb
34 MULTILIB_DIRNAMES   += thumb
35 MULTILIB_EXCEPTIONS += *mhard-float/*mthumb*
37 MULTILIB_REDUNDANT_DIRS = interwork/thumb=thumb
39 # The iWMMXt multilibs are suppressed for now because gcc only
40 # supports generating them with the IWMMXT or AAPCS ABIs, neither of
41 # which is the default.  Until GCC can generate code for an iWMMXt
42 # which will work with the default ABI it is not possible to safely
43 # generate these multilibs.
45 # MULTILIB_OPTIONS    += mcpu=iwmmxt
46 # MULTILIB_DIRNAMES   += iwmmxt
47 # MULTILIB_REDUNDANT_DIRS += interwork/thumb/iwmmxt=thumb
49 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o
51 LIBGCC               = stmp-multilib
52 INSTALL_LIBGCC       = install-multilib
54 # Currently there is a bug somewhere in GCC's alias analysis
55 # or scheduling code that is breaking _fpmul_parts in fp-bit.c.
56 # Disabling function inlining is a workaround for this problem.
57 TARGET_LIBGCC2_CFLAGS = -fno-inline
59 # Assemble startup files.
60 $(T)crti.o: $(srcdir)/config/arm/crti.asm $(GCC_PASSES)
61         $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
62         -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/arm/crti.asm
64 $(T)crtn.o: $(srcdir)/config/arm/crtn.asm $(GCC_PASSES)
65         $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
66         -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/arm/crtn.asm