update copyrights in config dir.
[official-gcc.git] / gcc / config / arm / t-thumb-linux
blobe028ac04c4eb5b34686cf7a6debb0d59cb1cf16c
1 # Just for these, we omit the frame pointer since it makes such a big
2 # difference.  It is then pointless adding debugging.
3 TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer -fPIC
4 LIBGCC2_DEBUG_CFLAGS = -g0
6 # Don't build enquire
7 ENQUIRE=
9 # Since libgcc1 is an assembler file, we can build it automatically for the
10 # cross-compiler.
11 CROSS_LIBGCC1 = libgcc1-asm.a
12 LIBGCC1 = libgcc1-asm.a
13 LIB1ASMSRC = arm/lib1thumb.asm
14 LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3  _dvmd_tls _call_via_rX _interwork_call_via_rX
16 MULTILIB_OPTIONS     = mlittle-endian/mbig-endian
17 MULTILIB_DIRNAMES    = le be
18 MULTILIB_MATCHES     = mbig-endian=mbe mlittle-endian=mle
19 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o
21 LIBGCC = stmp-multilib
22 INSTALL_LIBGCC = install-multilib
24 # We want fine grained libraries, so use the new code to build the
25 # floating point emulation libraries.
26 FPBIT = fp-bit.c
27 DPBIT = dp-bit.c
29 fp-bit.c: $(srcdir)/config/fp-bit.c
30         echo '#define FLOAT' > fp-bit.c
31         echo '#ifndef __ARMEB__' >> fp-bit.c
32         echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
33         echo '#endif' >> fp-bit.c
34         cat $(srcdir)/config/fp-bit.c >> fp-bit.c
36 dp-bit.c: $(srcdir)/config/fp-bit.c
37         echo '#ifndef __ARMEB__' > dp-bit.c
38         echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
39         echo '#define FLOAT_WORD_ORDER_MISMATCH' >> dp-bit.c
40         echo '#endif' >> dp-bit.c
41         cat $(srcdir)/config/fp-bit.c >> dp-bit.c