aboutsummaryrefslogtreecommitdiff
path: root/ld/.Sanitize
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1996-09-30 19:16:26 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1996-09-30 19:16:26 +0000
commit79e9dc201077ba2cae84f14cc2d049bd6d99a23d (patch)
tree3351336c57a53e3638afceb5704e96dfa37d5155 /ld/.Sanitize
parente20c36baa7a156bf6d299f471142c350288e30d7 (diff)
downloadgdb-79e9dc201077ba2cae84f14cc2d049bd6d99a23d.zip
gdb-79e9dc201077ba2cae84f14cc2d049bd6d99a23d.tar.gz
gdb-79e9dc201077ba2cae84f14cc2d049bd6d99a23d.tar.bz2
* Makefile.in (em32relf.c): Add rule for.
* configure.tgt (m32r-*-*): Recognize. * emulparams/m32relf.sh: New file.
Diffstat (limited to 'ld/.Sanitize')
-rw-r--r--ld/.Sanitize31
1 files changed, 30 insertions, 1 deletions
diff --git a/ld/.Sanitize b/ld/.Sanitize
index b4247d4..e5dce05 100644
--- a/ld/.Sanitize
+++ b/ld/.Sanitize
@@ -88,7 +88,7 @@ Things-to-lose:
Do-last:
-arc_files="ChangeLog configure.in configure.tgt Makefile.in"
+arc_files="ChangeLog configure.tgt Makefile.in"
if ( echo $* | grep keep\-arc > /dev/null ) ; then
for i in $arc_files ; do
@@ -146,6 +146,35 @@ else
done
fi
+m32r_files="ChangeLog configure.tgt Makefile.in"
+
+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 configure.tgt Makefile.in"
if ( echo $* | grep keep\-v850 > /dev/null ) ; then