OSDN Git Service

05bab51ae35e5038e96de45fe0550942892d3c69
[pf3gnuchains/gcc-fork.git] / gcc / config / darwin9.h
1 /* Prefer DWARF2.  */
2 #undef PREFERRED_DEBUGGING_TYPE
3 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
4 #define DARWIN_PREFER_DWARF
5
6 #undef LINK_COMMAND_SPEC
7 #define LINK_COMMAND_SPEC "\
8 %{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
9     %(linker) %l %X %{d} %{s} %{t} %{Z} \
10     %{A} %{e*} %{m} %{r} %{x} \
11     %{o*}%{!o:-o a.out} \
12     %{!A:%{!nostdlib:%{!nostartfiles:%S}}} \
13     %{L*} %{fopenmp:%:include(libgomp.spec)%(link_gomp)}   \
14     %(link_libgcc) %o %{fprofile-arcs|fprofile-generate|coverage:-lgcov} \
15     %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %G %L}} \
16     %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}\n\
17 %{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
18     %{.c|.cc|.C|.cpp|.c++|.cxx|.CPP|.m|.mm: \
19     %{g*:%{!gstabs*:%{!g0: dsymutil %{o*:%*}%{!o:a.out}}}}}}}}}}}}"
20
21 /* The linker can generate branch islands.  */
22 #define DARWIN_LINKER_GENERATES_ISLANDS 1
23
24 #undef  ASM_OUTPUT_ALIGNED_COMMON
25 #define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN)              \
26   do {                                                                  \
27     unsigned HOST_WIDE_INT _new_size = (SIZE);                          \
28     fprintf ((FILE), ".comm ");                                         \
29     assemble_name ((FILE), (NAME));                                     \
30     if (_new_size == 0) _new_size = 1;                                  \
31     fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",            \
32              _new_size, floor_log2 ((ALIGN) / BITS_PER_UNIT));          \
33   } while (0)