aboutsummaryrefslogtreecommitdiff
path: root/ld/.Sanitize
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1997-09-17 23:45:41 +0000
committerNick Clifton <nickc@redhat.com>1997-09-17 23:45:41 +0000
commit2e6fa283b4cb701a78f1b5a9b9c39db7ae025e57 (patch)
tree45907be7bba4f49b93114bec6beb0c8407072f7a /ld/.Sanitize
parent03d532924421f3dcb3cfdb820e1be189aaf618e4 (diff)
downloadgdb-2e6fa283b4cb701a78f1b5a9b9c39db7ae025e57.zip
gdb-2e6fa283b4cb701a78f1b5a9b9c39db7ae025e57.tar.gz
gdb-2e6fa283b4cb701a78f1b5a9b9c39db7ae025e57.tar.bz2
Added support for the call table data area.
Diffstat (limited to 'ld/.Sanitize')
-rw-r--r--ld/.Sanitize42
1 files changed, 10 insertions, 32 deletions
diff --git a/ld/.Sanitize b/ld/.Sanitize
index 4f4d827..13e1e05 100644
--- a/ld/.Sanitize
+++ b/ld/.Sanitize
@@ -91,22 +91,22 @@ Do-last:
v850_files="ChangeLog configure.tgt Makefile.am Makefile.in"
-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...
@@ -126,6 +126,9 @@ if ( echo $* | grep keep\-v850e > /dev/null ) ; then
fi
done
else
+ if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
+ true
+ else
for i in $v850_files ; do
if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
@@ -142,32 +145,7 @@ else
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
fi
r5900_files="ChangeLog configure.tgt"