diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-04-01 04:12:20 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-04-01 04:12:20 +0000 |
commit | 9582f9abec54e1396852a3a3afd4f0cfc296df2e (patch) | |
tree | 6160e7eaa810901623d910496fef0cb2dd1ef17e /include | |
parent | 88ddffaf42d3bcc22bbe56adc6ee6c7772094db2 (diff) | |
download | gdb-9582f9abec54e1396852a3a3afd4f0cfc296df2e.zip gdb-9582f9abec54e1396852a3a3afd4f0cfc296df2e.tar.gz gdb-9582f9abec54e1396852a3a3afd4f0cfc296df2e.tar.bz2 |
remove m32r sanitization
Diffstat (limited to 'include')
-rw-r--r-- | include/elf/.Sanitize | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/include/elf/.Sanitize b/include/elf/.Sanitize index f7e408a..77942d1 100644 --- a/include/elf/.Sanitize +++ b/include/elf/.Sanitize @@ -33,14 +33,6 @@ else lose_these_too="${v850_files} ${lose_these_too}" fi -m32r_files="m32r.h" - -if ( echo $* | grep keep\-m32r > /dev/null ) ; then - keep_these_too="${m32r_files} ${keep_these_too}" -else - lose_these_too="${m32r_files} ${lose_these_too}" -fi - # All files listed between the "Things-to-keep:" line and the # "Files-to-sed:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize @@ -57,6 +49,7 @@ dwarf2.h external.h hppa.h internal.h +m32r.h mips.h ppc.h sparc.h @@ -121,34 +114,6 @@ else done fi -m32r_files="ChangeLog common.h" -if ( echo $* | grep keep\-m32r > /dev/null ) ; then - for i in $m32r_files ; do - if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Keeping m32r stuff in $i - fi - fi - done -else - for i in $m32r_files ; do - if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Removing traces of \"m32r\" from $i... - fi - cp $i new - sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/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 - v850_files="ChangeLog common.h" if ( echo $* | grep keep\-v850 > /dev/null ) ; then for i in $v850_files ; do |