From: Jeff Law Date: Thu, 18 Jun 1998 00:12:44 +0000 (+0000) Subject: * config/tc-mn10300.c (r_registers): New register table. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82169ecef7aa96dca6ebd2603ab362073a792f0d;p=binutils-gdb.git * config/tc-mn10300.c (r_registers): New register table. (r_register_name): New function. (md_assemble): Handle new am33 operand types. --- diff --git a/gas/.Sanitize b/gas/.Sanitize index 344d4b7fd3f..236bc9f8bad 100644 --- a/gas/.Sanitize +++ b/gas/.Sanitize @@ -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 diff --git a/gas/ChangeLog b/gas/ChangeLog index 56e48001e15..97eeb455aae 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 * config/tc-mips.c (md_show_usage): Fix -mipsN usage. diff --git a/gas/config/.Sanitize b/gas/config/.Sanitize index 79ba312d150..66927aa56bb 100644 --- a/gas/config/.Sanitize +++ b/gas/config/.Sanitize @@ -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