aboutsummaryrefslogtreecommitdiff
path: root/binutils/.Sanitize
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1998-06-12 20:50:03 +0000
committerMichael Meissner <gnu@the-meissners.org>1998-06-12 20:50:03 +0000
commita09db9ba576c6a25b46e4ee6493f3b7f560bc515 (patch)
tree5c06454745e759985d02b649897624d3b624515d /binutils/.Sanitize
parent55a7ce4ea8dcb820a524b314b969bdadd4528139 (diff)
downloadgdb-a09db9ba576c6a25b46e4ee6493f3b7f560bc515.zip
gdb-a09db9ba576c6a25b46e4ee6493f3b7f560bc515.tar.gz
gdb-a09db9ba576c6a25b46e4ee6493f3b7f560bc515.tar.bz2
Add PowerPC support to readelf; Print machine specific flags; Print endianess; Make widening more portable
Diffstat (limited to 'binutils/.Sanitize')
-rw-r--r--binutils/.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/binutils/.Sanitize b/binutils/.Sanitize
index f3166da..f834737 100644
--- a/binutils/.Sanitize
+++ b/binutils/.Sanitize
@@ -152,6 +152,34 @@ else
done
fi
+m32rx_files="readelf.c"
+if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
+ for i in $m32rx_files ; do
+ if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping m32rx stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $m32rx_files ; do
+ if test -r $i && (grep sanitize-m32rx $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"m32rx\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-m32rx/,/end\-sanitize\-m32rx/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