summaryrefslogtreecommitdiff
path: root/gcc/config/frv/t-frv
blob: e31f823c30ace42713fb0d43ec84f88c21dd2974 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Copyright (C) 2002, 2003, 2004, 2011 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
# GCC is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GCC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3.  If not see
# <http://www.gnu.org/licenses/>.

LIB2FUNCS_EXTRA	= cmovh.c cmovw.c cmovd.c modi.c umodi.c uitof.c uitod.c ulltof.c ulltod.c

# If any special flags are necessary when building libgcc2 put them here.
TARGET_LIBGCC2_CFLAGS =

cmovh.c: $(srcdir)/config/frv/cmovh.c
	$(LN_S) $(srcdir)/config/frv/cmovh.c .

cmovw.c: $(srcdir)/config/frv/cmovw.c
	$(LN_S) $(srcdir)/config/frv/cmovw.c .

cmovd.c: $(srcdir)/config/frv/cmovd.c
	$(LN_S) $(srcdir)/config/frv/cmovd.c .

modi.c: $(srcdir)/config/frv/modi.c
	$(LN_S) $(srcdir)/config/frv/modi.c .

umodi.c: $(srcdir)/config/frv/umodi.c
	$(LN_S) $(srcdir)/config/frv/umodi.c .

uitof.c: $(srcdir)/config/frv/uitof.c
	$(LN_S) $(srcdir)/config/frv/uitof.c .

uitod.c: $(srcdir)/config/frv/uitod.c
	$(LN_S) $(srcdir)/config/frv/uitod.c .

ulltof.c: $(srcdir)/config/frv/ulltof.c
	$(LN_S) $(srcdir)/config/frv/ulltof.c .

ulltod.c: $(srcdir)/config/frv/ulltod.c
	$(LN_S) $(srcdir)/config/frv/ulltod.c .

# Enable the following if multilibs are needed.
# See gcc/genmultilib, gcc/gcc.texi and gcc/tm.texi for a
# description of the options and their values.
#
#MULTILIB_OPTIONS	= mcpu=fr500/mcpu=tomcat/mcpu=simple/mcpu=frv msoft-float mdword/mno-dword
#MULTILIB_DIRNAMES	= fr500 tomcat simple frv nof dw no-dw
#MULTILIB_MATCHES	= mcpu?simple=mcpu?fr300 mno-double=mcpu?fr500 mcpu?frv=mdouble
#MULTILIB_EXCEPTIONS	= *mcpu=simple/*msoft-float* *mcpu=frv/*msoft-float*
#MULTILIB_EXTRA_OPTS	= mlibrary-pic

MULTILIB_OPTIONS	= mcpu=fr400/mcpu=fr550 mno-pack mlibrary-pic/mfdpic
MULTILIB_DIRNAMES	= fr400 fr550 unpacked pic fdpic
MULTILIB_MATCHES	= mcpu?simple=mcpu?fr300 \
			  mlibrary-pic=multilib-library-pic \
			  mcpu?fr400=mcpu?fr405 mcpu?fr400=mcpu?fr450
MULTILIB_EXCEPTIONS	= mcpu=frv/mno-pack* mcpu=simple/mno-pack*

LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib

EXTRA_HEADERS = $(srcdir)/config/frv/frv-asm.h