From 48573afd234edf06f50a9e42f4d3e3ea0383d69a Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Tue, 16 Jan 1996 20:13:27 +0000 Subject: [PATCH] Remove SH3e sanitization. --- gas/.Sanitize | 24 ------------------------ gas/ChangeLog.1 | 4 ---- gas/testsuite/.Sanitize | 21 --------------------- gdb/.Sanitize | 29 ----------------------------- gdb/ChangeLog-95 | 2 -- gdb/config/sh/.Sanitize | 29 ----------------------------- gdb/config/sh/tm-sh.h | 17 ----------------- gdb/testsuite/.Sanitize | 20 -------------------- gdb/testsuite/ChangeLog | 2 -- opcodes/.Sanitize | 21 --------------------- opcodes/ChangeLog | 12 ------------ 11 files changed, 181 deletions(-) diff --git a/gas/.Sanitize b/gas/.Sanitize index edaefc7de8f..a2f9f4f0636 100644 --- a/gas/.Sanitize +++ b/gas/.Sanitize @@ -131,30 +131,6 @@ else fi fi -sh3e_files="ChangeLog ChangeLog.1" -if ( echo $* | grep keep\-sh3e > /dev/null ) ; then - if [ -n "${verbose}" ] ; then - echo Keeping sh3e stuff in $sh3e_files. - fi -else - if [ -n "${verbose}" ]; then - echo -n Cleaning sh3e in `pwd`: - fi - for f in $sh3e_files ; do - if [ -n "${verbose}" ] ; then - echo -n " " $f - fi - sed -e '/start\-sanitize\-sh3e/,/end\-sanitize\-sh3e/d' -e '/ xl /d' < $f > new - if [ -n "${safe}" ] ; then - mv $f .Recover - fi - mv new $f - done - if [ -n "${verbose}" ]; then - echo "" - fi -fi - rce_files="configure.in configure ChangeLog Makefile.in ChangeLog.1" if ( echo $* | grep keep\-rce > /dev/null ) ; then diff --git a/gas/ChangeLog.1 b/gas/ChangeLog.1 index 2493561ae26..43a1f0bb5fd 100644 --- a/gas/ChangeLog.1 +++ b/gas/ChangeLog.1 @@ -387,14 +387,12 @@ Wed Sep 6 21:13:06 1995 Ian Lance Taylor first unquoted space. (equals): Likewise. -start-sanitize-sh3e Wed Sep 6 15:03:53 1995 Jim Wilson * config/tc-sh.c (get_operands): Read third arg if it exists. Otherwise, clear it. (get_specific, case F_FR0): Add. -end-sanitize-sh3e Wed Sep 6 15:03:53 1995 Jim Wilson * config/tc-sh.c (get_specific): Delete arg_to_test. @@ -1136,13 +1134,11 @@ Mon Aug 7 17:18:10 1995 Ian Lance Taylor (TARG_CPU_DEP_m68k): Depend upon $(srcdir)/config/m68k-parse.h. (m68k-parse.c, m68k-parse.o): New targets. -start-sanitize-sh3e Mon Aug 7 02:54:20 1995 Jeff Law (law@snake.cs.utah.edu) * config/tc-sh.c (parse_reg): Handle new FP registers. (get_specific): Handle new operand types. -end-sanitize-sh3e Fri Aug 4 12:29:21 1995 Ian Lance Taylor * expr.c (op_encoding): Make non-const. Don't set '"' to diff --git a/gas/testsuite/.Sanitize b/gas/testsuite/.Sanitize index 466b14cdc85..a1efe6316f8 100644 --- a/gas/testsuite/.Sanitize +++ b/gas/testsuite/.Sanitize @@ -72,25 +72,4 @@ else done fi -sh3e_files="ChangeLog" -if ( echo $* | grep keep\-sh3e > /dev/null ) ; then - if [ -n "${verbose}" ] ; then - echo Keeping sh3e stuff in $sh3e_files. - fi -else - if [ -n "${verbose}" ]; then - echo -n Cleaning sh3e in `pwd`: - fi - for f in $sh3e_files ; do - if [ -n "${verbose}" ] ; then - echo -n " " $f - fi - sed -e '/start\-sanitize\-sh3e/,/end\-sanitize\-sh3e/d' -e '/ xl /d' < $f > new - if [ -n "${safe}" ] ; then - mv $f .Recover - fi - mv new $f - done -fi - # End of file. diff --git a/gdb/.Sanitize b/gdb/.Sanitize index dca7747beef..70a2a30000d 100644 --- a/gdb/.Sanitize +++ b/gdb/.Sanitize @@ -478,35 +478,6 @@ else done fi -sh3e_files="ChangeLog" - -if ( echo $* | grep keep\-sh3e > /dev/null ) ; then - for i in $sh3e_files ; do - if test ! -d $i && (grep sanitize-sh3e $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Keeping sh3e stuff in $i - fi - fi - done -else - for i in $sh3e_files ; do - if test ! -d $i && (grep sanitize-sh3e $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Removing traces of \"sh3e\" from $i... - fi - cp $i new - sed '/start\-sanitize\-sh3e/,/end-\sanitize\-sh3e/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\-gm > /dev/null ) ; then for i in * ; do if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then diff --git a/gdb/ChangeLog-95 b/gdb/ChangeLog-95 index 511416c0913..13c73c70f3b 100644 --- a/gdb/ChangeLog-95 +++ b/gdb/ChangeLog-95 @@ -1037,7 +1037,6 @@ Tue Oct 17 08:04:26 1995 Fred Fish * NEWS: Fix typo. -start-sanitize-sh3e Mon Oct 16 18:24:03 1995 Jim Wilson * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Return builtin_type_float @@ -1047,7 +1046,6 @@ Mon Oct 16 18:24:03 1995 Jim Wilson (NUM_REGS, NUM_REALREGS): Increase from 23 to 41. (FPUL_REGNUM, FP0_REGNUM): New macros. -end-sanitize-sh3e Mon Oct 16 11:27:06 1995 Stu Grossman (grossman@cygnus.com) * remote-mips.c: Add support for speedy (about 10x faster) diff --git a/gdb/config/sh/.Sanitize b/gdb/config/sh/.Sanitize index 1a4ce68ddb9..8e958678ca7 100644 --- a/gdb/config/sh/.Sanitize +++ b/gdb/config/sh/.Sanitize @@ -29,33 +29,4 @@ Things-to-lose: Do-last: -sh3e_files="tm-sh.h" - -if ( echo $* | grep keep\-sh3e > /dev/null ) ; then - for i in $sh3e_files ; do - if test ! -d $i && (grep sanitize-sh3e $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Keeping sh3e stuff in $i - fi - fi - done -else - for i in $sh3e_files ; do - if test ! -d $i && (grep sanitize-sh3e $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Removing traces of \"sh3e\" from $i... - fi - cp $i new - sed '/start\-sanitize\-sh3e/,/end-\sanitize\-sh3e/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 - # End of file. diff --git a/gdb/config/sh/tm-sh.h b/gdb/config/sh/tm-sh.h index 726cb96f318..0b3d92f9108 100644 --- a/gdb/config/sh/tm-sh.h +++ b/gdb/config/sh/tm-sh.h @@ -98,24 +98,14 @@ extern CORE_ADDR sh_skip_prologue (); /* Return the GDB type object for the "standard" data type of data in register N. */ -#define REGISTER_VIRTUAL_TYPE(N) builtin_type_int -/* start-sanitize-sh3e */ -#undef REGISTER_VIRTUAL_TYPE #define REGISTER_VIRTUAL_TYPE(N) \ ((((N) >= FP0_REGNUM && (N) < FP0_REGNUM+32) \ || (N) == FPUL_REGNUM) \ ? builtin_type_float : builtin_type_int) -/* end-sanitize-sh3e */ /* Initializer for an array of names of registers. Entries beyond the first NUM_REGS are ignored. */ -#define REGISTER_NAMES \ - {"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", \ - "r8", "r9", "r10","r11","r12","r13","r14","r15",\ - "pc", "pr","gbr","vbr","mach","macl","sr","ticks","stalls","cycles","insts" ,"plr","tlr" } -/* start-sanitize-sh3e */ -#undef REGISTER_NAMES #define REGISTER_NAMES \ {"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", \ "r8", "r9", "r10","r11","r12","r13","r14","r15",\ @@ -123,13 +113,8 @@ extern CORE_ADDR sh_skip_prologue (); "fr0", "fr1", "fr2", "fr3", "fr4", "fr5", "fr6", "fr7", \ "fr8", "fr9", "fr10","fr11","fr12","fr13","fr14","fr15",\ } -/* end-sanitize-sh3e */ -#define NUM_REGS 28 -/* start-sanitize-sh3e */ -#undef NUM_REGS #define NUM_REGS 41 -/* end-sanitize-sh3e */ /* Register numbers of various important registers. Note that some of these values are "real" register numbers, @@ -149,12 +134,10 @@ extern CORE_ADDR sh_skip_prologue (); #define MACL_REGNUM 21 #define SR_REGNUM 22 #define NUM_REALREGS 23 -/* start-sanitize-sh3e */ #define FPUL_REGNUM 23 #define FP0_REGNUM 25 #undef NUM_REALREGS #define NUM_REALREGS 41 -/* end-sanitize-sh3e */ /* Store the address of the place in which to copy the structure the subroutine will return. This is called from call_function. diff --git a/gdb/testsuite/.Sanitize b/gdb/testsuite/.Sanitize index dcd889d46bb..bbb5fc31412 100644 --- a/gdb/testsuite/.Sanitize +++ b/gdb/testsuite/.Sanitize @@ -47,25 +47,5 @@ Things-to-lose: # done. Do-last: -sh3e_files="ChangeLog" -if ( echo $* | grep keep\-sh3e > /dev/null ) ; then - if [ -n "${verbose}" ] ; then - echo Keeping sh3e stuff in $sh3e_files. - fi -else - if [ -n "${verbose}" ]; then - echo -n Cleaning sh3e in `pwd`: - fi - for f in $sh3e_files ; do - if [ -n "${verbose}" ] ; then - echo -n " " $f - fi - sed -e '/start\-sanitize\-sh3e/,/end\-sanitize\-sh3e/d' -e '/ xl /d' < $f > new - if [ -n "${safe}" ] ; then - mv $f .Recover - fi - mv new $f - done -fi # eof diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 9ee25fd09f4..2ce10cc9b53 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -189,13 +189,11 @@ Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now handles common blocks. -start-sanitize-sh3e Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu) * gdb.disasm/sh3.s (fmac): Update for new assembler syntax * gdb.disasm/sh3.exp (fmac): Corresponding changes. -end-sanitize-sh3e Wed Sep 20 13:15:05 1995 Ian Lance Taylor * Makefile.in (maintainer-clean): New target, synonym for diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize index a80329a4f4e..32a9eadd9c3 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -105,27 +105,6 @@ else done fi -sh3e_files="ChangeLog sh-dis.c sh-opc.h" -if ( echo $* | grep keep\-sh3e > /dev/null ) ; then - if [ -n "${verbose}" ] ; then - echo Keeping sh3e stuff in $sh3e_files. - fi -else - if [ -n "${verbose}" ]; then - echo -n Cleaning sh3e in `pwd`: - fi - for f in $sh3e_files ; do - if [ -n "${verbose}" ] ; then - echo -n " " $f - fi - sed -e '/start\-sanitize\-sh3e/,/end\-sanitize\-sh3e/d' -e '/ xl /d' < $f > new - if [ -n "${safe}" ] ; then - mv $f .Recover - fi - mv new $f - done -fi - rce_files="configure.in configure" if ( echo $* | grep keep\-rce > /dev/null ) ; then for i in $rce_files ; do diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 337d3f7d609..d8ca155d9f2 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -205,12 +205,10 @@ Fri Sep 8 01:07:38 1995 Ian Lance Taylor * mips-opc.c: Change unaligned loads and stores with "t,A" operands to use "t,A(b)". -start-sanitize-sh3e Thu Sep 7 19:02:46 1995 Jim Wilson * sh-dis.c (print_insn_shx): Add F_FR0 support. -end-sanitize-sh3e Thu Sep 7 19:02:46 1995 Jim Wilson * sh-dis.c (print_insn_shx): Change loop over op->arg[n] to iterate @@ -225,13 +223,11 @@ Wed Sep 6 21:21:33 1995 Ian Lance Taylor * configure.in: Substitute HDEFINES. * configure: Rebuild. -start-sanitize-sh3e Wed Sep 6 15:08:09 1995 Jim Wilson * sh-opc.h (sh_arg_type): Add F_FR0. (sh_table, case fmac): Add F_FR0 as first argument. -end-sanitize-sh3e Wed Sep 6 15:08:09 1995 Jim Wilson * sh-opc.h (sh_opcode_info): Increase arg array size to 4. @@ -272,12 +268,10 @@ Mon Sep 4 14:28:46 1995 Ian Lance Taylor Use them rather than looking through target Makefile fragments. * configure: Rebuild. -start-sanitize-sh3e Thu Aug 31 12:35:32 1995 Jim Wilson * sh-opc.h (ftrc): Change FPUL_N to FPUL_M. -end-sanitize-sh3e Wed Aug 30 13:52:28 1995 Doug Evans * sparc-opc.c (sparc_opcodes): Delete duplicate wr %y insn. @@ -290,13 +284,11 @@ Wed Aug 30 13:52:28 1995 Doug Evans (sparc_{encode,decode}_prefetch): New functions. * sparc-dis.c (print_insn): Handle '*' arg (prefetch function). -start-sanitize-sh3e Wed Aug 30 11:11:58 1995 Jim Wilson * sh-opc.h: Add blank lines to improve readabililty of sh3e instructions. -end-sanitize-sh3e Wed Aug 30 11:09:38 1995 Jim Wilson * sh-dis.c: Correct comment on first line of file. @@ -323,12 +315,10 @@ Mon Aug 21 17:33:36 1995 Ian Lance Taylor and likewise for the size variants. Add dbhs as an alias for dbcc. -start-sanitize-sh3e Fri Aug 11 13:40:24 1995 Jeff Law (law@snake.cs.utah.edu) * sh-opc.h (FP sts instructions): Update to match reality. -end-sanitize-sh3e Mon Aug 7 16:12:58 1995 Ian Lance Taylor * m68k-dis.c: (fpcr_names): Add % before all register names. @@ -346,7 +336,6 @@ Mon Aug 7 16:12:58 1995 Ian Lance Taylor * m68k-opc.c (m68k_opcode_aliases): Add jsrl and jsrs as aliases for jsr. -start-sanitize-sh3e Mon Aug 7 02:21:40 1995 Jeff Law (law@snake.cs.utah.edu) * sh-dis.c (print_insn_shx): Handle new operand types F_REG_N, @@ -354,7 +343,6 @@ Mon Aug 7 02:21:40 1995 Jeff Law (law@snake.cs.utah.edu) * sh-opc.h (sh_arg_type): Add new operand types. (sh_table): Add new opcodes from SH3E Floating Point ISA. -end-sanitize-sh3e Sat Aug 5 16:50:14 1995 Fred Fish * Makefile.in (distclean): Remove generated file config.h. -- 2.30.2