OSDN Git Service

General tidyup of header files.
[pf3gnuchains/gcc-fork.git] / gcc / config / arm / t-semi
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
4 LIBGCC2_DEBUG_CFLAGS = -g0
5
6 # Don't build enquire
7 ENQUIRE=
8
9 # Can't test libgcc1 since it tries to bring in things like malloc, and
10 # there probably isn't a libc to link against until we have a compiler.
11 LIBGCC1_TEST =
12
13 CROSS_LIBGCC1 = libgcc1-asm.a
14 LIB1ASMSRC = arm/lib1funcs.asm
15 LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX _interwork_call_via_rX
16
17 #Don't try to run fixproto
18 STMP_FIXPROTO =
19
20 # These are really part of libgcc1, but this will cause them to be
21 # built correctly, so...
22
23 LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
24
25 fp-bit.c: $(srcdir)/config/fp-bit.c
26         echo '#ifdef __SOFTFP__' > fp-bit.c
27         echo '#define FLOAT' >> fp-bit.c
28         echo '#ifndef __ARMEB__' >> fp-bit.c
29         echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
30         echo '#endif' >> fp-bit.c
31         cat $(srcdir)/config/fp-bit.c >> fp-bit.c
32         echo '#endif' >> fp-bit.c
33
34 dp-bit.c: $(srcdir)/config/fp-bit.c
35         echo '#ifdef __SOFTFP__' > dp-bit.c
36         echo '#ifndef __ARMEB__' >> dp-bit.c
37         echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
38         echo '#define FLOAT_WORD_ORDER_MISMATCH' >> dp-bit.c
39         echo '#endif' >> dp-bit.c
40         cat $(srcdir)/config/fp-bit.c >> dp-bit.c
41         echo '#endif' >> dp-bit.c
42
43 MULTILIB_OPTIONS = msoft-float mapcs-26 mbig-endian mwords-little-endian
44 MULTILIB_DIRNAMES = soft apcs26 big wlittle
45 MULTILIB_EXCEPTIONS = *mapcs-26/*mbig-endian* mwords-little-endian *mapcs-26/mwords-little-endian msoft-float/mwords-little-endian
46
47 LIBGCC = stmp-multilib
48 INSTALL_LIBGCC = install-multilib