2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / config / arm / t-strongarm-pe
blobe401666654a6cc70eccea1a29c530a0ab174d859
1 LIB1ASMSRC = arm/lib1funcs.asm
2 LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _bb_init_func
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 pe.o: $(srcdir)/config/arm/pe.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
24   $(RTL_H) output.h flags.h $(TREE_H) expr.h toplev.h $(TM_P_H)
25         $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/arm/pe.c
27 MULTILIB_OPTIONS  = mhard-float/msoft-float
28 MULTILIB_DIRNAMES = fpu soft
29 MULTILIB_MATCHES  = 
30 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o
32 LIBGCC = stmp-multilib
33 INSTALL_LIBGCC = install-multilib
35 # Currently there is a bug somewhere in GCC's alias analysis
36 # or scheduling code that is breaking _fpmul_parts in fp-bit.c.
37 # Disabling function inlining is a workaround for this problem.
38 TARGET_LIBGCC2_CFLAGS = -Dinhibit_libc -fno-inline