diff options
author | Joern Rennecke <joern.rennecke@embecosm.com> | 1997-08-29 19:03:06 +0000 |
---|---|---|
committer | Joern Rennecke <joern.rennecke@embecosm.com> | 1997-08-29 19:03:06 +0000 |
commit | bf5ac1b8edb34601e1cb43238d690a6d6c00457e (patch) | |
tree | 915aa332ec38f314d43e80e2bff2768c6c9515bc /gas | |
parent | 24d2330e75b2edc9a37fe5edd1b5ff282be6f29c (diff) | |
download | gdb-bf5ac1b8edb34601e1cb43238d690a6d6c00457e.zip gdb-bf5ac1b8edb34601e1cb43238d690a6d6c00457e.tar.gz gdb-bf5ac1b8edb34601e1cb43238d690a6d6c00457e.tar.bz2 |
SH4 assembler extensions.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/.Sanitize | 32 | ||||
-rw-r--r-- | gas/ChangeLog | 8 | ||||
-rw-r--r-- | gas/config/.Sanitize | 32 |
3 files changed, 72 insertions, 0 deletions
diff --git a/gas/.Sanitize b/gas/.Sanitize index 0070aac..9854571 100644 --- a/gas/.Sanitize +++ b/gas/.Sanitize @@ -332,6 +332,38 @@ else done fi +if [ -n "${verbose}" ] ; then + echo Processing \"sh4\"... +fi + +sh4_files="ChangeLog" +if ( echo $* | grep keep\-sh4 > /dev/null ) ; then + for i in $sh4_files ; do + if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping sh4 stuff in $i + fi + fi + done +else + for i in $sh4_files ; do + if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"sh4\" from $i... + fi + cp $i new + sed -e '/start\-sanitize\-sh4/,/end-\sanitize\-sh4/d' -e 's/.*restore\-sanitize\-sh4//' < $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 + for i in * ; do if test ! -d $i && (grep sanitize $i > /dev/null) ; then echo '***' Some mentions of Sanitize are still left in $i! 1>&2 diff --git a/gas/ChangeLog b/gas/ChangeLog index 2e73784..f7ad61c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -98,6 +98,14 @@ Thu Aug 21 00:59:53 1997 Doug Evans <dje@canuck.cygnus.com> * config/tc-m32r.c (md_estimate_size_before_relax): Update recorded insn when changing to a different instruction. +start-sanitize-sh4 +Wed Aug 20 00:45:20 1997 J"orn Rennecke <amylaar@cygnus.co.uk> + + * tc-sh.c (parse_reg, get_specific, build_Mytes): Add SH4 + floating point extensions. + (parse_reg): parse sgr and dbr. + +end-sanitize-sh4 Tue Aug 19 17:07:34 1997 Nick Clifton <nickc@cygnus.com> * config/tc-v850.c (system_register_name): Support numbers for diff --git a/gas/config/.Sanitize b/gas/config/.Sanitize index b1716c5..9b80bd0 100644 --- a/gas/config/.Sanitize +++ b/gas/config/.Sanitize @@ -246,6 +246,38 @@ else done fi +if [ -n "${verbose}" ] ; then + echo Processing \"sh4\"... +fi + +sh4_files="tc-sh.c" +if ( echo $* | grep keep\-sh4 > /dev/null ) ; then + for i in $sh4_files ; do + if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping sh4 stuff in $i + fi + fi + done +else + for i in $sh4_files ; do + if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"sh4\" from $i... + fi + cp $i new + sed -e '/start\-sanitize\-sh4/,/end-\sanitize\-sh4/d' -e 's/.*restore\-sanitize\-sh4//' < $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 + v850e_files="tc-v850.c tc-v850.h" if ( echo $* | grep keep\-v850e > /dev/null ) ; then if ( echo $* | grep keep\-v850eq > /dev/null ) ; then |