* 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 1cc827eb92afb626b56008e99388b47472327d27..04e152879dc8e4fad1d120c64df672d418790d61 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 b22e5e5d3a0406c8e5f4385f874ab340b421ae6b..e46d96bee8329b0b7f36f40c4820268ba3470aba 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 9e335b81ddbbca812791066e37e72a4aa41f9b18..f0bbcc1595459a005708568daa99aa89a2857ee2 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