Mercurial > hg > CbC > CbC_gcc
annotate gcc/config/frv/t-frv @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | 04ced10e8804 |
rev | line source |
---|---|
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
1 # Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
2 # |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
3 # This file is part of GCC. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
4 # |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
5 # GCC is free software; you can redistribute it and/or modify |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
6 # it under the terms of the GNU General Public License as published by |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
7 # the Free Software Foundation; either version 3, or (at your option) |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
8 # any later version. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
9 # |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
10 # GCC is distributed in the hope that it will be useful, |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
13 # GNU General Public License for more details. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
14 # |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
15 # You should have received a copy of the GNU General Public License |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
16 # along with GCC; see the file COPYING3. If not see |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
17 # <http://www.gnu.org/licenses/>. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
18 |
0 | 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 # We want fine grained libraries, so use the new code to build the | |
31 # floating point emulation libraries. | |
32 FPBIT = fp-bit.c | |
33 DPBIT = dp-bit.c | |
34 | |
35 # If any special flags are necessary when building libgcc2 put them here. | |
36 TARGET_LIBGCC2_CFLAGS = | |
37 | |
38 fp-bit.c: $(srcdir)/config/fp-bit.c | |
39 echo '#define FLOAT' > fp-bit.c | |
40 echo '#include "config/frv/frv-abi.h"' >> fp-bit.c | |
41 cat $(srcdir)/config/fp-bit.c >> fp-bit.c | |
42 | |
43 dp-bit.c: $(srcdir)/config/fp-bit.c | |
44 echo '#include "config/frv/frv-abi.h"' > dp-bit.c | |
45 cat $(srcdir)/config/fp-bit.c >> dp-bit.c | |
46 | |
47 cmovh.c: $(srcdir)/config/frv/cmovh.c | |
48 $(LN_S) $(srcdir)/config/frv/cmovh.c . | |
49 | |
50 cmovw.c: $(srcdir)/config/frv/cmovw.c | |
51 $(LN_S) $(srcdir)/config/frv/cmovw.c . | |
52 | |
53 cmovd.c: $(srcdir)/config/frv/cmovd.c | |
54 $(LN_S) $(srcdir)/config/frv/cmovd.c . | |
55 | |
56 modi.c: $(srcdir)/config/frv/modi.c | |
57 $(LN_S) $(srcdir)/config/frv/modi.c . | |
58 | |
59 umodi.c: $(srcdir)/config/frv/umodi.c | |
60 $(LN_S) $(srcdir)/config/frv/umodi.c . | |
61 | |
62 uitof.c: $(srcdir)/config/frv/uitof.c | |
63 $(LN_S) $(srcdir)/config/frv/uitof.c . | |
64 | |
65 uitod.c: $(srcdir)/config/frv/uitod.c | |
66 $(LN_S) $(srcdir)/config/frv/uitod.c . | |
67 | |
68 ulltof.c: $(srcdir)/config/frv/ulltof.c | |
69 $(LN_S) $(srcdir)/config/frv/ulltof.c . | |
70 | |
71 ulltod.c: $(srcdir)/config/frv/ulltod.c | |
72 $(LN_S) $(srcdir)/config/frv/ulltod.c . | |
73 | |
74 # Build frvbegin.o and frvend.o | |
75 EXTRA_MULTILIB_PARTS=frvbegin.o frvend.o | |
76 | |
77 # Compile two additional files that are linked with every program | |
78 # linked using GCC on systems using COFF or ELF, for the sake of C++ | |
79 # constructors. | |
80 | |
81 FRVSTUFF_CFLAGS = $(TARGET_LIBGCC2_CFLAGS) | |
82 | |
83 $(T)frvbegin$(objext): $(srcdir)/config/frv/frvbegin.c $(GCC_PASSES) \ | |
84 $(CONFIG_H) defaults.h unwind-dw2-fde.h gbl-ctors.h | |
85 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) $(FRVSTUFF_CFLAGS) \ | |
86 -c $(srcdir)/config/frv/frvbegin.c -o $(T)frvbegin$(objext) | |
87 | |
88 $(T)frvend$(objext): $(srcdir)/config/frv/frvend.c $(GCC_PASSES) \ | |
89 $(CONFIG_H) defaults.h unwind-dw2-fde.h gbl-ctors.h | |
90 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) $(FRVSTUFF_CFLAGS) \ | |
91 -c $(srcdir)/config/frv/frvend.c -o $(T)frvend$(objext) | |
92 | |
93 # Enable the following if multilibs are needed. | |
94 # See gcc/genmultilib, gcc/gcc.texi and gcc/tm.texi for a | |
95 # description of the options and their values. | |
96 # | |
97 #MULTILIB_OPTIONS = mcpu=fr500/mcpu=tomcat/mcpu=simple/mcpu=frv msoft-float mdword/mno-dword | |
98 #MULTILIB_DIRNAMES = fr500 tomcat simple frv nof dw no-dw | |
99 #MULTILIB_MATCHES = mcpu?simple=mcpu?fr300 mno-double=mcpu?fr500 mcpu?frv=mdouble | |
100 #MULTILIB_EXCEPTIONS = *mcpu=simple/*msoft-float* *mcpu=frv/*msoft-float* | |
101 #MULTILIB_EXTRA_OPTS = mlibrary-pic | |
102 | |
103 MULTILIB_OPTIONS = mcpu=fr400/mcpu=fr550 mno-pack mlibrary-pic/mfdpic | |
104 MULTILIB_DIRNAMES = fr400 fr550 unpacked pic fdpic | |
105 MULTILIB_MATCHES = mcpu?simple=mcpu?fr300 \ | |
106 mlibrary-pic=multilib-library-pic \ | |
107 mcpu?fr400=mcpu?fr405 mcpu?fr400=mcpu?fr450 | |
108 MULTILIB_EXCEPTIONS = mcpu=frv/mno-pack* mcpu=simple/mno-pack* | |
109 | |
110 LIBGCC = stmp-multilib | |
111 INSTALL_LIBGCC = install-multilib | |
112 | |
113 EXTRA_HEADERS = $(srcdir)/config/frv/frv-asm.h |