OSDN Git Service

* splet.h (SUBTARGET_OVERRIDE_OPTIONS): New to deprecate
authorscox <scox@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Nov 1998 11:40:49 +0000 (11:40 +0000)
committerscox <scox@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Nov 1998 11:40:49 +0000 (11:40 +0000)
* t-splet (MULTILIB_OPTIONS): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23636 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/sparc/splet.h
gcc/config/sparc/t-splet

index f627228..6245a34 100644 (file)
@@ -1,5 +1,9 @@
 Fri Nov 13 11:02:11 1998  Stan Cox  <scox@cygnus.com>
 
+       * splet.h (SUBTARGET_OVERRIDE_OPTIONS): New to
+       deprecate -mlive-g0 and -mbroken-saverestore.
+       * t-splet (MULTILIB_OPTIONS): Likewise.
+       
        * sparc.c (sparc_flat_compute_frame_size): Correctly calc args_size
        in a leaf function.  Clarify total_size/extra_size relationship.
 
index 23c6414..50dbb58 100644 (file)
@@ -51,3 +51,19 @@ Boston, MA 02111-1307, USA.  */
 #define BYTES_BIG_ENDIAN (! TARGET_LITTLE_ENDIAN)
 #undef WORDS_BIG_ENDIAN
 #define WORDS_BIG_ENDIAN (! TARGET_LITTLE_ENDIAN)
+
+#undef SUBTARGET_OVERRIDE_OPTIONS
+#define SUBTARGET_OVERRIDE_OPTIONS                                     \
+  do {                                                                 \
+    if (TARGET_LIVE_G0)                                                        \
+      {                                                                        \
+       warning ("Option '-mlive-g0' deprecated.");                     \
+        target_flags &= ~MASK_LIVE_G0;                                 \
+      }                                                                        \
+    else if (TARGET_BROKEN_SAVERESTORE)                                        \
+      {                                                                        \
+       warning ("Option '-mbroken-saverestore' deprecated.");          \
+        target_flags &= ~MASK_BROKEN_SAVERESTORE;                      \
+      }                                                                        \
+  } while (0)
+
index 3409f5d..3329e0b 100644 (file)
@@ -16,8 +16,7 @@ fp-bit.c: $(srcdir)/config/fp-bit.c
        echo '#define FLOAT' > fp-bit.c
        cat $(srcdir)/config/fp-bit.c >> fp-bit.c
 
-MULTILIB_OPTIONS = mlittle-endian mlive-g0 mbroken-saverestore
-MULTILIB_DIRNAMES = little live-g0 brknsave
-
+MULTILIB_OPTIONS = mlittle-endian mflat
+MULTILIB_DIRNAMES = little flat
 LIBGCC = stmp-multilib
 INSTALL_LIBGCC = install-multilib