diff --git a/gas/.Sanitize b/gas/.Sanitize index 3926f41ddbf..c4bf4c6ef98 100644 --- a/gas/.Sanitize +++ b/gas/.Sanitize @@ -154,6 +154,34 @@ else done fi +arc_files="ChangeLog configure.in configure" +if ( echo $* | grep keep\-arc > /dev/null ) ; then + for i in $arc_files ; do + if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping arc stuff in $i + fi + fi + done +else + for i in $arc_files ; do + if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"arc\" from $i... + fi + cp $i new + sed '/start\-sanitize\-arc/,/end-\sanitize\-arc/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/gas/ChangeLog b/gas/ChangeLog index 8e5356dc5ee..69411c6b808 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,11 @@ +start-sanitize-arc +Tue Nov 29 18:12:22 1994 Doug Evans + + * configure.in (arc-*-elf*): Recognize. + * configure: "regenerated". + * config/tc-arc.c, config/tc-arc.h: New files. +end-sanitize-arc + Tue Nov 29 13:58:10 1994 Ken Raeburn Use libiberty version of xmalloc: