public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/work024)] Undo last patch.
@ 2020-11-04 20:05 Michael Meissner
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Meissner @ 2020-11-04 20:05 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:f89520c6b47bd977ea1bbef357640a14ad041a82

commit f89520c6b47bd977ea1bbef357640a14ad041a82
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Wed Nov 4 15:04:47 2020 -0500

    Undo last patch.
    
    libgcc/
    2020-11-04  Michael Meissner  <meissner@linux.ibm.com>
    
            Undo:
            PR libgcc/97543
            * config/rs6000/t-linux (HOST_LIBGCC2_CFLAGS): Don't set
            -mlong-double-128 for all modules.  Instead set
            -mno-gnu-attributes.
            (IBM128_OBJS): New make variable for long double support.
            (IBM128_S_OBJS): New make variable for long double support.
            (IBM128_ALL_OBJS): New make variable for long double support.
            (IBM128_CFLAGS): New make variable for long double support.

Diff:
---
 libgcc/config/rs6000/t-linux | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)

diff --git a/libgcc/config/rs6000/t-linux b/libgcc/config/rs6000/t-linux
index b2a079c6b54..ed821947b66 100644
--- a/libgcc/config/rs6000/t-linux
+++ b/libgcc/config/rs6000/t-linux
@@ -1,22 +1,6 @@
 SHLIB_MAPFILES += $(srcdir)/config/rs6000/libgcc-glibc.ver
 
-# On the modules that deal with IBM 128-bit values, we need to make sure that
-# TFmode uses the IBM extended double format.
-IBM128_OBJS	= ibm-ldouble$(objext) _powitf2$(objext) ppc64-fp$(objext) \
-		  _divtc3$(object) _multc3$(object) \
-		  _fixtfdi$(object) _fixunstfdi$(object) \
-		  _floatditf$(objext) _floatunsditf$(objext)
-
-IBM128_S_OBJS	= $(patsubst %$(objext),%_s$(objext),$(IBM128_OBJS))
-IBM128_ALL_OBJS	= $(IBM128_OBJS) $(IBM128_S_OBJS)
-
-IBM128_CFLAGS	= -mlong-double-128 -Wno-psabi -mabi=ibmlongdouble
-
-$(IBM128_ALL_OBJS) : INTERNAL_CFLAGS += $(IBM128_CFLAGS)
-
-# Turn off gnu attributes for the whole library.  This allows us to build
-# libgcc that supports the different long double formats.
-HOST_LIBGCC2_CFLAGS += -mno-gnu-attribute
+HOST_LIBGCC2_CFLAGS += -mlong-double-128
 
 # This is a way of selecting -mcmodel=small for ppc64, which gives
 # smaller and faster libgcc code.  Directly specifying -mcmodel=small


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gcc(refs/users/meissner/heads/work024)] Undo last patch.
@ 2020-11-05  2:11 Michael Meissner
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Meissner @ 2020-11-05  2:11 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:f52703e3be86e96fc9838d69dbbbf980d726c28b

commit f52703e3be86e96fc9838d69dbbbf980d726c28b
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Wed Nov 4 21:11:14 2020 -0500

    Undo last patch.
    
    libgcc/
    2020-11-04  Michael Meissner  <meissner@linux.ibm.com>
    
            Undo:
            PR libgcc/97543
            * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Do not set
            -mno-gnu-attributes here.
            * config/rs6000/t-linux (libgcc-s-objects): Compile all modules
            for the shared library with -mno-gnu-attributes.

Diff:
---
 libgcc/config/rs6000/t-float128-hw | 2 +-
 libgcc/config/rs6000/t-linux       | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/libgcc/config/rs6000/t-float128-hw b/libgcc/config/rs6000/t-float128-hw
index acdddb0ba01..d64ca4dd694 100644
--- a/libgcc/config/rs6000/t-float128-hw
+++ b/libgcc/config/rs6000/t-float128-hw
@@ -25,7 +25,7 @@ fp128_sed_hw		= -hw
 # Build the hardware support functions with appropriate hardware support
 FP128_CFLAGS_HW		 = -Wno-type-limits -mvsx -mfloat128 \
 			   -mpower8-vector -mpower9-vector \
-			   -mfloat128-hardware \
+			   -mfloat128-hardware -mno-gnu-attribute \
 			   -I$(srcdir)/soft-fp \
 			   -I$(srcdir)/config/rs6000 \
 			   $(FLOAT128_HW_INSNS)
diff --git a/libgcc/config/rs6000/t-linux b/libgcc/config/rs6000/t-linux
index c931b39c6f3..ed821947b66 100644
--- a/libgcc/config/rs6000/t-linux
+++ b/libgcc/config/rs6000/t-linux
@@ -6,7 +6,3 @@ HOST_LIBGCC2_CFLAGS += -mlong-double-128
 # smaller and faster libgcc code.  Directly specifying -mcmodel=small
 # would need to take into account targets for which -mcmodel is invalid.
 HOST_LIBGCC2_CFLAGS += -mno-minimal-toc
-
-# Turn off gnu attributes for long double size on the shared library modules,
-# but leave it on for the static modules.
-$(libgcc-s-objects) : INTERNAL_CFLAGS += -mno-gnu-attribute


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-05  2:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-04 20:05 [gcc(refs/users/meissner/heads/work024)] Undo last patch Michael Meissner
2020-11-05  2:11 Michael Meissner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).