Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/arm/linux-eabi.h @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | 77e2b8dfacca |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
1 /* Configuration file for ARM GNU/Linux EABI targets. | 1 /* Configuration file for ARM GNU/Linux EABI targets. |
2 Copyright (C) 2004, 2005, 2006, 2007 | 2 Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 |
3 Free Software Foundation, Inc. | 3 Free Software Foundation, Inc. |
4 Contributed by CodeSourcery, LLC | 4 Contributed by CodeSourcery, LLC |
5 | 5 |
6 This file is part of GCC. | 6 This file is part of GCC. |
7 | 7 |
25 #define TARGET_OS_CPP_BUILTINS() \ | 25 #define TARGET_OS_CPP_BUILTINS() \ |
26 do \ | 26 do \ |
27 { \ | 27 { \ |
28 TARGET_BPABI_CPP_BUILTINS(); \ | 28 TARGET_BPABI_CPP_BUILTINS(); \ |
29 LINUX_TARGET_OS_CPP_BUILTINS(); \ | 29 LINUX_TARGET_OS_CPP_BUILTINS(); \ |
30 ANDROID_TARGET_OS_CPP_BUILTINS(); \ | |
30 } \ | 31 } \ |
31 while (false) | 32 while (false) |
32 | 33 |
33 /* We default to a soft-float ABI so that binaries can run on all | 34 /* We default to a soft-float ABI so that binaries can run on all |
34 target hardware. */ | 35 target hardware. */ |
64 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.3" | 65 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.3" |
65 | 66 |
66 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to | 67 /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to |
67 use the GNU/Linux version, not the generic BPABI version. */ | 68 use the GNU/Linux version, not the generic BPABI version. */ |
68 #undef LINK_SPEC | 69 #undef LINK_SPEC |
69 #define LINK_SPEC LINUX_TARGET_LINK_SPEC BE8_LINK_SPEC | 70 #define LINK_SPEC BE8_LINK_SPEC \ |
71 LINUX_OR_ANDROID_LD (LINUX_TARGET_LINK_SPEC, \ | |
72 LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC) | |
73 | |
74 #undef CC1_SPEC | |
75 #define CC1_SPEC \ | |
76 LINUX_OR_ANDROID_CC (GNU_USER_TARGET_CC1_SPEC, \ | |
77 GNU_USER_TARGET_CC1_SPEC " " ANDROID_CC1_SPEC) | |
78 | |
79 #define CC1PLUS_SPEC \ | |
80 LINUX_OR_ANDROID_CC ("", ANDROID_CC1PLUS_SPEC) | |
81 | |
82 #undef LIB_SPEC | |
83 #define LIB_SPEC \ | |
84 LINUX_OR_ANDROID_LD (GNU_USER_TARGET_LIB_SPEC, \ | |
85 GNU_USER_TARGET_LIB_SPEC " " ANDROID_LIB_SPEC) | |
86 | |
87 #undef STARTFILE_SPEC | |
88 #define STARTFILE_SPEC \ | |
89 LINUX_OR_ANDROID_LD (GNU_USER_TARGET_STARTFILE_SPEC, ANDROID_STARTFILE_SPEC) | |
90 | |
91 #undef ENDFILE_SPEC | |
92 #define ENDFILE_SPEC \ | |
93 LINUX_OR_ANDROID_LD (GNU_USER_TARGET_ENDFILE_SPEC, ANDROID_ENDFILE_SPEC) | |
70 | 94 |
71 /* Use the default LIBGCC_SPEC, not the version in linux-elf.h, as we | 95 /* Use the default LIBGCC_SPEC, not the version in linux-elf.h, as we |
72 do not use -lfloat. */ | 96 do not use -lfloat. */ |
73 #undef LIBGCC_SPEC | 97 #undef LIBGCC_SPEC |
74 | 98 |