Mercurial > hg > CbC > CbC_gcc
annotate gcc/config/mcore/t-mcore @ 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) 2000, 2001, 2008 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/>. |
0 | 18 |
19 LIB1ASMSRC = mcore/lib1.asm | |
20 LIB1ASMFUNCS = _divsi3 _udivsi3 _modsi3 _umodsi3 | |
21 | |
22 # Assemble startup files. | |
23 $(T)crti.o: $(srcdir)/config/mcore/crti.asm $(GCC_PASSES) | |
24 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \ | |
25 -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/mcore/crti.asm | |
26 | |
27 $(T)crtn.o: $(srcdir)/config/mcore/crtn.asm $(GCC_PASSES) | |
28 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \ | |
29 -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/mcore/crtn.asm | |
30 | |
31 # We want fine grained libraries, so use the new code to build the | |
32 # floating point emulation libraries. | |
33 FPBIT = fp-bit.c | |
34 DPBIT = dp-bit.c | |
35 | |
36 dp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/mcore/t-mcore | |
37 rm -f dp-bit.c | |
38 echo '' > dp-bit.c | |
39 cat $(srcdir)/config/fp-bit.c >> dp-bit.c | |
40 | |
41 fp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/mcore/t-mcore | |
42 rm -f fp-bit.c | |
43 echo '' > fp-bit.c | |
44 echo '#define FLOAT' > fp-bit.c | |
45 cat $(srcdir)/config/fp-bit.c >> fp-bit.c | |
46 | |
47 # could use -msifilter to be safe from interrupt/jmp interactions and others. | |
48 TARGET_LIBGCC2_CFLAGS=-O3 -DNO_FLOATLIB_FIXUNSDFSI #-msifilter | |
49 | |
50 # We have values for float.h. | |
51 CROSS_FLOAT_H = $(srcdir)/config/mcore/gfloat.h | |
52 | |
53 # If support for -m4align is ever re-enabled then comment out the | |
54 # following line and uncomment the mutlilib lines below. | |
55 | |
56 EXTRA_PARTS = crtbegin.o crtend.o crti.o crtn.o | |
57 | |
58 # MULTILIB_OPTIONS = m8align/m4align | |
59 # MULTILIB_DIRNAMES = align8 align4 | |
60 # MULTILIB_MATCHES = | |
61 # MULTILIB_EXTRA_OPTS = | |
62 # MULTILIB_EXCEPTIONS = | |
63 # EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o | |
64 # LIBGCC = stmp-multilib | |
65 # INSTALL_LIBGCC = install-multilib | |
66 | |
67 MULTILIB_OPTIONS = mbig-endian/mlittle-endian m210/m340 | |
68 MULTILIB_DIRNAMES = big little m210 m340 | |
69 | |
70 EXTRA_PARTS = | |
71 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o | |
72 LIBGCC = stmp-multilib | |
73 INSTALL_LIBGCC = install-multilib |