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-v850e] - Blame information for rev 282

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 282 jeremybenn
# Copyright (C) 2003, 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
# .
18
 
19
LIB1ASMSRC = v850/lib1funcs.asm
20
LIB1ASMFUNCS    = _mulsi3 \
21
                  _divsi3 \
22
                  _udivsi3 \
23
                  _modsi3 \
24
                  _umodsi3 \
25
                  _save_2 \
26
                  _save_20 \
27
                  _save_21 \
28
                  _save_22 \
29
                  _save_23 \
30
                  _save_24 \
31
                  _save_25 \
32
                  _save_26 \
33
                  _save_27 \
34
                  _save_28 \
35
                  _save_29 \
36
                  _save_2c \
37
                  _save_20c \
38
                  _save_21c \
39
                  _save_22c \
40
                  _save_23c \
41
                  _save_24c \
42
                  _save_25c \
43
                  _save_26c \
44
                  _save_27c \
45
                  _save_28c \
46
                  _save_29c \
47
                  _save_31c \
48
                  _save_varargs \
49
                  _save_interrupt \
50
                  _save_all_interrupt \
51
                  _callt_save_20 \
52
                  _callt_save_21 \
53
                  _callt_save_22 \
54
                  _callt_save_23 \
55
                  _callt_save_24 \
56
                  _callt_save_25 \
57
                  _callt_save_26 \
58
                  _callt_save_27 \
59
                  _callt_save_28 \
60
                  _callt_save_29 \
61
                  _callt_save_20c \
62
                  _callt_save_21c \
63
                  _callt_save_22c \
64
                  _callt_save_23c \
65
                  _callt_save_24c \
66
                  _callt_save_25c \
67
                  _callt_save_26c \
68
                  _callt_save_27c \
69
                  _callt_save_28c \
70
                  _callt_save_29c \
71
                  _callt_save_31c \
72
                  _callt_save_varargs \
73
                  _callt_save_interrupt \
74
                  _callt_save_all_interrupt \
75
                  _callt_save_r2_r29 \
76
                  _callt_save_r2_r31 \
77
                  _callt_save_r6_r9 \
78
                  _negdi2 \
79
                  _cmpdi2 \
80
                  _ucmpdi2 \
81
                  _muldi3
82
 
83
# We want fine grained libraries, so use the new code to build the
84
# floating point emulation libraries.
85
FPBIT = fp-bit.c
86
DPBIT = dp-bit.c
87
 
88
dp-bit.c: $(srcdir)/config/fp-bit.c
89
        echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c
90
        echo '#define FLOAT_BIT_ORDER_MISMATCH' >>dp-bit.c
91
        echo '#endif'           >> dp-bit.c
92
        cat $(srcdir)/config/fp-bit.c >> dp-bit.c
93
 
94
fp-bit.c: $(srcdir)/config/fp-bit.c
95
        echo '#define FLOAT' > fp-bit.c
96
        echo '#ifdef __LITTLE_ENDIAN__' >> fp-bit.c
97
        echo '#define FLOAT_BIT_ORDER_MISMATCH' >>fp-bit.c
98
        echo '#endif'           >> fp-bit.c
99
        cat $(srcdir)/config/fp-bit.c >> fp-bit.c
100
 
101
# Create target-specific versions of the libraries
102
MULTILIB_OPTIONS  = mv850
103
MULTILIB_DIRNAMES = v850
104
INSTALL_LIBGCC    = install-multilib
105
 
106
TCFLAGS = -mno-app-regs -msmall-sld -Wa,-mwarn-signed-overflow -Wa,-mwarn-unsigned-overflow
107
 
108
v850-c.o: $(srcdir)/config/v850/v850-c.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
109
  $(TM_H) $(CPPLIB_H) $(TREE_H) c-pragma.h toplev.h $(GGC_H) $(TM_P_H)
110
        $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
111
                $(srcdir)/config/v850/v850-c.c
112
 
113
# Local Variables:
114
# mode: Makefile
115
# End:

powered by: WebSVN 2.1.0

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