diff options
-rw-r--r-- | bfd/.Sanitize | 28 | ||||
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rwxr-xr-x | bfd/config.bfd | 5 |
3 files changed, 40 insertions, 0 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize index 1cc827e..04e1528 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 b22e5e5..e46d96b 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 <ian@cygnus.com> * xcofflink.c: Numerous changes to get closer to a working XCOFF diff --git a/bfd/config.bfd b/bfd/config.bfd index 9e335b8..f0bbcc1 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 |