Merge from pch-branch up to tag pch-commit-20020603.
[gcc.git] / gcc / config / mcore / t-mcore-pe
1 LIB1ASMSRC = mcore/lib1.asm
2 LIB1ASMFUNCS = _divsi3 _udivsi3 _modsi3 _umodsi3
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 dp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/mcore/t-mcore
10 rm -f dp-bit.c
11 echo '' > dp-bit.c
12 cat $(srcdir)/config/fp-bit.c >> dp-bit.c
13
14 fp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/mcore/t-mcore
15 rm -f fp-bit.c
16 echo '' > fp-bit.c
17 echo '#define FLOAT' > fp-bit.c
18 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
19
20 T_CFLAGS = -DDONT_HAVE_STDIO -DDONT_HAVE_SETJMP -Dinhibit_libc
21 # could use -msifilter to be safe from interrupt/jmp interactions and others.
22 TARGET_LIBGCC2_CFLAGS=-O3 -DNO_FLOATLIB_FIXUNSDFSI #-msifilter
23
24 # We have values for float.h.
25 CROSS_FLOAT_H = $(srcdir)/config/mcore/gfloat.h
26
27 MULTILIB_OPTIONS = mbig-endian/mlittle-endian m210/m340
28 MULTILIB_DIRNAMES = big little m210 m340
29 MULTILIB_MATCHES =
30 MULTILIB_EXTRA_OPTS =
31 MULTILIB_EXCEPTIONS =
32
33 # EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o
34 LIBGCC = stmp-multilib
35 INSTALL_LIBGCC = install-multilib
36
37 # If EXTRA_MULTILIB_PARTS is not defined above then define EXTRA_PARTS here
38 # EXTRA_PARTS = crtbegin.o crtend.o
39