summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/rs6000/t-linux64
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/rs6000/t-linux64')
-rw-r--r--contrib/gcc/config/rs6000/t-linux6416
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/gcc/config/rs6000/t-linux64 b/contrib/gcc/config/rs6000/t-linux64
new file mode 100644
index 0000000..48b6150
--- /dev/null
+++ b/contrib/gcc/config/rs6000/t-linux64
@@ -0,0 +1,16 @@
+# Override t-linux. We don't want -fPIC.
+CRTSTUFF_T_CFLAGS_S =
+TARGET_LIBGCC2_CFLAGS =
+
+EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o \
+ crtsavres.o
+
+# ld provides these functions as needed.
+crtsavres.S:
+ echo >crtsavres.S
+
+$(T)crtsavres.o: crtsavres.S
+ $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -c crtsavres.S -o $(T)crtsavres.o
+
+# Modify the shared lib version file
+SHLIB_MKMAP_OPTS = -v dotsyms=1
OpenPOWER on IntegriCloud