aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libgcc/config/i386/t-sol2
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/libgcc/config/i386/t-sol2')
-rw-r--r--gcc-4.9/libgcc/config/i386/t-sol213
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc-4.9/libgcc/config/i386/t-sol2 b/gcc-4.9/libgcc/config/i386/t-sol2
new file mode 100644
index 000000000..b9cfb00ef
--- /dev/null
+++ b/gcc-4.9/libgcc/config/i386/t-sol2
@@ -0,0 +1,13 @@
+# We need to use -fPIC when we are using gcc to compile the routines in
+# crtstuff.c. This is only really needed when we are going to use gcc/g++
+# to produce a shared library, but since we don't know ahead of time when
+# we will be doing that, we just always use -fPIC when compiling the
+# routines in crtstuff.c.
+#
+# We must also enable optimization to avoid having any code appear after
+# the call & alignment statement, but before we switch back to the
+# .text section.
+CRTSTUFF_T_CFLAGS = $(PICFLAG) -O2
+
+# Add support for the introduction of 128-bit long double.
+SHLIB_MAPFILES += $(srcdir)/config/i386/libgcc-sol2.ver