37ad3b6f947e32b69b028c088cbbeb4ae3dfee25
[gcc.git] / gcc / config / mcore / t-mcore-pe
1 # Copyright (C) 2000, 2001, 2002, 2008 Free Software Foundation, Inc.
2 #
3 # This file is part of GCC.
4 #
5 # GCC is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3, or (at your option)
8 # any later version.
9 #
10 # GCC is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with GCC; see the file COPYING3. If not see
17 # <http://www.gnu.org/licenses/>.
18
19 LIB1ASMSRC = mcore/lib1.asm
20 LIB1ASMFUNCS = _divsi3 _udivsi3 _modsi3 _umodsi3
21
22 # We want fine grained libraries, so use the new code to build the
23 # floating point emulation libraries.
24 FPBIT = fp-bit.c
25 DPBIT = dp-bit.c
26
27 dp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/mcore/t-mcore
28 rm -f dp-bit.c
29 echo '' > dp-bit.c
30 cat $(srcdir)/config/fp-bit.c >> dp-bit.c
31
32 fp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/mcore/t-mcore
33 rm -f fp-bit.c
34 echo '' > fp-bit.c
35 echo '#define FLOAT' > fp-bit.c
36 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
37
38 # could use -msifilter to be safe from interrupt/jmp interactions and others.
39 TARGET_LIBGCC2_CFLAGS=-O3 -DNO_FLOATLIB_FIXUNSDFSI #-msifilter
40
41 # We have values for float.h.
42 CROSS_FLOAT_H = $(srcdir)/config/mcore/gfloat.h
43
44 MULTILIB_OPTIONS = mbig-endian/mlittle-endian m210/m340
45 MULTILIB_DIRNAMES = big little m210 m340
46 MULTILIB_MATCHES =
47 MULTILIB_EXTRA_OPTS =
48 MULTILIB_EXCEPTIONS =
49
50 # EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o
51 LIBGCC = stmp-multilib
52 INSTALL_LIBGCC = install-multilib
53
54 # If EXTRA_MULTILIB_PARTS is not defined above then define EXTRA_PARTS here
55 # EXTRA_PARTS = crtbegin.o crtend.o
56