[gcc/devel/c++-coroutines] IBM Z: zTPF: Build libgcc with -mtpf-trace-skip
Iain D Sandoe
iains@gcc.gnu.org
Wed Mar 4 21:33:00 GMT 2020
https://gcc.gnu.org/g:0993851dc131608a49da294a9ca7dd102df349ab
commit 0993851dc131608a49da294a9ca7dd102df349ab
Author: Andreas Krebbel <krebbel@linux.ibm.com>
Date: Wed Mar 4 13:29:38 2020 +0100
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.
Diff:
---
libgcc/config.host | 2 +-
libgcc/config/s390/t-tpf | 7 +++++++
2 files changed, 8 insertions(+), 1 deletion(-)
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
More information about the Gcc-cvs
mailing list