aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libgcc/config/t-darwin
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/libgcc/config/t-darwin')
-rw-r--r--gcc-4.9/libgcc/config/t-darwin18
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc-4.9/libgcc/config/t-darwin b/gcc-4.9/libgcc/config/t-darwin
new file mode 100644
index 000000000..a69169fa6
--- /dev/null
+++ b/gcc-4.9/libgcc/config/t-darwin
@@ -0,0 +1,18 @@
+crt3.o: $(srcdir)/config/darwin-crt3.c
+ $(crt_compile) $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -c $<
+
+crttms.o: $(srcdir)/config/darwin-crt-tm.c
+ $(crt_compile) $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -DSTART -c $<
+
+crttme.o: $(srcdir)/config/darwin-crt-tm.c
+ $(crt_compile) $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -DEND -c $<
+
+# -pipe because there's an assembler bug, 4077127, which causes
+# it to not properly process the first # directive, causing temporary
+# file names to appear in stabs, causing the bootstrap to fail. Using -pipe
+# works around this by not having any temporary file names.
+HOST_LIBGCC2_CFLAGS += -pipe
+
+# Use unwind-dw2-fde-darwin
+LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/config/unwind-dw2-fde-darwin.c \
+ $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c