* rtl.h (rtunion_def): Constify member `rtstr'.
[official-gcc.git] / gcc / config / arm / t-pe-thumb
blobd12beadc5984091b55a8114edf87eb3a6d16f0e9
1 # Makefile fragment
2 # Copyright (c) 1998 Free Software Foundation
4 CROSS_LIBGCC1 = libgcc1-asm.a
5 LIB1ASMSRC = arm/lib1thumb.asm
6 LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX
8 # We want fine grained libraries, so use the new code to build the
9 # floating point emulation libraries.
10 FPBIT = fp-bit.c
11 DPBIT = dp-bit.c
13 fp-bit.c: $(srcdir)/config/fp-bit.c
14         echo '#define FLOAT' > fp-bit.c
15         echo '#ifndef __ARMEB__' >> fp-bit.c
16         echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
17         echo '#endif' >> fp-bit.c
18         cat $(srcdir)/config/fp-bit.c >> fp-bit.c
20 dp-bit.c: $(srcdir)/config/fp-bit.c
21         echo '#ifndef __ARMEB__' > dp-bit.c
22         echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
23         echo '#define FLOAT_WORD_ORDER_MISMATCH' >> dp-bit.c
24         echo '#endif' >> dp-bit.c
25         cat $(srcdir)/config/fp-bit.c >> dp-bit.c
27 # Rule to build Psion specific GCC functions.
28 pe.o: $(srcdir)/config/arm/pe.c
29         $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/arm/pe.c
31 # Avoid building a duplicate set of libraries for the default endian-ness.
32 MULTILIB_OPTIONS = mthumb-interwork
33 MULTILIB_DIRNAMES = interwork
35 LIBGCC = stmp-multilib
36 INSTALL_LIBGCC = install-multilib