aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/t-linux64
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rs6000/t-linux64')
-rw-r--r--gcc/config/rs6000/t-linux6416
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/config/rs6000/t-linux64 b/gcc/config/rs6000/t-linux64
new file mode 100644
index 00000000000..48b61505bf1
--- /dev/null
+++ b/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