* gennltvals.sh: Redo syscall support to allow sanitization.

* nltvals.def: Regenerated.
And add d30v sanitization.
This commit is contained in:
Doug Evans 1997-11-28 19:18:01 +00:00
parent 8d21d88c08
commit 1294727e84
2 changed files with 36 additions and 1 deletions

View File

@ -112,4 +112,32 @@ Things-to-lose:
Do-last:
d30v_files="ChangeLog gennltvals.sh nltvals.def"
if ( echo $* | grep keep\-d30v > /dev/null ) ; then
for i in $d30v_files ; do
if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping d30v stuff in $i
fi
fi
done
else
for i in $d30v_files ; do
if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"d30v\" from $i...
fi
cp $i new
sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/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
# End of file.

View File

@ -1,3 +1,8 @@
Fri Nov 28 11:15:05 1997 Doug Evans <devans@canuck.cygnus.com>
* gennltvals.sh: Redo syscall support to allow sanitization.
* nltvals.def: Regenerated.
Wed Nov 26 16:49:38 1997 Michael Meissner <meissner@cygnus.com>
* syscall.c (cb_syscall): If writing to stdout or stderr, flush
@ -22,8 +27,10 @@ Tue Nov 25 20:12:46 1997 Michael Meissner <meissner@cygnus.com>
Tue Nov 25 00:12:38 1997 Doug Evans <devans@seba.cygnus.com>
start-sanitize-d30v
* gennltvals.sh: Generate syscall values for d30v.
Use libgloss/syscall.h for sparc.
end-sanitize-d30v
* gennltvals.sh: Use libgloss/syscall.h for sparc.
* nltvals.def: Regenerate.
* callback.c (os_stat): Make 3rd arg a host struct stat ptr.