Kill r16/rce/acp stuff.

This commit is contained in:
Jim Wilson 1996-06-08 03:18:15 +00:00
parent 1b79e6e2cd
commit ed381b6719
11 changed files with 9 additions and 1627 deletions

View File

@ -232,35 +232,6 @@ else
done
fi
rce_files="config.sub"
if ( echo $* | grep keep\-rce > /dev/null ) ; then
for i in $rce_files ; do
if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping rce stuff in $i
fi
fi
done
else
for i in $rce_files ; do
if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"rce\" from $i...
fi
cp $i new
sed '/start\-sanitize\-rce/,/end-\sanitize\-rce/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 lose\-gdbtk > /dev/null ) ; then
echo Catering to RMS by removing traces of \"gdbtk\"...
if [ -n "${verbose}" ] ; then

View File

@ -107,35 +107,6 @@ Things-to-lose:
Do-last:
rce_files="configure.in configure ChangeLog Makefile.in ChangeLog.1"
if ( echo $* | grep keep\-rce > /dev/null ) ; then
for i in $rce_files ; do
if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping rce stuff in $i
fi
fi
done
else
for i in $rce_files ; do
if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"rce\" from $i...
fi
cp $i new
sed '/start\-sanitize\-rce/,/end-\sanitize\-rce/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
arc_files="ChangeLog configure.in configure Makefile.in ChangeLog.1"
if ( echo $* | grep keep\-arc > /dev/null ) ; then
for i in $arc_files ; do

View File

@ -1,3 +1,12 @@
Wed Jun 5 17:09:26 1996 Ian Lance Taylor <ian@cygnus.com>
* read.c (next_char_of_string): Warn if a newline is seen in the
middle of a string. Call bump_line_counters when appropriate.
Wed Jun 5 17:08:36 1996 Richard Henderson <rth@tamu.edu>
* symbols.c (colon): Use LOCAL_LABEL.
Tue Jun 4 10:55:16 1996 Tom Tromey <tromey@csk3.cygnus.com>
* Makefile.in (install): Don't check to see if tooldir exists.
@ -1343,10 +1352,6 @@ Wed Nov 15 03:52:00 1995 Ken Raeburn <raeburn@cygnus.com>
* as.c (main): Move md_end call to just after call to
perform_an_assembly_pass. Delete cpu-specific code here.
* config/tc-i960.h (md_end): New macro, calls brtab_emit.
start-sanitize-rce
* config/tc-rce.c (md_end): Deleted.
* config/tc-rce.h (md_end): New macro, calls dump_literals.
end-sanitize-rce
* config/tc-arm.c (md_end): Unused function deleted.
* config/tc-ns32k.c (md_end): Ditto.

View File

@ -1390,14 +1390,12 @@ Wed Jul 19 11:49:25 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-m68k.c (md_convert_frag): Likewise.
* config/tc-m88k.h (md_convert_frag): Likewise.
* config/tc-ns32k.c (md_convert_frag): Likewise.
* config/tc-rce.c (md_convert_frag): Likewise.
* config/tc-tahoe.c (md_convert_frag): Likewise.
* config/tc-vax.c (md_convert_frag): Likewise.
* config/tc-w65.c (md_convert_frag): Likewise.
* config/tc-z8k.c (md_convert_frag): Likewise.
* config/tc-h8300.h (TC_RELOC_MANGLE): Add segment argument.
* config/tc-h8500.h (TC_RELOC_MANGLE): Likewise.
* config/tc-rce.h (TC_RELOC_MANGLE): Likewise.
* config/tc-w65.h (TC_RELOC_MANGLE): Likewise.
* config/tc-z8k.h (TC_RELOC_MANGLE): Likewise.
@ -2391,9 +2389,6 @@ end-sanitize-arc
* config/m88kcoff.mt (TARG_CPU_DEPENDENTS): Deleted.
* config/mips-big.mt (TARG_CPU_DEPENDENTS): Deleted.
* config/mips-lit.mt (TARG_CPU_DEPENDENTS): Deleted.
start-sanitize-rce
* config/rce.mt: Deleted.
end-sanitize-rce
* config/sh.mt: Deleted.
* config/w65.mt: Deleted.
* config/z8k.mt: Deleted.
@ -2608,10 +2603,6 @@ start-sanitize-arc
* config/tc-arc.c (md_relax_table, md_short_jump_size,
md_long_jump_size): Deleted.
end-sanitize-arc
start-sanitize-rce
* config/tc-rce.h: Declare md_relax_table here, and define
TC_GENERIC_RELAX_TABLE to expand to it.
end-sanitize-rce
* doc/internals.texi: Describe TC_GENERIC_RELAX_TABLE and
WORKING_DOT_WORD. Mention md_*_jump_size (but description needs
to be fleshed out later). Note m68k PCINDEX mode has been checked
@ -2877,9 +2868,6 @@ Tue Feb 28 18:29:27 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
config/tc-ppc.*, config/tc-sh.*, config/tc-sparc.*,
config/tc-tahoe.*, config/tc-vax.*, config/tc-w65.*,
config/tc-z8k.*: Ditto.
start-sanitize-rce
* config/tc-rce.*: Ditto.
end-sanitize-rce
* config/tc-m68k.*: Ditto.
* config/tc-m68k.c (mote_pseudo_table): Removed dots from opcode
@ -3347,9 +3335,6 @@ Wed Jan 11 17:51:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
* config/tc-h8300.h (COFF_FLAGS): Don't define.
* config/tc-h8500.h (COFF_FLAGS), config/tc-sh.h (COFF_FLAGS),
config/tc-z8k.h (COFF_FLAGS): Ditto.
start-sanitize-rce
* config/tc-rce.h (COFF_FLAGS): Ditto.
end-sanitize-rce
* config/obj-coff.c (KEEP_RELOC_INFO): Make sure it's always
defined.
@ -3466,9 +3451,6 @@ Tue Dec 20 14:56:31 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
config/obj-som.h, config/tc-h8500.c, config/tc-hppa.c,
config/tc-hppa.h, config/tc-sh.c, config/tc-z8k.c: Don't rely on
use of ".." when including header files.
start-sanitize-rce
* config/tc-rce.c: Ditto.
end-sanitize-rce
* config/obj-coff.c (fixup_segment): Reformat condition in an `if'
statement.
@ -3666,14 +3648,6 @@ Tue Nov 29 13:58:10 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
(SIGTY): Macro deleted.
(main): Deleted disabled code for establishing signal handler.
start-sanitize-rce
Tiemann should've noted something like this:
* config/tc-rce.c, config/tc-rce.h: New files.
* as.c (main) [TC_RCE]: Call dump_literals.
* configure.in: Handle rce-*-aout.
* configure: Regenerated.
end-sanitize-rce
Mon Nov 28 11:37:35 1994 Doug Evans <dje@canuck.cygnus.com>
* app.c (do_scrub_next_char): Insert missing newline at end of file

View File

@ -15,14 +15,6 @@
Do-first:
rce_files="tc-rce.c tc-rce.h"
if ( echo $* | grep keep\-rce > /dev/null ) ; then
keep_these_too="${rce_files} ${keep_these_too}"
else
lose_these_too="${rce_files} ${lose_these_too}"
fi
arc_files="tc-arc.c tc-arc.h"
if ( echo $* | grep keep\-arc > /dev/null ) ; then

File diff suppressed because it is too large Load Diff

View File

@ -1,61 +0,0 @@
/* This file is tc-rce.h
Copyright (C) 1993-1994 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
GAS is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GAS is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GAS; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef TC_RCE
#define TC_RCE 1
#ifdef BFD_ASSEMBLER
#define TARGET_ARCH bfd_arch_rce
#define TARGET_BYTES_BIG_ENDIAN 1
#ifdef OBJ_AOUT
#define TARGET_FORMAT "a.out-rce"
#endif
#else /* ! BFD_ASSEMBLER */
#define BFD_ARCH bfd_arch_rce
#define NO_RELOC 0
#define RELOC_32 1234
#endif /* ! BFD_ASSEMBLER */
#define AOUT_MACHTYPE 155
/* Don't write out relocs for pcrel stuff*/
#define TC_COUNT_RELOC(x) (((x)->fx_addsy||(x)->fx_subsy)&&(x)->fx_r_type < 22)
#define IGNORE_NONSTANDARD_ESCAPES
#define TC_RELOC_MANGLE(s,a,b,c) tc_reloc_mangle(a,b,c)
#define DO_NOT_STRIP 0
#define DO_STRIP 0
#define LISTING_HEADER "RCE Experimental GAS "
#define NEED_FX_R_TYPE 1
#define TC_COFF_SIZEMACHDEP(frag) tc_coff_sizemachdep(frag)
#define md_operand(x)
extern const struct relax_type md_relax_table[];
#define TC_GENERIC_RELAX_TABLE md_relax_table
#define md_end() dump_literals(0)
#endif

View File

@ -85,35 +85,6 @@ Things-to-lose:
Do-last:
rce_files="configure.in configure.tgt Makefile.in"
if ( echo $* | grep keep\-rce > /dev/null ) ; then
for i in $rce_files ; do
if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping rce stuff in $i
fi
fi
done
else
for i in $rce_files ; do
if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"rce\" from $i...
fi
cp $i new
sed '/start\-sanitize\-rce/,/end-\sanitize\-rce/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
arc_files="ChangeLog configure.in configure.tgt Makefile.in"
if ( echo $* | grep keep\-arc > /dev/null ) ; then

View File

@ -15,14 +15,6 @@
Do-first:
rce_files="rce-dis.c rce-opc.h"
if ( echo $* | grep keep\-rce > /dev/null ) ; then
keep_these_too="${rce_files} ${keep_these_too}"
else
lose_these_too="${rce_files} ${lose_these_too}"
fi
arc_files="arc-dis.c arc-opc.c"
if ( echo $* | grep keep\-arc > /dev/null ) ; then
@ -84,34 +76,6 @@ Things-to-lose:
Do-last:
rce_files="configure.in configure"
if ( echo $* | grep keep\-rce > /dev/null ) ; then
for i in $rce_files ; do
if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Keeping rce stuff in $i
fi
fi
done
else
for i in $rce_files ; do
if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
echo Removing traces of \"rce\" from $i...
fi
cp $i new
sed '/start\-sanitize\-rce/,/end-\sanitize\-rce/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
arc_files="ChangeLog Makefile.in configure.in configure disassemble.c"
if ( echo $* | grep keep\-arc > /dev/null ) ; then
for i in $arc_files ; do

View File

@ -1,49 +0,0 @@
/* Disassemble RCE instructions.
Copyright (C) 1993 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <stdio.h>
#define STATIC_TABLE
#define DEFINE_TABLE
#include "rce-opc.h"
#include "dis-asm.h"
int
print_insn_sop(memaddr, info)
bfd_vma memaddr;
struct disassemble_info *info;
{
fprintf_ftype fprintf = info->fprintf_func;
void *stream = info->stream;
unsigned char insn[2];
unsigned char nibs[4];
int status;
int relmask = ~0;
rce_opcode_info *op;
int dslot = 0;
status = info->read_memory_func(memaddr, insn, 2, info);
if (status != 0)
{
info->memory_error_func(status, memaddr, info);
return -1;
}
/**** DISASSEMBLY NOT YET IMPLEMENTED ****/
fprintf(stream,".word 0x%02x%02x", insn[0], insn[1]);
return 2;
}

View File

@ -1,126 +0,0 @@
typedef enum {
O0, OT, O1, OC, O2, X1, OI, OB, SI, I7, LS, BR, LI, LR, LJ, OM, OQ, JSR
} rce_opclass;
typedef struct inst
{ char *name;
unsigned short opclass;
unsigned short inst;
} rce_opcode_info;
#ifdef DEFINE_TABLE
rce_opcode_info rce_table[]={
{ "bkpt", O0, 0x0000 },
{ "sync", O0, 0x0001 },
{ "rte", O0, 0x0002 },
{ "rfi", O0, 0x0003 },
{ "stop", O0, 0x0004 },
{ "wait", O0, 0x0005 },
{ "trap", OT, 0x0010 },
{ "mvc", O1, 0x0020 },
{ "mvcv", O1, 0x0030 },
{ "jmp", O1, 0x0040 },
{ "jsr", JSR, 0x0050 },
/*****
{ "jmpt", O1, 0x0060 },
{ "jmpf", O1, 0x0070 },
*****/
{ "tstne", O1, 0x0080 },
{ "tstgt", O1, 0x0090 },
{ "tstnbz", O1, 0x00B0 },
{ "inct", O1, 0x00C0 },
{ "incf", O1, 0x00D0 },
{ "dect", O1, 0x00E0 },
{ "decf", O1, 0x00F0 },
{ "zextb", O1, 0x0100 },
{ "sextb", O1, 0x0110 },
{ "zexth", O1, 0x0120 },
{ "sexth", O1, 0x0130 },
{ "xtrb3", X1, 0x0140 },
{ "xtrb2", X1, 0x0150 },
{ "xtrb1", X1, 0x0160 },
{ "xtrb0", X1, 0x0170 },
{ "decgt", O1, 0x01C0 },
{ "declt", O1, 0x01D0 },
{ "brev", O1, 0x01E0 },
{ "not", O1, 0x01F0 },
{ "mfcr", OC, 0x0400 },
{ "mtcr", OC, 0x0600 },
{ "mov", O2, 0x0200 },
{ "movnc", O2, 0x0C00 },
{ "tst", O2, 0x0B00 },
{ "cmpne", O2, 0x0800 },
{ "cmplt", O2, 0x0900 },
{ "cmphs", O2, 0x0A00 },
{ "bgenr", O2, 0x0D00 },
{ "movt", O2, 0x0E00 },
{ "movf", O2, 0x0F00 },
{ "and", O2, 0x1000 },
{ "andn", O2, 0x1100 },
{ "xor", O2, 0x1200 },
{ "xnor", O2, 0x1300 },
{ "or", O2, 0x1400 },
{ "rsub", O2, 0x1500 },
{ "addu", O2, 0x1600 },
{ "subu", O2, 0x1700 },
{ "ixh", O2, 0x1800 },
{ "ixw", O2, 0x1900 },
{ "addc", O2, 0x1A00 },
{ "subc", O2, 0x1B00 },
{ "lsr", O2, 0x1C00 },
{ "asr", O2, 0x1D00 },
{ "lsl", O2, 0x1E00 },
/*****
{ "rotl", O2, 0x1F00 },
*****/
{ "movi", I7, 0x6800 },
{ "andi", OB, 0x2200 },
{ "movit", OB, 0x2400 },
{ "movif", OB, 0x2600 },
{ "btsti", OB, 0x2800 },
{ "bclri", OB, 0x2A00 },
{ "bseti", OB, 0x2C00 },
{ "bmaski", OB, 0x2E00 },
{ "bgeni", OB, 0x3000 },
{ "rsubi", OB, 0x3200 },
{ "addi", OI, 0x3400 },
{ "subi", OI, 0x3600 },
{ "lsri", SI, 0x3800 },
{ "lsrc", O1, 0x3800 },
{ "asri", SI, 0x3A00 },
{ "asrc", O1, 0x3A00 },
{ "lsli", SI, 0x3C00 },
{ "lslc", O1, 0x3C00 },
{ "rotli", SI, 0x3E00 },
{ "xsr", O1, 0x3E00 },
{ "ldm", OM, 0x6000 },
{ "stm", OM, 0x6010 },
{ "ldq", OQ, 0x6000 },
{ "stq", OQ, 0x6010 },
{ "mult", O2, 0x6100 },
/* { "mvir1", LI, 0x6800 }, */
{ "lrw", LR, 0x7000 },
{ "jmpi", LJ, 0x7000 },
{ "jsri", LJ, 0x7F00 },
{ "ld", LS, 0x8000 },
{ "st", LS, 0x9000 },
{ "ld.w", LS, 0x8000 },
{ "st.w", LS, 0x9000 },
{ "ld.b", LS, 0xA000 },
{ "st.b", LS, 0xB000 },
{ "ld.h", LS, 0xC000 },
{ "st.h", LS, 0xD000 },
{ "br", BR, 0xE000 },
{ "bsr", BR, 0xE800 },
{ "bt", BR, 0xF000 },
{ "bf", BR, 0xF800 },
{ 0, 0, 0 }
};
#endif