OSDN Git Service

i * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file.
[pf3gnuchains/gcc-fork.git] / gcc / config / arm / t-arm-elf
1 LIB1ASMSRC = arm/lib1funcs.asm
2 LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _bb_init_func _call_via_rX _interwork_call_via_rX
3
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
8
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
15
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
22
23         
24 MULTILIB_OPTIONS     = marm/mthumb
25 MULTILIB_DIRNAMES    = arm thumb
26 MULTILIB_EXCEPTIONS  = 
27         
28 # MULTILIB_OPTIONS     = mlittle-endian/mbig-endian
29 # MULTILIB_DIRNAMES    = le be
30 # MULTILIB_EXCEPTIONS  = 
31 # MULTILIB_MATCHES     = mbig-endian=mbe mlittle-endian=mle
32
33 # MULTILIB_OPTIONS    += mhard-float/msoft-float
34 # MULTILIB_DIRNAMES   += fpu soft
35
36 # MULTILIB_OPTIONS    += mapcs-32/mapcs-26
37 # MULTILIB_DIRNAMES   += 32bit 26bit
38
39 # MULTILIB_OPTIONS    += mno-thumb-interwork/mthumb-interwork
40 # MULTILIB_DIRNAMES   += normal interwork
41 # MULTILIB_EXCEPTIONS += *mapcs-26/*mthumb-interwork*
42
43 # MULTILIB_OPTIONS    += fno-leading-underscore/fleading-underscore
44 # MULTILIB_DIRNAMES   += elf under
45
46 # MULTILIB_OPTIONS    += mcpu=arm7
47 # MULTILIB_DIRNAMES   += nofmult
48 # MULTILIB_EXCEPTIONS += *mthumb-interwork*/*mcpu=arm7*
49 # # We have to match all the arm cpu variants which do not have the
50 # # multiply instruction and treat them as if the user had specified
51 # # -mcpu=arm7.  Note that in the following the ? is interpreted as
52 # # an = for the purposes of matching command line options.
53 # # FIXME: There ought to be a better way to do this.
54 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm7d
55 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm7di
56 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm70
57 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm700
58 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm700i
59 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm710
60 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm710c
61 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm7100
62 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm7500
63 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm7500fe
64 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm6
65 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm60
66 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm600
67 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm610
68 # MULTILIB_MATCHES    += mcpu?arm7=mcpu?arm620
69
70 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o
71
72 # If EXTRA_MULTILIB_PARTS is not defined above then define EXTRA_PARTS here
73 # EXTRA_PARTS = crtbegin.o crtend.o
74
75 LIBGCC = stmp-multilib
76 INSTALL_LIBGCC = install-multilib
77
78 # Currently there is a bug somewhere in GCC's alias analysis
79 # or scheduling code that is breaking _fpmul_parts in fp-bit.c.
80 # Disabling function inlining is a workaround for this problem.
81 TARGET_LIBGCC2_CFLAGS = -Dinhibit_libc -fno-inline