]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/mcore/t-mcore-pe
Backend for Motorola's MCore processors.
[thirdparty/gcc.git] / gcc / config / mcore / t-mcore-pe
1 # Name of assembly file containing libgcc1 functions.
2 # This entry must be present, but it can be empty if the target does
3 # not need any assembler functions to support its code generation.
4
5 CROSS_LIBGCC1 = libgcc1-asm.a
6 LIB1ASMSRC = mcore/lib1.asm
7 LIB1ASMFUNCS = _divsi3 _udivsi3 _modsi3 _umodsi3
8
9 # We want fine grained libraries, so use the new code to build the
10 # floating point emulation libraries.
11 FPBIT = fp-bit.c
12 DPBIT = dp-bit.c
13
14 dp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/mcore/t-mcore
15 rm -f dp-bit.c
16 echo '' > dp-bit.c
17 cat $(srcdir)/config/fp-bit.c >> dp-bit.c
18
19 fp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/mcore/t-mcore
20 rm -f fp-bit.c
21 echo '' > fp-bit.c
22 echo '#define FLOAT' > fp-bit.c
23 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
24
25 T_CFLAGS = -DDONT_HAVE_STDIO -DDONT_HAVE_SETJMP -Dinhibit_libc
26 # could use -msifilter to be safe from interrupt/jmp interactions and others.
27 TARGET_LIBGCC2_CFLAGS=-O3 -DNO_FLOATLIB_FIXUNSDFSI #-msifilter
28
29 # We have values for float.h.
30 CROSS_FLOAT_H = $(srcdir)/config/mcore/gfloat.h
31
32 # let the library provider supply an <assert.h>
33 INSTALL_ASSERT_H=
34
35 MULTILIB_OPTIONS = mbig-endian/mlittle-endian m210/m340
36 MULTILIB_DIRNAMES = big little m210 m340
37 MULTILIB_MATCHES =
38 MULTILIB_EXTRA_OPTS =
39 MULTILIB_EXCEPTIONS =
40
41 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o
42 LIBGCC = stmp-multilib
43 INSTALL_LIBGCC = install-multilib
44
45 # If EXTRA_MULTILIB_PARTS is not defined above then define EXTRA_PARTS here
46 # EXTRA_PARTS = crtbegin.o crtend.o
47