aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.2.1-5666.3/gcc/config/darwin9.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.2.1-5666.3/gcc/config/darwin9.h')
-rw-r--r--gcc-4.2.1-5666.3/gcc/config/darwin9.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc-4.2.1-5666.3/gcc/config/darwin9.h b/gcc-4.2.1-5666.3/gcc/config/darwin9.h
new file mode 100644
index 000000000..2965f1915
--- /dev/null
+++ b/gcc-4.2.1-5666.3/gcc/config/darwin9.h
@@ -0,0 +1,13 @@
+/* The linker can generate branch islands. */
+#define DARWIN_LINKER_GENERATES_ISLANDS 1
+
+#undef ASM_OUTPUT_ALIGNED_COMMON
+#define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \
+ do { \
+ unsigned HOST_WIDE_INT _new_size = (SIZE); \
+ fprintf ((FILE), ".comm "); \
+ assemble_name ((FILE), (NAME)); \
+ if (_new_size == 0) _new_size = 1; \
+ fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \
+ _new_size, floor_log2 ((ALIGN) / BITS_PER_UNIT)); \
+ } while (0)