aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorMichael Meissner <Michael Meissner meissner@linux.ibm.com>2020-05-05 13:31:03 -0400
committerMichael Meissner <Michael Meissner meissner@linux.ibm.com>2020-05-05 13:31:03 -0400
commit6034b9ca2428c073af950db3447bec785216ed05 (patch)
treecc3bf7242e955f82fe0f2ae8e9c41f6f4556bc0c /libgcc
parent9fc1dff1196d4b7784c64b21e7536112106b18da (diff)
downloadgcc-6034b9ca2428c073af950db3447bec785216ed05.zip
gcc-6034b9ca2428c073af950db3447bec785216ed05.tar.gz
gcc-6034b9ca2428c073af950db3447bec785216ed05.tar.bz2
Patch ieee128-lib-patch003b
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog.meissner7
-rw-r--r--libgcc/config/rs6000/t-float1287
2 files changed, 14 insertions, 0 deletions
diff --git a/libgcc/ChangeLog.meissner b/libgcc/ChangeLog.meissner
index 98683f4..54018d9 100644
--- a/libgcc/ChangeLog.meissner
+++ b/libgcc/ChangeLog.meissner
@@ -1,3 +1,10 @@
+2020-05-05 Michael Meissner <meissner@linux.ibm.com>
+
+ (~/patches/ieee128-lib-patch003b)
+ PR target/94630
+ * config/rs6000/t-float128 (ibm-ldouble$(objext)): Add the
+ -mno-gnu-attribute option.
+
2020-05-05 Michael Meissner <meissner@linux.ibm.com>
Clone branch
diff --git a/libgcc/config/rs6000/t-float128 b/libgcc/config/rs6000/t-float128
index d541344..4d4e80c 100644
--- a/libgcc/config/rs6000/t-float128
+++ b/libgcc/config/rs6000/t-float128
@@ -69,6 +69,13 @@ $(fp128_ppc_obj) : INTERNAL_CFLAGS += $(FP128_CFLAGS_SW)
$(fp128_obj) : $(fp128_includes)
$(fp128_obj) : $(srcdir)/config/rs6000/quad-float128.h
+
+# If we are switching the default long double type, we need to use
+# -mno-gnu-attribute so that the __ibm128 support functions don't signal a
+# linker error since the default long double is now IEEE 128-bit instead of IBM
+# 128-bit.
+ibm-ldouble$(objext) : INTERNAL_CFLAGS += -mno-gnu-attribute
+
$(fp128_softfp_src) : $(srcdir)/soft-fp/$(subst -sw,,$(subst kf,tf,$@)) $(fp128_dep)
@src="$(srcdir)/soft-fp/$(subst -sw,,$(subst kf,tf,$@))"; \
echo "Create $@"; \