From 2caa49ec214c52a62dde8e61321cfc28fc716177 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 24 Jul 1998 04:51:37 +0000 Subject: [PATCH] remove d30v sanitization --- include/.Sanitize | 32 -------------------------------- include/elf/.Sanitize | 38 ++------------------------------------ include/elf/ChangeLog | 8 -------- include/elf/common.h | 14 ++++++++------ include/opcode/.Sanitize | 37 +------------------------------------ include/opcode/ChangeLog | 10 ---------- 6 files changed, 11 insertions(+), 128 deletions(-) diff --git a/include/.Sanitize b/include/.Sanitize index 8aabbc9c701..9996ebb6c74 100644 --- a/include/.Sanitize +++ b/include/.Sanitize @@ -95,38 +95,6 @@ else done fi -if [ -n "${verbose}" ] ; then - echo Processing \"d30v\"... -fi - -d30v_files="ChangeLog dis-asm.h" -if ( echo $* | grep keep\-d30v > /dev/null ) ; then - for i in $d30v_files ; do - if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Keeping d30v stuff in $i - fi - fi - done -else - for i in $d30v_files ; do - if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Removing traces of \"d30v\" from $i... - fi - cp $i new - sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/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 [ -n "${verbose}" ] ; then echo Processing \"sky\"... fi diff --git a/include/elf/.Sanitize b/include/elf/.Sanitize index bf4a9c13082..a871771a9a6 100644 --- a/include/elf/.Sanitize +++ b/include/elf/.Sanitize @@ -21,14 +21,6 @@ Do-first: # called. Directories not listed will be removed in their entirety # with rm -rf. -d30v_files="d30v.h" - -if ( echo $* | grep keep\-d30v > /dev/null ) ; then - keep_these_too="${d30v_files} ${keep_these_too}" -else - lose_these_too="${d30v_files} ${lose_these_too}" -fi - Things-to-keep: ChangeLog @@ -37,6 +29,7 @@ arc.h arm.h common.h d10v.h +d30v.h dwarf.h dwarf2.h external.h @@ -49,6 +42,7 @@ mips.h mn10200.h mn10300.h ppc.h +reloc-macros.h sh.h sparc.h v850.h @@ -85,34 +79,6 @@ else done fi -d30v_files="ChangeLog common.h" -if ( echo $* | grep keep\-d30v > /dev/null ) ; then - for i in $d30v_files ; do - if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Keeping d30v stuff in $i - fi - fi - done -else - for i in $d30v_files ; do - if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Removing traces of \"d30v\" from $i... - fi - cp $i new - sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/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 - v850_files="ChangeLog common.h v850.h" if ( echo $* | grep keep\-v850e > /dev/null ) ; then for i in $v850_files ; do diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 7bf13eeaa26..7371ca2f163 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -16,9 +16,7 @@ Wed Jul 22 16:22:11 1998 Nick Clifton * arc.h: Use reloc-macros.h. * arm.h: Use reloc-macros.h. * d10v.h: Use reloc-macros.h. -start-sanitize-d30v * d30v.h: Use reloc-macros.h. -end-sanitize-d30v * hppa.h: Use reloc-macros.h. * i386.h: Use reloc-macros.h. * m32r.h: Use reloc-macros.h. @@ -39,9 +37,7 @@ end-sanitize-d30v * alpha.h: Likewise. * arm.h: Likewise. * d10v.h: Likewise. -start-sanitize-d30v * d30v.h: Likewise. -end-sanitize-d30v * m32r.h: Likewise. * m68k.h: Likewise. * mn10200.h: Likewise. @@ -52,9 +48,7 @@ end-sanitize-d30v * arm.h: New file. * d10v.h: New file. -start-sanitize-d30v * d30v.h: New file. -end-sanitize-d30v * i386.h: New file. * m68k.h: New file. * mn10200.h: New file. @@ -250,12 +244,10 @@ Wed Feb 19 15:35:31 1997 Ian Lance Taylor * external.h, internal.h, common.h: Added new structures and definitions for ELF versions. -start-sanitize-d30v Tue Feb 18 17:40:36 1997 Martin M. Hunt * common.h (EM_CYGNUS_D30V): Define. -end-sanitize-d30v Mon Jan 27 11:54:44 1997 Doug Evans * m32r.h (enum reloc_type): Add R_M32R_HI16_[SU]LO,R_M32R_LO16. diff --git a/include/elf/common.h b/include/elf/common.h index 89261b3c88d..596c1ab17e2 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -77,21 +77,25 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define EM_386 3 /* Intel 80386 */ #define EM_68K 4 /* Motorola m68k family */ #define EM_88K 5 /* Motorola m88k family */ +#define EM_486 6 /* Intel 80486 */ #define EM_860 7 /* Intel 80860 */ #define EM_MIPS 8 /* MIPS R3000 (officially, big-endian only) */ - +#define EM_S370 9 /* Amdahl */ #define EM_MIPS_RS4_BE 10 /* MIPS R4000 big-endian */ #define EM_PARISC 15 /* HPPA */ #define EM_SPARC32PLUS 18 /* Sun's "v8plus" */ - +#define EM_960 19 /* Intel 80960 */ #define EM_PPC 20 /* PowerPC */ +#define EM_V800 36 /* NEC V800 series */ +#define EM_FR20 37 /* Fujitsu FR20 */ +#define EM_RH32 38 /* TRW RH32 */ +#define EM_MMA 39 /* Fujitsu MMA */ #define EM_ARM 40 /* ARM */ - +#define EM_OLD_ALPHA 41 /* Digital Alpha */ #define EM_SH 42 /* Hitachi SH */ - #define EM_SPARCV9 43 /* SPARC v9 64-bit */ /* If it is necessary to assign new unofficial EM_* values, please pick large @@ -124,10 +128,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* D10V backend magic number. Written in the absence of an ABI. */ #define EM_CYGNUS_D10V 0x7650 -/* start-sanitize-d30v */ /* D30V backend magic number. Written in the absence of an ABI. */ #define EM_CYGNUS_D30V 0x7676 -/* end-sanitize-d30v */ /* V850 backend magic number. Written in the absense of an ABI. */ #define EM_CYGNUS_V850 0x9080 diff --git a/include/opcode/.Sanitize b/include/opcode/.Sanitize index 36154effa69..d06cd8a5495 100644 --- a/include/opcode/.Sanitize +++ b/include/opcode/.Sanitize @@ -15,14 +15,6 @@ Do-first: -d30v_files="d30v.h" - -if ( echo $* | grep keep\-d30v > /dev/null ) ; then - keep_these_too="${d30v_files} ${keep_these_too}" -else - lose_these_too="${d30v_files} ${lose_these_too}" -fi - tic80_files="tic80.h" if ( echo $* | grep keep\-tic80 > /dev/null ) ; then @@ -55,6 +47,7 @@ arm.h cgen.h convex.h d10v.h +d30v.h h8300.h hppa.h i386.h @@ -108,34 +101,6 @@ else done fi -d30v_files="ChangeLog" -if ( echo $* | grep keep\-d30v > /dev/null ) ; then - for i in $d30v_files ; do - if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Keeping d30v stuff in $i - fi - fi - done -else - for i in $d30v_files ; do - if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then - if [ -n "${verbose}" ] ; then - echo Removing traces of \"d30v\" from $i... - fi - cp $i new - sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/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 - v850e_files="ChangeLog v850.h" if ( echo $* | grep keep\-v850e > /dev/null ) ; then diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 07568260ecd..f96f8e0249d 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -238,12 +238,10 @@ Mon Mar 2 10:44:07 1998 Doug Evans * cgen.h (CGEN_BOOL_ATTR): New macro. -start-sanitize-d30v Thu Feb 26 15:54:31 1998 Michael Meissner * d30v.h (FLAG_DELAY): New flag for delayed branches/jumps. -end-sanitize-d30v start-sanitize-sky Fri Feb 27 10:00:44 1998 Doug Evans @@ -373,7 +371,6 @@ Mon Jan 12 11:37:36 1998 Doug Evans (CGEN_{SYNTAX,FORMAT}): New types. (cgen_insn): Format and syntax separated from each other. -start-sanitize-d30v Tue Dec 16 15:15:52 1997 Michael Meissner * d30v.h (d30v_opcode): Reorder flags somewhat, add new flags for @@ -381,18 +378,15 @@ Tue Dec 16 15:15:52 1997 Michael Meissner flags_{used,set} long. (d30v_operand): Make flags field long. -end-sanitize-d30v Mon Dec 1 12:24:44 1997 Andreas Schwab * m68k.h: Fix comment describing operand types. -start-sanitize-d30v Sun Nov 23 22:31:27 1997 Michael Meissner * d30v.h (SHORT_CMPU): Add case for cmpu instruction, and move everything else after down. -end-sanitize-d30v Tue Nov 18 18:45:14 1997 J"orn Rennecke * d10v.h (OPERAND_FLAG): Split into: @@ -446,7 +440,6 @@ start-sanitize-v850e (PROCESSOR_V850EA): New bit constants. end-sanitize-v850e -start-sanitize-d30v Mon Sep 15 11:29:43 1997 Ken Raeburn Merge changes from Martin Hunt: @@ -465,7 +458,6 @@ Mon Sep 15 11:29:43 1997 Ken Raeburn * d30v.h (OPERAND_2REG): Add new operand to indicate 2 registers are used. Needed for VLIW optimization. -end-sanitize-d30v Mon Sep 8 14:05:45 1997 Doug Evans * cgen.h: Move assembler interface section @@ -628,7 +620,6 @@ Sat Feb 22 21:25:00 1997 Dawn Perchik so that we can increase the size of the mips opcodes table dynamically. -start-sanitize-d30v Fri Feb 21 16:34:18 1997 Martin M. Hunt * d30v.h (FLAG_X): Remove unused flag. @@ -637,7 +628,6 @@ Tue Feb 18 17:37:20 1997 Martin M. Hunt * d30v.h: New file. -end-sanitize-d30v start-sanitize-tic80 Fri Feb 14 13:16:15 1997 Fred Fish -- 2.30.2