Add function print_decimal to handle display of long long decimal
values on hosts with long-long but no "%ll".
This commit is contained in:
parent
f7b8c9ce46
commit
4251ff49e8
|
@ -627,6 +627,33 @@ else
|
|||
done
|
||||
fi
|
||||
|
||||
if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then
|
||||
for i in * ; do
|
||||
if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Keeping vr5400 stuff in $i
|
||||
fi
|
||||
fi
|
||||
done
|
||||
else
|
||||
for i in * ; do
|
||||
if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Removing traces of \"vr5400\" from $i...
|
||||
fi
|
||||
cp $i new
|
||||
sed '/start\-sanitize\-vr5400/,/end-\sanitize\-vr5400/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
|
||||
|
||||
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
|
||||
for i in * ; do
|
||||
if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
Mon Nov 24 08:59:28 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* valprint.c (print_longest): When CC has long long but printf
|
||||
doesn't, print decimal value as three parts.
|
||||
|
||||
* config/i386/tm-fbsd.h: New file.
|
||||
* config/i386/fbsd.mt (TM_FILE): Change to tm-fbsd.h.
|
||||
|
||||
|
|
Loading…
Reference in New Issue