* config.bfd: Add config stuff for mips*-*-magic* to set
authorStu Grossman <grossman@cygnus>
Fri, 27 Oct 1995 16:45:28 +0000 (16:45 +0000)
committerStu Grossman <grossman@cygnus>
Fri, 27 Oct 1995 16:45:28 +0000 (16:45 +0000)
targ_defvec to ecoff_big_vec.

bfd/.Sanitize
bfd/ChangeLog
bfd/config.bfd

index 1cc827e..04e1528 100644 (file)
@@ -322,6 +322,34 @@ else
        done
 fi
 
+gm_files="ChangeLog ChangeLog.2 config.bfd"
+if ( echo $* | grep keep\-gm > /dev/null ) ; then
+       for i in $gm_files ; do
+               if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping gm stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $gm_files ; do
+               if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"gm\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-gm/,/end-\sanitize\-gm/d' < $i > new
+                       if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+                               if [ -n "${verbose}" ] ; then
+                                       echo Caching $i in .Recover...
+                               fi
+                               mv $i .Recover
+                       fi
+                       mv new $i
+               fi
+       done
+fi
+
 for i in * ; do
        if test ! -d $i && (grep sanitize $i > /dev/null) ; then
                echo '***' Some mentions of Sanitize are still left in $i! 1>&2
index b22e5e5..e46d96b 100644 (file)
@@ -1,3 +1,10 @@
+start-sanitize-gm
+Fri Oct 27 09:41:51 1995  Stu Grossman  (grossman@cygnus.com)
+
+       * config.bfd:  Add config stuff for mips*-*-magic* to set
+       targ_defvec to ecoff_big_vec.
+
+end-sanitize-gm
 Thu Oct 26 14:16:47 1995  Ian Lance Taylor  <ian@cygnus.com>
 
        * xcofflink.c: Numerous changes to get closer to a working XCOFF
index 9e335b8..f0bbcc1 100755 (executable)
@@ -304,6 +304,11 @@ case "${targ}" in
     targ_defvec=ecoff_little_vec
     targ_selvecs=ecoff_big_vec
     ;;
+# start-sanitize-gm
+  mips*-*-magic*)
+    targ_defvec=ecoff_big_vec
+    ;;
+# end-sanitize-gm
   mips*-*-ecoff*)
     targ_defvec=ecoff_big_vec
     targ_selvecs=ecoff_little_vec