delete unused files
authorMichael Meissner <gnu@the-meissners.org>
Mon, 6 Nov 1995 15:40:26 +0000 (15:40 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Mon, 6 Nov 1995 15:40:26 +0000 (15:40 +0000)
sim/ppc/ChangeLog
sim/ppc/build-psim [deleted file]
sim/ppc/config.hdr [deleted file]
sim/ppc/config.make [deleted file]

index 29b3692b1e7f79017f17d835789206df9a27a44f..e7c655fea532523115997fa6751f1053b508ec5b 100644 (file)
@@ -1,3 +1,8 @@
+Mon Nov  6 10:39:28 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * config.{make,hdr}: Delete, no longer used.
+       * build-psim: Ditto.
+
 Mon Nov  6 20:49:56 1995  Andrew Cagney  <cagney@highland.com.au>
 
        * sim_calls.c (sim_open): Fix parsing of `target sim' options.
diff --git a/sim/ppc/build-psim b/sim/ppc/build-psim
deleted file mode 100755 (executable)
index ea7318a..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-#!/bin/sh
-
-case "`uname -s`-`uname -r`" in
-  NetBSD* )
-    cflags="-Wall -Wno-unused -Wmissing-prototypes -Werror"
-    ;;
-  SunOS-5* )
-    cflags="-gstabs+"
-    ;;
-  SunOS-4* )
-    cflags="-Werror"
-    ;;
-esac
-
-for target in "$@"
-do
-
-  echo ""
-  echo "$target"
-  echo ""
-
-  if [ $# -gt 1 ]
-  then
-    make clean
-  fi
-
-  case $target in
-    *unsafe* )
-      with_trace="-DWITH_TRACE=0"
-      with_assert="-DWITH_ASSERT=0"
-      unsafe_flags="-g0 -fomit-frame-pointer -fno-strength-reduce"
-      ;;
-    *safe* )
-      with_trace=
-      with_assert=
-      unsafe_flags="-g0"
-      ;;
-    * )
-      with_trace=
-      with_assert=
-      unsafe_flags=
-      ;;
-  esac
-
-  case $target in
-    *little* )
-      with_target_byte_order="-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN"
-      ;;
-    *big* )
-      with_target_byte_order="-DWITH_TARGET_BYTE_ORDER=BIG_ENDIAN"
-      ;;
-    * )
-      with_target_byte_order=
-      ;;
-  esac
-
-  case $target in
-    *vea* )
-      with_environment="-DWITH_ENVIRONMENT=VIRTUAL_ENVIRONMENT"
-      with_smp="-DWITH_SMP=0"
-      ;;
-    *oea* )
-      with_environment="-DWITH_ENVIRONMENT=OPERATING_ENVIRONMENT"
-      with_smp="-DWITH_SMP=2"
-      ;;
-    * )
-      with_environment=
-      with_smp=
-      ;;
-  esac
-
-  case $target in
-    *complex* )
-      igen_opcode_rules="IGEN_OPCODE_RULES=ppc-opcode-complex"
-      igen_flags="-e -r 1024"
-      opt_flags="-O2"
-      ;;
-    *simple* )
-      igen_opcode_rules="IGEN_OPCODE_RULES=ppc-opcode-simple"
-      igen_flags="-e"
-      opt_flags="-O2"
-      ;;
-    * )
-      igen_opcode_rules=
-      igen_flags=
-      opt_flags=
-      ;;
-  esac
-
-  case $target in
-    *64* )
-      with_target_word_bitsize="-DWITH_TARGET_WORD_BITSIZE=64"
-      igen_flags="$igen_flags -f 32"
-      ;;
-    *32* )
-      with_target_word_bitsize="-DWITH_TARGET_WORD_BITSIZE=32"
-      igen_flags="$igen_flags -f 64"
-      ;;
-    * )
-      with_target_word_bitsize=
-      igen_flags="$igen_flags -f 64"
-      ;;
-  esac
-
-  case $target in
-    *inline* )
-      default_inline="-DDEFAULT_INLINE=2"
-      ;;
-    * )
-      default_inline=
-      ;;
-  esac
-
-  case $target in
-    *nomon* )
-      with_mon="-DWITH_MON=0"
-      ;;
-    * )
-      with_mon=
-      ;;
-  esac
-
-  case $target in
-    *bswap* )
-      with_bswap="-DWITH_BSWAP=1"
-      ;;
-    * )
-      with_bswap=
-      ;;
-  esac
-
-  if ( set -x ; make \
-               $igen_opcode_rules \
-               IGEN_FLAGS="$igen_flags" \
-               INLINE_CFLAGS=" \
-                       $cflags \
-                       $unsafe_flags \
-                       $opt_flags \
-                       $with_bswap \
-                       $with_target_byte_order \
-                       $with_environment \
-                       $with_smp \
-                       $default_inline \
-                       $with_target_word_bitsize \
-                       $with_trace \
-                       $with_assert \
-                       $with_mon \
-                       " )
-  then
-    rm -f psim-${target}-failed
-    ( set -x ; cp psim psim-$target )
-  else
-    ( set -x ; touch psim-${target}-failed )
-  fi
-done
diff --git a/sim/ppc/config.hdr b/sim/ppc/config.hdr
deleted file mode 100755 (executable)
index 98fa86b..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-#! /bin/sh
-
-# Helper script to turn --enable-sim-xxx switches into defines
-
-# Arg 1 -- header name
-# Arg 2 -- define name
-# Arg 3 -- --enable-sim switch spelling
-# Arg 4 -- --enable-sim switch value
-# the remaining switches are paired, with the first being the value to test arg 4 against
-# and the second is the value to put in the define if it matches
-
-hdr="$1"
-shift
-
-define="$1"
-shift
-
-switch="$1"
-shift
-
-value="$1"
-shift
-
-while test $# -gt 1; do
-       test_value="$1"
-       shift
-
-       set_value="$1"
-       shift
-
-       if test x"$value" = x"$test_value" -o x"$test_value" = x"*"; then
-               echo "Defining $define=$set_value"
-               (echo ""
-                if test x"$value" = x""; then
-                        echo "/* no $switch */"
-                elif test x"$value" = x"yes"; then
-                        echo "/* $switch */"
-                else
-                        echo "/* $switch=$value */"
-                fi
-
-                echo "#ifndef $define"
-                echo "#define $define $set_value"
-                echo "#endif") >> $hdr
-               exit 0;
-       fi
-done
-
-if test x"$value" != x"" -a x"$value" != x"no"; then
-       echo "$switch=$value is not supported" 1>&2
-       exit 1
-fi
diff --git a/sim/ppc/config.make b/sim/ppc/config.make
deleted file mode 100755 (executable)
index 388fe36..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-#! /bin/sh
-
-# Helper script to turn --enable-sim-xxx switches into make variables
-
-# Arg 1 -- header name
-# Arg 2 -- define name
-# Arg 3 -- --enable-sim switch spelling
-# Arg 4 -- --enable-sim switch value
-# the remaining switches are paired, with the first being the value to test arg 4 against
-# and the second is the value to put in the define if it matches
-
-make="$1"
-shift
-
-makevar="$1"
-shift
-
-switch="$1"
-shift
-
-value="$1"
-shift
-
-while test $# -gt 1; do
-       test_value="$1"
-       shift
-
-       set_value="$1"
-       shift
-
-       if test x"$value" = x"$test_value" -o x"$test_value" = x"*"; then
-               echo "Setting $makevar=$set_value"
-               (echo "";
-                if test x"$value" = x""; then
-                        echo "# no $switch";
-                elif test x"$value" = x"yes"; then
-                        echo "# $switch";
-                else
-                        echo "# $switch=$value";
-                fi
-                if test x"$set_value" = x""; then
-                        echo "$makevar ="
-                else
-                        echo "$makevar = $set_value"
-                fi) >> $make
-               exit 0;
-       fi
-done
-
-if test x"$value" != x"" -a x"$value" != x"no"; then
-       echo "$switch=$value is not supported" 1>&2
-       exit 1
-fi