]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/frv/t-frv
Move crtstuff support to toplevel libgcc
[thirdparty/gcc.git] / gcc / config / frv / t-frv
1 # Copyright (C) 2002, 2003, 2004, 2011 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 # Name of assembly file containing libgcc1 functions.
20 # This entry must be present, but it can be empty if the target does
21 # not need any assembler functions to support its code generation.
22 #
23 # Alternatively if assembler functions *are* needed then define the
24 # entries below:
25 CROSS_LIBGCC1 = libgcc1-asm.a
26 LIB1ASMSRC = frv/lib1funcs.asm
27 LIB1ASMFUNCS = _cmpll _cmpf _cmpd _addll _subll _andll _orll _xorll _notll _cmov
28 LIB2FUNCS_EXTRA = cmovh.c cmovw.c cmovd.c modi.c umodi.c uitof.c uitod.c ulltof.c ulltod.c
29
30 # If any special flags are necessary when building libgcc2 put them here.
31 TARGET_LIBGCC2_CFLAGS =
32
33 cmovh.c: $(srcdir)/config/frv/cmovh.c
34 $(LN_S) $(srcdir)/config/frv/cmovh.c .
35
36 cmovw.c: $(srcdir)/config/frv/cmovw.c
37 $(LN_S) $(srcdir)/config/frv/cmovw.c .
38
39 cmovd.c: $(srcdir)/config/frv/cmovd.c
40 $(LN_S) $(srcdir)/config/frv/cmovd.c .
41
42 modi.c: $(srcdir)/config/frv/modi.c
43 $(LN_S) $(srcdir)/config/frv/modi.c .
44
45 umodi.c: $(srcdir)/config/frv/umodi.c
46 $(LN_S) $(srcdir)/config/frv/umodi.c .
47
48 uitof.c: $(srcdir)/config/frv/uitof.c
49 $(LN_S) $(srcdir)/config/frv/uitof.c .
50
51 uitod.c: $(srcdir)/config/frv/uitod.c
52 $(LN_S) $(srcdir)/config/frv/uitod.c .
53
54 ulltof.c: $(srcdir)/config/frv/ulltof.c
55 $(LN_S) $(srcdir)/config/frv/ulltof.c .
56
57 ulltod.c: $(srcdir)/config/frv/ulltod.c
58 $(LN_S) $(srcdir)/config/frv/ulltod.c .
59
60 # Enable the following if multilibs are needed.
61 # See gcc/genmultilib, gcc/gcc.texi and gcc/tm.texi for a
62 # description of the options and their values.
63 #
64 #MULTILIB_OPTIONS = mcpu=fr500/mcpu=tomcat/mcpu=simple/mcpu=frv msoft-float mdword/mno-dword
65 #MULTILIB_DIRNAMES = fr500 tomcat simple frv nof dw no-dw
66 #MULTILIB_MATCHES = mcpu?simple=mcpu?fr300 mno-double=mcpu?fr500 mcpu?frv=mdouble
67 #MULTILIB_EXCEPTIONS = *mcpu=simple/*msoft-float* *mcpu=frv/*msoft-float*
68 #MULTILIB_EXTRA_OPTS = mlibrary-pic
69
70 MULTILIB_OPTIONS = mcpu=fr400/mcpu=fr550 mno-pack mlibrary-pic/mfdpic
71 MULTILIB_DIRNAMES = fr400 fr550 unpacked pic fdpic
72 MULTILIB_MATCHES = mcpu?simple=mcpu?fr300 \
73 mlibrary-pic=multilib-library-pic \
74 mcpu?fr400=mcpu?fr405 mcpu?fr400=mcpu?fr450
75 MULTILIB_EXCEPTIONS = mcpu=frv/mno-pack* mcpu=simple/mno-pack*
76
77 LIBGCC = stmp-multilib
78 INSTALL_LIBGCC = install-multilib
79
80 EXTRA_HEADERS = $(srcdir)/config/frv/frv-asm.h