]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/mcore/t-mcore
i * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file.
[thirdparty/gcc.git] / gcc / config / mcore / t-mcore
1
2 LIB1ASMSRC = mcore/lib1.asm
3 LIB1ASMFUNCS = _divsi3 _udivsi3 _modsi3 _umodsi3
4
5 # Assemble startup files.
6 $(T)crti.o: $(srcdir)/config/mcore/crti.asm $(GCC_PASSES)
7 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
8 -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/mcore/crti.asm
9
10 $(T)crtn.o: $(srcdir)/config/mcore/crtn.asm $(GCC_PASSES)
11 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
12 -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/mcore/crtn.asm
13
14 # We want fine grained libraries, so use the new code to build the
15 # floating point emulation libraries.
16 FPBIT = fp-bit.c
17 DPBIT = dp-bit.c
18
19 dp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/mcore/t-mcore
20 rm -f dp-bit.c
21 echo '' > dp-bit.c
22 cat $(srcdir)/config/fp-bit.c >> dp-bit.c
23
24 fp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/mcore/t-mcore
25 rm -f fp-bit.c
26 echo '' > fp-bit.c
27 echo '#define FLOAT' > fp-bit.c
28 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
29
30 T_CFLAGS = -DDONT_HAVE_STDIO -DDONT_HAVE_SETJMP -Dinhibit_libc
31 # could use -msifilter to be safe from interrupt/jmp interactions and others.
32 TARGET_LIBGCC2_CFLAGS=-O3 -DNO_FLOATLIB_FIXUNSDFSI #-msifilter
33
34 # We have values for float.h.
35 CROSS_FLOAT_H = $(srcdir)/config/mcore/gfloat.h
36
37 # If support for -m4align is ever re-enabled then comment out the
38 # following line and uncomment the mutlilib lines below.
39
40 EXTRA_PARTS = crtbegin.o crtend.o crti.o crtn.o
41
42 # MULTILIB_OPTIONS = m8align/m4align
43 # MULTILIB_DIRNAMES = align8 align4
44 # MULTILIB_MATCHES =
45 # MULTILIB_EXTRA_OPTS =
46 # MULTILIB_EXCEPTIONS =
47 # EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o
48 # LIBGCC = stmp-multilib
49 # INSTALL_LIBGCC = install-multilib
50
51 MULTILIB_OPTIONS = mbig-endian/mlittle-endian m210/m340
52 MULTILIB_DIRNAMES = big little m210 m340
53
54 EXTRA_PARTS =
55 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o
56 LIBGCC = stmp-multilib
57 INSTALL_LIBGCC = install-multilib