OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [config/] [v850/] [t-v850] - Blame information for rev 299

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 282 jeremybenn
# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2008, 2009
2
# Free Software Foundation, Inc.
3
#
4
# This file is part of GCC.
5
#
6
# GCC is free software; you can redistribute it and/or modify
7
# it under the terms of the GNU General Public License as published by
8
# the Free Software Foundation; either version 3, or (at your option)
9
# any later version.
10
#
11
# GCC is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
# GNU General Public License for more details.
15
#
16
# You should have received a copy of the GNU General Public License
17
# along with GCC; see the file COPYING3.  If not see
18
# .
19
 
20
LIB1ASMSRC = v850/lib1funcs.asm
21
LIB1ASMFUNCS    = _mulsi3 \
22
                  _divsi3 \
23
                  _udivsi3 \
24
                  _modsi3 \
25
                  _umodsi3 \
26
                  _save_2 \
27
                  _save_20 \
28
                  _save_21 \
29
                  _save_22 \
30
                  _save_23 \
31
                  _save_24 \
32
                  _save_25 \
33
                  _save_26 \
34
                  _save_27 \
35
                  _save_28 \
36
                  _save_29 \
37
                  _save_2c \
38
                  _save_20c \
39
                  _save_21c \
40
                  _save_22c \
41
                  _save_23c \
42
                  _save_24c \
43
                  _save_25c \
44
                  _save_26c \
45
                  _save_27c \
46
                  _save_28c \
47
                  _save_29c \
48
                  _save_31c \
49
                  _save_varargs \
50
                  _save_interrupt \
51
                  _save_all_interrupt \
52
                  _callt_save_20 \
53
                  _callt_save_21 \
54
                  _callt_save_22 \
55
                  _callt_save_23 \
56
                  _callt_save_24 \
57
                  _callt_save_25 \
58
                  _callt_save_26 \
59
                  _callt_save_27 \
60
                  _callt_save_28 \
61
                  _callt_save_29 \
62
                  _callt_save_20c \
63
                  _callt_save_21c \
64
                  _callt_save_22c \
65
                  _callt_save_23c \
66
                  _callt_save_24c \
67
                  _callt_save_25c \
68
                  _callt_save_26c \
69
                  _callt_save_27c \
70
                  _callt_save_28c \
71
                  _callt_save_29c \
72
                  _callt_save_31c \
73
                  _callt_save_varargs \
74
                  _callt_save_interrupt \
75
                  _callt_save_all_interrupt \
76
                  _callt_save_r2_r29 \
77
                  _callt_save_r2_r31 \
78
                  _callt_save_r6_r9 \
79
                  _negdi2 \
80
                  _cmpdi2 \
81
                  _ucmpdi2 \
82
                  _muldi3
83
 
84
# We want fine grained libraries, so use the new code to build the
85
# floating point emulation libraries.
86
FPBIT = fp-bit.c
87
DPBIT = dp-bit.c
88
 
89
dp-bit.c: $(srcdir)/config/fp-bit.c
90
        echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c
91
        echo '#define FLOAT_BIT_ORDER_MISMATCH' >>dp-bit.c
92
        echo '#endif'           >> dp-bit.c
93
        cat $(srcdir)/config/fp-bit.c >> dp-bit.c
94
 
95
fp-bit.c: $(srcdir)/config/fp-bit.c
96
        echo '#define FLOAT' > fp-bit.c
97
        echo '#ifdef __LITTLE_ENDIAN__' >> fp-bit.c
98
        echo '#define FLOAT_BIT_ORDER_MISMATCH' >>fp-bit.c
99
        echo '#endif'           >> fp-bit.c
100
        cat $(srcdir)/config/fp-bit.c >> fp-bit.c
101
 
102
# Create target-specific versions of the libraries
103
MULTILIB_OPTIONS  = mv850e
104
MULTILIB_DIRNAMES = v850e
105
INSTALL_LIBGCC    = install-multilib
106
MULTILIB_MATCHES  = mv850e=mv850e1
107
 
108
TCFLAGS = -mno-app-regs -msmall-sld -Wa,-mwarn-signed-overflow -Wa,-mwarn-unsigned-overflow
109
 
110
v850-c.o: $(srcdir)/config/v850/v850-c.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
111
  $(TM_H) $(CPPLIB_H) $(TREE_H) c-pragma.h toplev.h $(GGC_H) $(TM_P_H)
112
        $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
113
                $(srcdir)/config/v850/v850-c.c
114
 
115
# Local Variables:
116
# mode: Makefile
117
# End:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.