aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.ibm.com>2020-03-04 13:29:38 +0100
committerAndreas Krebbel <krebbel@linux.ibm.com>2020-03-04 13:50:02 +0100
commit0993851dc131608a49da294a9ca7dd102df349ab (patch)
tree45c2a5a7a357eb62f1f0fe282d5f574945ce8ac1 /libgcc
parent181e2a2fa5e6d444a0aee95add450e5bcc659ca9 (diff)
downloadgcc-0993851dc131608a49da294a9ca7dd102df349ab.zip
gcc-0993851dc131608a49da294a9ca7dd102df349ab.tar.gz
gcc-0993851dc131608a49da294a9ca7dd102df349ab.tar.bz2
IBM Z: zTPF: Build libgcc with -mtpf-trace-skip
libgcc is supposed to be built with the trace skip flags and branch targets. Add a zTPF header file fragment and add the -mtpf-trace-skip option. libgcc/ChangeLog: 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com> * config.host: Include the new makefile fragment. * config/s390/t-tpf: New file.
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/config.host2
-rw-r--r--libgcc/config/s390/t-tpf7
2 files changed, 8 insertions, 1 deletions
diff --git a/libgcc/config.host b/libgcc/config.host
index 4198dc8..1ff4159 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -1301,7 +1301,7 @@ s390x-*-linux*)
md_unwind_header=s390/linux-unwind.h
;;
s390x-ibm-tpf*)
- tmake_file="${tmake_file} s390/t-crtstuff t-libgcc-pic t-eh-dw2-dip"
+ tmake_file="${tmake_file} s390/t-crtstuff t-libgcc-pic t-eh-dw2-dip s390/t-tpf"
extra_parts="crtbeginS.o crtendS.o"
md_unwind_header=s390/tpf-unwind.h
;;
diff --git a/libgcc/config/s390/t-tpf b/libgcc/config/s390/t-tpf
new file mode 100644
index 0000000..50da223
--- /dev/null
+++ b/libgcc/config/s390/t-tpf
@@ -0,0 +1,7 @@
+DFP_ENABLE = true
+
+# Override t-slibgcc-elf-ver to export some libgcc symbols with
+# the symbol versions that glibc used.
+SHLIB_MAPFILES = libgcc-std.ver $(srcdir)/config/s390/libgcc-glibc.ver
+
+HOST_LIBGCC2_CFLAGS += -mlong-double-128 -mtpf-trace-skip