summaryrefslogtreecommitdiff
path: root/gcc/config/s390/t-tpf
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-15 17:10:20 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-15 17:10:20 +0000
commit7c1f201bfe6ab8fbd93bcdde07884645af7c8b22 (patch)
treef8fe5d530777f658b1282c1fa8183ba0aac2e171 /gcc/config/s390/t-tpf
parent22e5607ec0d84cf4bdde5daf1cd3d4113b9701d0 (diff)
downloadgcc-7c1f201bfe6ab8fbd93bcdde07884645af7c8b22.tar.gz
* config.gcc (s390x-ibm-tpf*): New target.
* doc/invoke.texi: Document it. * config/s390/t-tpf: New file. * config/s390/tpf.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72529 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/s390/t-tpf')
-rw-r--r--gcc/config/s390/t-tpf13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/config/s390/t-tpf b/gcc/config/s390/t-tpf
new file mode 100644
index 00000000000..c04d5622d6c
--- /dev/null
+++ b/gcc/config/s390/t-tpf
@@ -0,0 +1,13 @@
+# Compile crtbeginS.o and crtendS.o with pic.
+CRTSTUFF_T_CFLAGS_S = $(CRTSTUFF_T_CFLAGS) -fPIC
+# Compile libgcc2.a with pic.
+TARGET_LIBGCC2_CFLAGS = -fPIC
+
+# Override t-slibgcc-elf-ver to export some libgcc symbols with
+# the symbol versions that glibc used.
+SHLIB_MAPFILES += $(srcdir)/config/s390/libgcc-glibc.ver
+
+# Use unwind-dw2-fde-glibc
+LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde-glibc.c \
+ $(srcdir)/unwind-sjlj.c $(srcdir)/gthr-gnat.c $(srcdir)/unwind-c.c
+LIB2ADDEHDEP = unwind.inc unwind-dw2-fde.h unwind-dw2-fde.c gthr-gnat.c