* config/tc-mn10300.c (r_registers): New register table.

(r_register_name): New function.
        (md_assemble): Handle new am33 operand types.
This commit is contained in:
Jeff Law 1998-06-18 00:12:44 +00:00
parent 7c8a2969e6
commit 82169ecef7
3 changed files with 64 additions and 0 deletions

View file

@ -297,6 +297,34 @@ else
done
fi
am33_files="ChangeLog"
if ( echo $* | grep keep\-am33 > /dev/null ) ; then
for i in $am33_files ; do
if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping am33 stuff in $i
fi
fi
done
else
for i in $am33_files ; do
if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"am33\" from $i...
fi
cp $i new
sed '/start\-sanitize\-am33/,/end-\sanitize\-am33/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
d30v_files="ChangeLog configure configure.in"
if ( echo $* | grep keep\-d30v > /dev/null ) ; then
for i in $d30v_files ; do

View file

@ -1,3 +1,11 @@
start-sanitize-am33
Wed Jun 17 18:09:03 1998 Jeffrey A Law (law@cygnus.com)
* config/tc-mn10300.c (r_registers): New register table.
(r_register_name): New function.
(md_assemble): Handle new am33 operand types.
end-sanitize-am33
Wed Jun 17 13:07:05 1998 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (md_show_usage): Fix -mipsN usage.

View file

@ -188,6 +188,34 @@ Things-to-lose:
Do-last:
am33_files="tc-mn10300.c"
if ( echo $* | grep keep\-am33 > /dev/null ) ; then
for i in $am33_files ; do
if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping am33 stuff in $i
fi
fi
done
else
for i in $am33_files ; do
if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"am33\" from $i...
fi
cp $i new
sed '/start\-sanitize\-am33/,/end-\sanitize\-am33/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
r5900_files="tc-mips.c"
if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
for i in $r5900_files ; do