aboutsummaryrefslogtreecommitdiff
path: root/binutils/.Sanitize
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1998-06-11 21:51:56 +0000
committerNick Clifton <nickc@redhat.com>1998-06-11 21:51:56 +0000
commit764668738f19680b3b4aed04fd30a13d4368b88a (patch)
tree13cbc236bf27c53461c3a8af518d4e1ca3a8ece7 /binutils/.Sanitize
parente2a15d35a88dcfc200f8d46c807b6f8287f94a6b (diff)
downloadfsf-binutils-gdb-764668738f19680b3b4aed04fd30a13d4368b88a.zip
fsf-binutils-gdb-764668738f19680b3b4aed04fd30a13d4368b88a.tar.gz
fsf-binutils-gdb-764668738f19680b3b4aed04fd30a13d4368b88a.tar.bz2
Add 'readelf' to binutils.
Diffstat (limited to 'binutils/.Sanitize')
-rw-r--r--binutils/.Sanitize30
1 files changed, 30 insertions, 0 deletions
diff --git a/binutils/.Sanitize b/binutils/.Sanitize
index be27465..f3166da 100644
--- a/binutils/.Sanitize
+++ b/binutils/.Sanitize
@@ -90,6 +90,8 @@ rclex.l
rcparse.y
rdcoff.c
rddbg.c
+readelf.c
+readelf.h
resbin.c
rescoff.c
resrc.c
@@ -122,6 +124,34 @@ Things-to-lose:
Do-last:
+v850e_files="readelf.c"
+if ( echo $* | grep keep\-v850e > /dev/null ) ; then
+ for i in $v850e_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 $v850e_files ; do
+ if test -r $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
+
# This must come after all other sanitizations. Re-sanitize the .pot
# file.
if [ -n "${verbose}" ]; then