From: Jeff Law Date: Tue, 18 Jun 1996 23:19:44 +0000 (+0000) Subject: * h8300.h: Reorder various #defines for readability. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=04f5f28af73595d7349970305d20d715ff63655c;hp=cc9738177659a2877a1a57c28f02570022233f33;p=deliverable%2Fbinutils-gdb.git * h8300.h: Reorder various #defines for readability. (ABS32SRC, ABS32DST, DSP32LIST, ABS32LIST, A32LIST): Define. (BITOP): Accept additional (unused) argument. All callers changed. (EBITOP): Likewise. (O_LAST): Bump. (ldc, stc, movb, movw, movl): Use 32bit offsets and absolutes. start-sanitize-h8s * h8300.h (EXR, SHIFT_2, MACREG, SHIFT_IMM, RDINC): Define. (O_TAS, O_CLRMAC, O_LDMAC, O_MAC, O_LDM, O_STM): Define. (BITOP, EBITOP): Handle new H8/S addressing modes for bit insns. (UNOP3): Handle new shift/rotate insns on the H8/S. (insns using exr): New instructions. (tas, mac, ldmac, clrmac, ldm, stm): New instructions. end-sanitize-h8s You guessed it. More H8/S junk. --- diff --git a/include/opcode/.Sanitize b/include/opcode/.Sanitize index 76b8d9f8d3..9300d00298 100644 --- a/include/opcode/.Sanitize +++ b/include/opcode/.Sanitize @@ -86,6 +86,33 @@ else done fi +h8s_files="ChangeLog h8300.h" +if ( echo $* | grep keep\-h8s > /dev/null ) ; then + for i in $h8s_files ; do + if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping h8s stuff in $i + fi + fi + done +else + for i in $h8s_files ; do + if test ! -d $i && (grep sanitize-h8s $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"h8s\" from $i... + fi + cp $i new + sed '/start\-sanitize\-h8s/,/end-\sanitize\-h8s/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 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