libgcc-ibm128-no-tag.patch (1485B)
1From 236634eed58fa6e00cc50f19e7202903a9d8fae6 Mon Sep 17 00:00:00 2001 2From: q66 <daniel@octaforge.org> 3Date: Thu, 12 Dec 2019 04:03:56 +0100 4Subject: [PATCH] libgcc: use -mno-gnu-attribute for 128-bit IBM ldouble 5 support code 6 7Doing this will allow libgcc to emit the appropriate symbols without actually 8emitting the FP ABI tag for them, which allows 64-bit long double environments 9to function and even link statically while still allowing usage of 10explicit __ibm128. 11--- 12 libgcc/config/rs6000/t-ibm-ldouble | 2 +- 13 libgcc/config/rs6000/t-linux | 2 +- 14 2 files changed, 2 insertions(+), 2 deletions(-) 15 16diff --git a/libgcc/config/rs6000/t-ibm-ldouble b/libgcc/config/rs6000/t-ibm-ldouble 17index b132784..fb5eca8 100644 18--- libgcc/config/rs6000/t-ibm-ldouble 19+++ libgcc/config/rs6000/t-ibm-ldouble 20@@ -1,6 +1,6 @@ 21 # GCC 128-bit long double support routines. 22 LIB2ADD += $(srcdir)/config/rs6000/ibm-ldouble.c 23 24-HOST_LIBGCC2_CFLAGS += -mlong-double-128 25+HOST_LIBGCC2_CFLAGS += -mlong-double-128 -mno-gnu-attribute 26 27 SHLIB_MAPFILES += $(srcdir)/config/rs6000/libgcc-ibm-ldouble.ver 28diff --git a/libgcc/config/rs6000/t-linux b/libgcc/config/rs6000/t-linux 29index 4f6d4c4..fa93bb6 100644 30--- libgcc/config/rs6000/t-linux 31+++ libgcc/config/rs6000/t-linux 32@@ -1,3 +1,3 @@ 33 SHLIB_MAPFILES += $(srcdir)/config/rs6000/libgcc-glibc.ver 34 35-HOST_LIBGCC2_CFLAGS += -mlong-double-128 -mno-minimal-toc 36+HOST_LIBGCC2_CFLAGS += -mlong-double-128 -mno-gnu-attribute -mno-minimal-toc 37-- 382.24.0