diff options
author | Catherine Moore <clm@redhat.com> | 1998-08-02 17:30:11 +0000 |
---|---|---|
committer | Catherine Moore <clm@redhat.com> | 1998-08-02 17:30:11 +0000 |
commit | 35fa3babe20696ac0309a2702e5f62bcdb802f8d (patch) | |
tree | 6e2293012570cfa26894b10f531a3947af7ef4a2 /gas | |
parent | f019e5bfccd809464a841dbff7faf58000e4eec4 (diff) | |
download | gdb-35fa3babe20696ac0309a2702e5f62bcdb802f8d.zip gdb-35fa3babe20696ac0309a2702e5f62bcdb802f8d.tar.gz gdb-35fa3babe20696ac0309a2702e5f62bcdb802f8d.tar.bz2 |
add armelf.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/.Sanitize | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gas/config/.Sanitize b/gas/config/.Sanitize index 9174066..507aa16 100644 --- a/gas/config/.Sanitize +++ b/gas/config/.Sanitize @@ -266,6 +266,34 @@ else done fi +armelf_files="tc-arm.c tc-arm.h" +if ( echo $* | grep keep\-armelf > /dev/null ) ; then + for i in $armelf_files ; do + if test ! -d $i && (grep sanitize-armelf $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping armelf stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-armelf $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"armelf\" from $i... + fi + cp $i new + sed '/start\-sanitize\-armelf/,/end\-sanitize\-armelf/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 + tx19_files="tc-mips.c" if ( echo $* | grep keep\-tx19 > /dev/null ) ; then for i in $tx19_files ; do |