diff options
author | Nick Clifton <nickc@redhat.com> | 1997-08-18 18:12:54 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1997-08-18 18:12:54 +0000 |
commit | ab11a82c2dc79b3572024b78bcef08980ca0c8c5 (patch) | |
tree | b04e70c7a95e896ae1959db4f0c94b37e6e9bca9 /ld/.Sanitize | |
parent | 27161f9e55c4ed204699090e1be660f2fee63714 (diff) | |
download | gdb-ab11a82c2dc79b3572024b78bcef08980ca0c8c5.zip gdb-ab11a82c2dc79b3572024b78bcef08980ca0c8c5.tar.gz gdb-ab11a82c2dc79b3572024b78bcef08980ca0c8c5.tar.bz2 |
Add support for v850e and v850eq targets.
Diffstat (limited to 'ld/.Sanitize')
-rw-r--r-- | ld/.Sanitize | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/ld/.Sanitize b/ld/.Sanitize index 074c298..e6a05ec 100644 --- a/ld/.Sanitize +++ b/ld/.Sanitize @@ -146,6 +146,58 @@ else fi done fi +if ( echo $* | grep keep\-v850e > /dev/null ) ; then + for i in $v850_files ; do + if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping v850e stuff in $i + fi + fi + done +else + for i in $v850_files ; do + if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"v850e\" from $i... + fi + cp $i new + sed '/start\-sanitize\-v850e/,/end-\sanitize\-v850e/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 +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 r5900_files="ChangeLog configure.tgt" |