From: Nick Clifton Date: Wed, 3 Sep 1997 22:27:28 +0000 (+0000) Subject: removed v850 sanitization X-Git-Tag: gdb-4_18~4869 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2636486389128526c58de1e019eaa6ffdd8a8726;p=thirdparty%2Fbinutils-gdb.git removed v850 sanitization Added v850/sim-main.h to list of files to keep after sanitization. --- diff --git a/sim/.Sanitize b/sim/.Sanitize index 593586ca12d..6d4472ba859 100644 --- a/sim/.Sanitize +++ b/sim/.Sanitize @@ -33,21 +33,6 @@ else lose_these_too="${tic80_files} ${lose_these_too}" fi -v850_files="v850" -if ( echo $* | grep keep\-v850 > /dev/null ) ; then - keep_these_too="${v850_files} ${keep_these_too}" -else - if ( echo $* | grep keep\-v850e > /dev/null ) ; then - keep_these_too="${v850_files} ${keep_these_too}" - else - if ( echo $* | grep keep\-v850eq > /dev/null ) ; then - keep_these_too="${v850_files} ${keep_these_too}" - else - lose_these_too="${v850_files} ${lose_these_too}" - fi - fi -fi - lose_these_too="${igen_files} ${lose_these_too}" # All files listed between the "Things-to-keep:" line and the @@ -76,6 +61,7 @@ mn10300 ppc sh w65 +v850 z8k Things-to-lose: @@ -140,22 +126,22 @@ else fi v850_files="configure configure.in ChangeLog" -if ( echo $* | grep keep\-v850 > /dev/null ) ; then +if ( echo $* | grep keep\-v850eq > /dev/null ) ; then for i in $v850_files ; do - if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then + if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then if [ -n "${verbose}" ] ; then - echo Keeping v850 stuff in $i + echo Keeping v850eq stuff in $i fi fi done else for i in $v850_files ; do - if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then + if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then if [ -n "${verbose}" ] ; then - echo Removing traces of \"v850\" from $i... + echo Removing traces of \"v850eq\" from $i... fi cp $i new - sed '/start\-sanitize\-v850/,/end-\sanitize\-v850/d' < $i > new + sed '/start\-sanitize\-v850eq/,/end-\sanitize\-v850eq/d' < $i > new if [ -n "${safe}" -a ! -f .Recover/$i ] ; then if [ -n "${verbose}" ] ; then echo Caching $i in .Recover... @@ -192,32 +178,6 @@ else fi done fi -if ( echo $* | grep keep\-v850eq > /dev/null ) ; then - for i in $v850_files ; do - if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Keeping v850eq stuff in $i - fi - fi - done -else - for i in $v850_files ; do - if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Removing traces of \"v850eq\" from $i... - fi - cp $i new - sed '/start\-sanitize\-v850eq/,/end-\sanitize\-v850eq/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 diff --git a/sim/ChangeLog b/sim/ChangeLog index 4d1d20b5007..e5d2ec05be8 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -152,14 +152,12 @@ Thu Oct 17 12:50:08 1996 Doug Evans (--enable-sim): Add. * configure: Regenerated. -start-sanitize-v850 Fri Oct 11 21:13:43 1996 Jeffrey A Law (law@cygnus.com) * configure.in: Only build the V850 simulator if we are using gcc. * configure: Rebuild. -end-sanitize-v850 Sun Sep 8 17:22:50 1996 Ian Lance Taylor * configure.in: Do build erc32 for DOS and Windows hosts. @@ -177,12 +175,10 @@ Wed Sep 4 15:49:16 1996 Ian Lance Taylor gcc. * configure: Rebuild. -start-sanitize-v850 Wed Aug 28 19:05:23 1996 Jeffrey A Law (law@cygnus.com) * configure.in (v850-*-*): Added V850 simulator. -end-sanitize-v850 Thu Aug 1 17:08:41 1996 Martin M. Hunt * configure.in (d10v-*-*): Added D10V simulator. diff --git a/sim/configure b/sim/configure index 1aea8939c76..dabbdb65f07 100755 --- a/sim/configure +++ b/sim/configure @@ -1323,14 +1323,12 @@ case "${target}" in extra_subdirs="${extra_subdirs} igen" ;; # end-sanitize-tic80 -# start-sanitize-v850 v850-*-*) # The V850 simulator can only be compiled by gcc. sim_target=v850 extra_subdirs="${extra_subdirs} igen" only_if_gcc=yes ;; -# end-sanitize-v850 # start-sanitize-v850e v850e-*-*) # The V850 simulator can only be compiled by gcc. diff --git a/sim/configure.in b/sim/configure.in index 0d4e8003b9c..417d3df2828 100644 --- a/sim/configure.in +++ b/sim/configure.in @@ -88,14 +88,12 @@ case "${target}" in extra_subdirs="${extra_subdirs} igen" ;; # end-sanitize-tic80 -# start-sanitize-v850 v850-*-*) # The V850 simulator can only be compiled by gcc. sim_target=v850 extra_subdirs="${extra_subdirs} igen" only_if_gcc=yes ;; -# end-sanitize-v850 # start-sanitize-v850e v850e-*-*) # The V850 simulator can only be compiled by gcc. diff --git a/sim/v850/.Sanitize b/sim/v850/.Sanitize index 2dc770b5908..5d25732fb88 100644 --- a/sim/v850/.Sanitize +++ b/sim/v850/.Sanitize @@ -32,6 +32,7 @@ v850_sim.h gencode.c interp.c simops.c +sim-main.h Things-to-lose: