From d6d44ef984d15d089277de11f176ce0775cabc31 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Fri, 27 Oct 1995 16:45:28 +0000 Subject: [PATCH] * config.bfd: Add config stuff for mips*-*-magic* to set targ_defvec to ecoff_big_vec. --- bfd/.Sanitize | 28 ++++++++++++++++++++++++++++ bfd/ChangeLog | 7 +++++++ bfd/config.bfd | 5 +++++ 3 files changed, 40 insertions(+) diff --git a/bfd/.Sanitize b/bfd/.Sanitize index 1cc827eb92a..04e152879dc 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -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 diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b22e5e5d3a0..e46d96bee83 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 * xcofflink.c: Numerous changes to get closer to a working XCOFF diff --git a/bfd/config.bfd b/bfd/config.bfd index 9e335b81ddb..f0bbcc15954 100755 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -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 -- 2.30.2