Mercurial > hg > CbC > CbC_gcc
annotate gcc/config/arm/linux-eabi.h @ 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 | f6334be47118 |
children | 04ced10e8804 |
rev | line source |
---|---|
0 | 1 /* Configuration file for ARM GNU/Linux EABI targets. |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
2 Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 |
0 | 3 Free Software Foundation, Inc. |
4 Contributed by CodeSourcery, LLC | |
5 | |
6 This file is part of GCC. | |
7 | |
8 GCC is free software; you can redistribute it and/or modify it | |
9 under the terms of the GNU General Public License as published | |
10 by the Free Software Foundation; either version 3, or (at your | |
11 option) any later version. | |
12 | |
13 GCC is distributed in the hope that it will be useful, but WITHOUT | |
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | |
16 License for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
19 along with GCC; see the file COPYING3. If not see | |
20 <http://www.gnu.org/licenses/>. */ | |
21 | |
22 /* On EABI GNU/Linux, we want both the BPABI builtins and the | |
23 GNU/Linux builtins. */ | |
24 #undef TARGET_OS_CPP_BUILTINS | |
25 #define TARGET_OS_CPP_BUILTINS() \ | |
26 do \ | |
27 { \ | |
28 TARGET_BPABI_CPP_BUILTINS(); \ | |
29 LINUX_TARGET_OS_CPP_BUILTINS(); \ | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
30 ANDROID_TARGET_OS_CPP_BUILTINS(); \ |
0 | 31 } \ |
32 while (false) | |
33 | |
34 /* We default to a soft-float ABI so that binaries can run on all | |
35 target hardware. */ | |
36 #undef TARGET_DEFAULT_FLOAT_ABI | |
37 #define TARGET_DEFAULT_FLOAT_ABI ARM_FLOAT_ABI_SOFT | |
38 | |
39 /* We default to the "aapcs-linux" ABI so that enums are int-sized by | |
40 default. */ | |
41 #undef ARM_DEFAULT_ABI | |
42 #define ARM_DEFAULT_ABI ARM_ABI_AAPCS_LINUX | |
43 | |
44 /* Default to armv5t so that thumb shared libraries work. | |
45 The ARM10TDMI core is the default for armv5t, so set | |
46 SUBTARGET_CPU_DEFAULT to achieve this. */ | |
47 #undef SUBTARGET_CPU_DEFAULT | |
48 #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi | |
49 | |
50 /* TARGET_BIG_ENDIAN_DEFAULT is set in | |
51 config.gcc for big endian configurations. */ | |
52 #undef TARGET_LINKER_EMULATION | |
53 #if TARGET_BIG_ENDIAN_DEFAULT | |
54 #define TARGET_LINKER_EMULATION "armelfb_linux_eabi" | |
55 #else | |
56 #define TARGET_LINKER_EMULATION "armelf_linux_eabi" | |
57 #endif | |
58 | |
59 #undef SUBTARGET_EXTRA_LINK_SPEC | |
60 #define SUBTARGET_EXTRA_LINK_SPEC " -m " TARGET_LINKER_EMULATION | |
61 | |
62 /* Use ld-linux.so.3 so that it will be possible to run "classic" | |
63 GNU/Linux binaries on an EABI system. */ | |
64 #undef GLIBC_DYNAMIC_LINKER | |
65 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.3" | |
66 | |
67 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to | |
68 use the GNU/Linux version, not the generic BPABI version. */ | |
69 #undef LINK_SPEC | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
70 #define LINK_SPEC BE8_LINK_SPEC \ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
71 LINUX_OR_ANDROID_LD (LINUX_TARGET_LINK_SPEC, \ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
72 LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC) |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
73 |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
74 #undef CC1_SPEC |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
75 #define CC1_SPEC \ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
76 LINUX_OR_ANDROID_CC (GNU_USER_TARGET_CC1_SPEC, \ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
77 GNU_USER_TARGET_CC1_SPEC " " ANDROID_CC1_SPEC) |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
78 |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
79 #define CC1PLUS_SPEC \ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
80 LINUX_OR_ANDROID_CC ("", ANDROID_CC1PLUS_SPEC) |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
81 |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
82 #undef LIB_SPEC |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
83 #define LIB_SPEC \ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
84 LINUX_OR_ANDROID_LD (GNU_USER_TARGET_LIB_SPEC, \ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
85 GNU_USER_TARGET_LIB_SPEC " " ANDROID_LIB_SPEC) |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
86 |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
87 #undef STARTFILE_SPEC |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
88 #define STARTFILE_SPEC \ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
89 LINUX_OR_ANDROID_LD (GNU_USER_TARGET_STARTFILE_SPEC, ANDROID_STARTFILE_SPEC) |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
90 |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
91 #undef ENDFILE_SPEC |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
92 #define ENDFILE_SPEC \ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
93 LINUX_OR_ANDROID_LD (GNU_USER_TARGET_ENDFILE_SPEC, ANDROID_ENDFILE_SPEC) |
0 | 94 |
95 /* Use the default LIBGCC_SPEC, not the version in linux-elf.h, as we | |
96 do not use -lfloat. */ | |
97 #undef LIBGCC_SPEC | |
98 | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
99 /* Clear the instruction cache from `beg' to `end'. This is |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
100 implemented in lib1funcs.asm, so ensure an error if this definition |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
101 is used. */ |
0 | 102 #undef CLEAR_INSN_CACHE |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
103 #define CLEAR_INSN_CACHE(BEG, END) not_used |