Mercurial > hg > CbC > CbC_gcc
annotate gcc/config/darwin9.h @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | 77e2b8dfacca |
children | f6334be47118 |
rev | line source |
---|---|
0 | 1 /* Target definitions for Darwin (Mac OS X) systems. |
63
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
2 Copyright (C) 2006, 2007, 2010 Free Software Foundation, Inc. |
0 | 3 Contributed by Apple Inc. |
4 | |
5 This file is part of GCC. | |
6 | |
7 GCC is free software; you can redistribute it and/or modify | |
8 it under the terms of the GNU General Public License as published by | |
9 the Free Software Foundation; either version 3, or (at your option) | |
10 any later version. | |
11 | |
12 GCC is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with GCC; see the file COPYING3. If not see | |
19 <http://www.gnu.org/licenses/>. */ | |
20 | |
21 /* Prefer DWARF2. */ | |
22 #undef PREFERRED_DEBUGGING_TYPE | |
23 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG | |
24 #define DARWIN_PREFER_DWARF | |
25 | |
26 /* Since DWARF2 is default, conditions for running dsymutil are different. */ | |
27 #undef LINK_COMMAND_SPEC | |
28 #define LINK_COMMAND_SPEC "\ | |
29 %{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ | |
30 %(linker) %l %X %{d} %{s} %{t} %{Z} \ | |
31 %{A} %{e*} %{m} %{r} %{x} \ | |
32 %{o*}%{!o:-o a.out} \ | |
33 %{!A:%{!nostdlib:%{!nostartfiles:%S}}} \ | |
63
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
34 %{L*} %(link_libgcc) %o %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} \ |
b7f97abdc517
update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
35 %{flto} %{fwhopr} \ |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
36 %{fopenmp|ftree-parallelize-loops=*: \ |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
37 %{static|static-libgcc|static-libstdc++|static-libgfortran: libgomp.a%s; : -lgomp } } \ |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
38 %{!nostdlib:%{!nodefaultlibs: %(link_ssp) %G %L }} \ |
0 | 39 %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}\n\ |
40 %{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ | |
41 %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm: \ | |
42 %{g*:%{!gstabs*:%{!g0: dsymutil %{o*:%*}%{!o:a.out}}}}}}}}}}}}" | |
43 | |
44 /* libSystem contains unwind information for signal frames. */ | |
45 #define DARWIN_LIBSYSTEM_HAS_UNWIND | |
46 | |
47 /* The linker can generate branch islands. */ | |
48 #define DARWIN_LINKER_GENERATES_ISLANDS 1 | |
49 | |
50 #undef ASM_OUTPUT_ALIGNED_COMMON | |
51 #define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \ | |
52 do { \ | |
53 unsigned HOST_WIDE_INT _new_size = (SIZE); \ | |
54 fprintf ((FILE), ".comm "); \ | |
55 assemble_name ((FILE), (NAME)); \ | |
56 if (_new_size == 0) _new_size = 1; \ | |
57 fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ | |
58 _new_size, floor_log2 ((ALIGN) / BITS_PER_UNIT)); \ | |
59 } while (0) |