Mercurial > hg > CbC > CbC_gcc
annotate gcc/config/arm/t-strongarm-elf @ 90:99e7b6776dd1
implemeted __rectype expression. add CbC-exanples/fact-rectype.s
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 25 Dec 2011 04:04:42 +0900 |
parents | 77e2b8dfacca |
children |
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, 2006, 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/>. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
18 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
19 LIB1ASMFUNCS += _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _bb_init_func _clzsi2 _clzdi2 |
0 | 20 |
21 # We want fine grained libraries, so use the new code to build the | |
22 # floating point emulation libraries. | |
23 FPBIT = fp-bit.c | |
24 DPBIT = dp-bit.c | |
25 | |
26 fp-bit.c: $(srcdir)/config/fp-bit.c | |
27 echo '#define FLOAT' > fp-bit.c | |
28 echo '#ifndef __ARMEB__' >> fp-bit.c | |
29 echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c | |
30 echo '#endif' >> fp-bit.c | |
31 cat $(srcdir)/config/fp-bit.c >> fp-bit.c | |
32 | |
33 dp-bit.c: $(srcdir)/config/fp-bit.c | |
34 echo '#ifndef __ARMEB__' > dp-bit.c | |
35 echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c | |
36 echo '#define FLOAT_WORD_ORDER_MISMATCH' >> dp-bit.c | |
37 echo '#endif' >> dp-bit.c | |
38 cat $(srcdir)/config/fp-bit.c >> dp-bit.c | |
39 | |
40 MULTILIB_OPTIONS = mlittle-endian/mbig-endian mhard-float/msoft-float | |
41 MULTILIB_DIRNAMES = le be fpu soft | |
42 MULTILIB_EXCEPTIONS = | |
43 MULTILIB_MATCHES = mbig-endian=mbe mlittle-endian=mle | |
44 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o | |
45 | |
46 LIBGCC = stmp-multilib | |
47 INSTALL_LIBGCC = install-multilib | |
48 | |
49 # Currently there is a bug somewhere in GCC's alias analysis | |
50 # or scheduling code that is breaking _fpmul_parts in fp-bit.c. | |
51 # Disabling function inlining is a workaround for this problem. | |
52 TARGET_LIBGCC2_CFLAGS = -fno-inline | |
53 | |
54 # Assemble startup files. | |
55 $(T)crti.o: $(srcdir)/config/arm/crti.asm $(GCC_PASSES) | |
56 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \ | |
57 -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/arm/crti.asm | |
58 | |
59 $(T)crtn.o: $(srcdir)/config/arm/crtn.asm $(GCC_PASSES) | |
60 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \ | |
61 -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/arm/crtn.asm |