summaryrefslogtreecommitdiff
path: root/gcc/config/v850/t-v850
blob: fcd3b841e30df649dfe34fd289718dd19853b4f5 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2008, 2009, 2010,
# 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/>.

LIB1ASMSRC = v850/lib1funcs.asm
LIB1ASMFUNCS	= _mulsi3 \
		  _divsi3 \
		  _udivsi3 \
		  _modsi3 \
		  _umodsi3 \
		  _save_2 \
		  _save_20 \
		  _save_21 \
		  _save_22 \
		  _save_23 \
		  _save_24 \
		  _save_25 \
		  _save_26 \
		  _save_27 \
		  _save_28 \
		  _save_29 \
		  _save_2c \
		  _save_20c \
		  _save_21c \
		  _save_22c \
		  _save_23c \
		  _save_24c \
		  _save_25c \
		  _save_26c \
		  _save_27c \
		  _save_28c \
		  _save_29c \
		  _save_31c \
		  _save_interrupt \
		  _save_all_interrupt \
                  _callt_save_20 \
		  _callt_save_21 \
		  _callt_save_22 \
		  _callt_save_23 \
		  _callt_save_24 \
		  _callt_save_25 \
		  _callt_save_26 \
		  _callt_save_27 \
		  _callt_save_28 \
		  _callt_save_29 \
		  _callt_save_20c \
		  _callt_save_21c \
		  _callt_save_22c \
		  _callt_save_23c \
		  _callt_save_24c \
		  _callt_save_25c \
		  _callt_save_26c \
		  _callt_save_27c \
		  _callt_save_28c \
		  _callt_save_29c \
		  _callt_save_31c \
		  _callt_save_interrupt \
		  _callt_save_all_interrupt \
		  _callt_save_r2_r29 \
		  _callt_save_r2_r31 \
		  _negdi2 \
		  _cmpdi2 \
		  _ucmpdi2 \
		  _muldi3

# Create target-specific versions of the libraries
MULTILIB_OPTIONS  = mv850/mv850e/mv850e2/mv850e2v3
MULTILIB_DIRNAMES = v850 v850e v850e2 v850e2v3
INSTALL_LIBGCC    = install-multilib
MULTILIB_MATCHES  = mv850e=mv850e1 

TCFLAGS = -mno-app-regs -msmall-sld -Wa,-mwarn-signed-overflow -Wa,-mwarn-unsigned-overflow

v850-c.o: $(srcdir)/config/v850/v850-c.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
  $(TM_H) $(CPPLIB_H) $(TREE_H) $(C_PRAGMA_H) $(GGC_H) $(TM_P_H)
	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
		$(srcdir)/config/v850/v850-c.c 

# Local Variables:
# mode: Makefile
# End: