Add support for XScale target
[official-gcc.git] / gcc / config / arm / t-xscale-elf
blobad84fad4f627698b5d0ac41eb21714af5fdf1eb6
1 CROSS_LIBGCC1 = libgcc1-asm.a
2 LIB1ASMSRC = arm/lib1funcs.asm
3 LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _bb_init_func _call_via_rX _interwork_call_via_rX
5 # We want fine grained libraries, so use the new code to build the
6 # floating point emulation libraries.
7 FPBIT = fp-bit.c
8 DPBIT = dp-bit.c
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 # Note XScale does not support 26 bit APCS.
30 # Note XScale does not support hard FP
32 MULTILIB_OPTIONS    += mno-thumb-interwork/mthumb-interwork
33 MULTILIB_DIRNAMES   += normal interwork
35 MULTILIB_OPTIONS    += marm/mthumb
36 MULTILIB_DIRNAMES   += arm thumb
37 MULTILIB_EXCEPTIONS += *mhard-float/*mthumb*
39 # CYGNUS LOCAL nickc/redundant multilibs
40 MULTILIB_REDUNDANT_DIRS = interwork/thumb=thumb
41 # END CYGNUS LOCAL
44 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o
45 LIBGCC               = stmp-multilib
46 INSTALL_LIBGCC       = install-multilib
48 # Currently there is a bug somewhere in GCC's alias analysis
49 # or scheduling code that is breaking _fpmul_parts in libgcc1.c.
50 # Disabling function inlining is a workaround for this problem.
51 TARGET_LIBGCC2_CFLAGS = -Dinhibit_libc -fno-inline