diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-25 02:10:46 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-25 02:10:46 +0000 |
commit | 41e38a872645f4fe8e9892556f2c8d30661e5b6b (patch) | |
tree | 438092b3a65efe5f21ab0cbc2da199e04d05c211 /gcc/config/ns32k | |
parent | d595210a3b0e5ae14126a2d50e95821cf4bed1d6 (diff) | |
download | gcc-41e38a872645f4fe8e9892556f2c8d30661e5b6b.tar.gz |
* config.gcc: Remove all stanzas for previously obsoleted
systems. Where necessary, add explicit error stanzas to
prevent removed systems from being misidentified as something
else. Begin a fresh obsoletions list, with the systems that
were reprieved last round.
* doc/install.texi: Remove all mention of dead targets.
* fixinc/mkfixinc.sh: Likewise.
* config/arm/arm.h: Bit 31 of target_flags is no longer
reserved.
* config/1750a/1750a-protos.h, config/1750a/1750a.c,
config/1750a/1750a.h, config/1750a/1750a.md, config/1750a/ms1750.inc,
config/a29k/a29k-protos.h, config/a29k/a29k.c, config/a29k/a29k.h,
config/a29k/a29k.md, config/a29k/rtems.h, config/a29k/t-a29kbare,
config/a29k/t-vx29k, config/a29k/unix.h, config/a29k/vx29k.h,
config/alpha/osf12.h, config/alpha/osf2or3.h,
config/arm/arm-wince-pe.h, config/arm/arm.h, config/arm/riscix.h,
config/arm/riscix1-1.h, config/arm/rix-gas.h, config/arm/t-riscix,
config/clipper/clipper-protos.h, config/clipper/clipper.c,
config/clipper/clipper.h, config/clipper/clipper.md,
config/clipper/clix.h, config/convex/convex-protos.h,
config/convex/convex.c, config/convex/convex.h,
config/convex/convex.md, config/convex/fixinc.convex,
config/convex/proto.h, config/elxsi/elxsi-protos.h,
config/elxsi/elxsi.c, config/elxsi/elxsi.h, config/elxsi/elxsi.md,
config/i386/386bsd.h, config/i386/aix386.h, config/i386/aix386ng.h,
config/i386/bsd386.h, config/i386/dgux.h, config/i386/djgpp-rtems.h,
config/i386/isc.h, config/i386/iscdbx.h, config/i386/linux-oldld.h,
config/i386/next.h, config/i386/osf1-ci.asm, config/i386/osf1-cn.asm,
config/i386/osf1elf.h, config/i386/osf1elfgdb.h, config/i386/osfelf.h,
config/i386/osfrose.h, config/i386/rtems.h, config/i386/seq-gas.h,
config/i386/seq-sysv3.h, config/i386/seq2-sysv3.h,
config/i386/sequent.h, config/i386/sun.h, config/i386/sun386.h,
config/i386/t-dgux, config/i386/t-next, config/i386/t-osf,
config/i386/t-osf1elf, config/i860/bsd-gas.h, config/i860/bsd.h,
config/i860/fx2800.h, config/i860/i860-protos.h, config/i860/i860.c,
config/i860/i860.h, config/i860/i860.md, config/i860/mach.h,
config/i860/paragon.h, config/i860/sysv3.h, config/i860/sysv4.h,
config/i860/t-fx2800, config/i860/varargs.asm, config/m68k/a-ux.h,
config/m68k/altos3068.h, config/m68k/apollo68.h,
config/m68k/aux-crt1.c, config/m68k/aux-crt2.asm,
config/m68k/aux-crtn.asm, config/m68k/aux-exit.c,
config/m68k/aux-low.gld, config/m68k/aux-mcount.c,
config/m68k/auxas.h, config/m68k/auxgas.h, config/m68k/auxgld.h,
config/m68k/auxld.h, config/m68k/ctix.h, config/m68k/dpx2.h,
config/m68k/dpx2.ifile, config/m68k/dpx2cdbx.h, config/m68k/dpx2g.h,
config/m68k/isi-nfp.h, config/m68k/isi.h, config/m68k/lynx-ng.h,
config/m68k/lynx.h, config/m68k/math-3300.h, config/m68k/news.h,
config/m68k/news3.h, config/m68k/news3gas.h, config/m68k/newsgas.h,
config/m68k/next.h, config/m68k/next21.h, config/m68k/rtems.h,
config/m68k/t-aux, config/m68k/t-lynx, config/m68k/t-next,
config/m68k/x-next, config/m88k/dgux.h, config/m88k/dgux.ld,
config/m88k/dguxbcs.h, config/m88k/dolph.h, config/m88k/dolphin.ld,
config/m88k/luna.h, config/m88k/m88k-coff.h, config/m88k/sysv3.h,
config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas,
config/m88k/t-dguxbcs, config/m88k/t-dolph, config/m88k/t-m88k-gas,
config/m88k/t-tekXD88, config/m88k/tekXD88.h, config/m88k/tekXD88.ld,
config/mips/bsd-4.h, config/mips/bsd-5.h, config/mips/dec-bsd.h,
config/mips/dec-osf1.h, config/mips/elflorion.h,
config/mips/iris4loser.h, config/mips/mips-5.h, config/mips/news4.h,
config/mips/news5.h, config/mips/nws3250v4.h, config/mips/osfrose.h,
config/mips/svr3-4.h, config/mips/svr3-5.h, config/mips/svr4-4.h,
config/mips/svr4-5.h, config/mips/svr4-t.h, config/mips/t-bsd,
config/mips/t-bsd-gas, config/mips/t-svr3, config/mips/t-svr3-gas,
config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix,
config/mips/ultrix.h, config/nextstep-protos.h, config/nextstep.c,
config/nextstep.h, config/nextstep21.h, config/ns32k/encore.h,
config/ns32k/merlin.h, config/ns32k/pc532-mach.h,
config/ns32k/pc532-min.h, config/ns32k/pc532.h,
config/ns32k/sequent.h, config/ns32k/tek6000.h,
config/ns32k/tek6100.h, config/ns32k/tek6200.h, config/pj/lib1funcs.S,
config/pj/linux.h, config/pj/pj-protos.h, config/pj/pj.c,
config/pj/pj.h, config/pj/pj.md, config/pj/pjl.h, config/pj/t-pj,
config/sparc/rtems.h, config/we32k/we32k-protos.h,
config/we32k/we32k.c, config/we32k/we32k.h, config/we32k/we32k.md:
Delete file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53862 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/ns32k')
-rw-r--r-- | gcc/config/ns32k/encore.h | 178 | ||||
-rw-r--r-- | gcc/config/ns32k/merlin.h | 137 | ||||
-rw-r--r-- | gcc/config/ns32k/pc532-mach.h | 30 | ||||
-rw-r--r-- | gcc/config/ns32k/pc532-min.h | 37 | ||||
-rw-r--r-- | gcc/config/ns32k/pc532.h | 73 | ||||
-rw-r--r-- | gcc/config/ns32k/sequent.h | 77 | ||||
-rw-r--r-- | gcc/config/ns32k/tek6000.h | 136 | ||||
-rw-r--r-- | gcc/config/ns32k/tek6100.h | 7 | ||||
-rw-r--r-- | gcc/config/ns32k/tek6200.h | 7 |
9 files changed, 0 insertions, 682 deletions
diff --git a/gcc/config/ns32k/encore.h b/gcc/config/ns32k/encore.h deleted file mode 100644 index 452b893ec2d..00000000000 --- a/gcc/config/ns32k/encore.h +++ /dev/null @@ -1,178 +0,0 @@ -/* Definitions of target machine for GNU compiler. ENCORE NS32000 version. - Copyright (C) 1988, 1993, 2000, 2001, 2002 Free Software Foundation, Inc. - Adapted by Robert Brown (brown@harvard.harvard.edu) from the Sequent - version by Michael Tiemann (tiemann@mcc.com). - -This file is part of GNU CC. - -GNU CC 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. - -GNU CC 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 GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - - -#define EXTERNAL_PREFIX '?' -#define IMMEDIATE_PREFIX '$' - -#include "ns32k/ns32k.h" - -#define SDB_DEBUGGING_INFO -#undef DBX_REGISTER_NUMBER -#define DBX_REGISTER_NUMBER(REGNO) (REGNO) - -/* Cause long-jump assembler to be used, - since otherwise some files fail to be assembled right. */ -#define ASM_SPEC "-j" - -#undef ASM_FILE_START -#undef ASM_GENERATE_INTERNAL_LABEL -#undef ASM_OUTPUT_ADDR_DIFF_ELT -#undef ASM_OUTPUT_ALIGN -#undef ASM_OUTPUT_ASCII -#undef ASM_OUTPUT_INTERNAL_LABEL -#undef ASM_OUTPUT_LOCAL -#undef CPP_PREDEFINES -#undef FUNCTION_BOUNDARY -#undef PRINT_OPERAND -#undef PRINT_OPERAND_ADDRESS -#undef TARGET_VERSION -#undef FUNCTION_PROFILER - -#define TARGET_DEFAULT 9 /* 32332 with 32081. */ -#define TARGET_VERSION fprintf (stderr, " (32000, Encore syntax)"); -/* Note Encore does not standardly do -Dencore. */ -/* budd: should have a -ns32332 (or -apc) switch! but no harm for now */ -#define CPP_PREDEFINES "-Dns32000 -Dn16 -Dns16000 -Dns32332 -Dunix -Asystem=unix -Acpu=ns32k -Amachine=ns32k" - -/* Ignore certain cpp directives used in header files on sysV. */ -#define SCCS_DIRECTIVE - -/* Output #ident as a .ident. */ -#define ASM_OUTPUT_IDENT(FILE, NAME) fprintf (FILE, "\t.ident \"%s\"\n", NAME); - -/* The .file command should always begin the output. */ -#define ASM_FILE_START(FILE) \ -output_file_directive ((FILE), main_input_filename) - -#define FUNCTION_BOUNDARY 128 /* speed optimization */ - -/* - * The Encore assembler uses ".align 2" to align on 2-byte boundaries. - */ - -#define ASM_OUTPUT_ALIGN(FILE,LOG) \ - fprintf (FILE, "\t.align %d\n", 1 << (LOG)) - -/* The Encore assembler doesn't seem to accept the usual second argument - and warns that .align may not work in the text section if optimization - is on. */ -#undef LABEL_ALIGN_AFTER_BARRIER -#define LABEL_ALIGN_AFTER_BARRIER(LABEL) 0 - -/* - * Internal labels are prefixed with a period. - */ - -#define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM) \ - sprintf (LABEL, "*.%s%ld", PREFIX, (long)(NUM)) -#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \ - fprintf (FILE, ".%s%d:\n", PREFIX, NUM) -#define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, BODY, VALUE, REL) \ - fprintf (FILE, "\t.double .L%d-.LI%d\n", VALUE, REL) - -/* - * Different syntax for integer constants, double constants, and - * uninitialized locals. - */ - -#define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED) \ -( fputs ("\t.bss ", (FILE)), \ - assemble_name ((FILE), (NAME)), \ - fprintf ((FILE), ",%u,%u\n", (SIZE), (ROUNDED))) - - /* - * Encore assembler can't handle huge string constants like the one in - * gcc.c. If the default routine in varasm.c were more conservative, this - * code could be eliminated. It starts a new .ascii directive every 40 - * characters. - */ - -#define ASM_OUTPUT_ASCII(file, p, size) \ -do { \ - size_t i, limit = (size); \ - for (i = 0; i < limit; i++) \ - { \ - register int c = (p)[i]; \ - if ((i / 40) * 40 == i) \ - { \ - if (i == 0) \ - fprintf ((file), "\t.ascii \""); \ - else \ - fprintf ((file), "\"\n\t.ascii \""); \ - } \ - if (c == '\"' || c == '\\') \ - putc ('\\', (file)); \ - if (c >= ' ' && c < 0177) \ - putc (c, (file)); \ - else \ - { \ - fprintf ((file), "\\%o", c); \ - if (i < limit - 1 && ISDIGIT ((p)[i + 1])) \ - fprintf ((file), "\"\n\t.ascii \""); \ - } \ - } \ - fprintf ((file), "\"\n"); \ -} while (0) - -/* Modify syntax of jsr instructions. */ -#define CALL_MEMREF_IMPLICIT - -#define NO_ABSOLUTE_PREFIX_IF_SYMBOLIC - -#define PRINT_OPERAND(FILE, X, CODE) print_operand(FILE, X, CODE) - -#define PRINT_OPERAND_ADDRESS(FILE, ADDR) print_operand_address(FILE, ADDR) - -/* Change the way in which data is allocated and initialized on the - encore so that both private and shared data are supported. Shared data - that is initialized must be contained in the ".shrdata" section - of the program. This is accomplished by defining the SHARED_SECTION_ASM_OP - macro. Share data that is simply allocated, and not initialized must - be prefixed with the ".shrcomm" or ".shrbss" pseudo op, for common or - local data respectively. This is accomplished by redefining the - ASM_OUTPUT_COMMON and ASM_OUTPUT_LOCAL macros. */ - -/* Assembler pseudo-op for shared data segment. */ - -#define SHARED_SECTION_ASM_OP "\t.shrdata" - -/* This says how to output an assembler line - to define a shared common symbol. */ - -#define ASM_OUTPUT_SHARED_COMMON(FILE, NAME, SIZE, ROUNDED) \ -( fputs (".shrcomm ", (FILE)), \ - assemble_name ((FILE), (NAME)), \ - fprintf ((FILE), ",%d\n", (ROUNDED))) - -/* This says how to output an assembler line - to define a shared local symbol. */ - -#define ASM_OUTPUT_SHARED_LOCAL(FILE, NAME, SIZE, ROUNDED) \ -( fputs ("\t.shrbss ", (FILE)), \ - assemble_name ((FILE), (NAME)), \ - fprintf ((FILE), ",%d,%d\n", (SIZE), (ROUNDED))) - -#define FUNCTION_PROFILER(FILE, LABELNO) \ - fprintf (FILE, "\taddr .LP%d,r0\n\tjsr mcount\n", (LABELNO)) - -#define ENCORE_ASM diff --git a/gcc/config/ns32k/merlin.h b/gcc/config/ns32k/merlin.h deleted file mode 100644 index f38870dd3fc..00000000000 --- a/gcc/config/ns32k/merlin.h +++ /dev/null @@ -1,137 +0,0 @@ -/* Definitions of target machine for GNU compiler. MERLIN NS32000 version. - Copyright (C) 1990, 1994, 2000 Free Software Foundation, Inc. - By Mark Mason (mason@reed.bitnet, pyramid!unify!mason@uunet.uu.net). - -This file is part of GNU CC. - -GNU CC 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. - -GNU CC 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 GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* Two flags to control how addresses are printed in assembler insns. */ - -#define SEQUENT_ADDRESS_BUG 1 -#define SEQUENT_BASE_REGS - -#include "ns32k/ns32k.h" - -#define MERLIN_TARGET - -/* This is BSD, so it wants DBX format. */ -#define DBX_DEBUGGING_INFO - -/* Sequent has some changes in the format of DBX symbols. */ -#define DBX_NO_XREFS 1 - -/* Don't split DBX symbols into continuations. */ -#define DBX_CONTIN_LENGTH 0 - -#define TARGET_DEFAULT 1 - -/* Print subsidiary information on the compiler version in use. */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (32000, UTek syntax)"); - -/* These control the C++ compiler somehow. */ -#define FASCIST_ASSEMBLER -#define USE_COLLECT - -#undef CPP_PREDEFINES -#define CPP_PREDEFINES \ - "-Dns32000 -Dns32k -Dns16000 -Dmerlin -Dunix -DUtek -Dbsd \ - -Asystem=unix -Asystem=bsd -Acpu=ns32k -Amachine=ns32k" - -/* This is how to align the code that follows an unconditional branch. - Don't define it, since it confuses the assembler (we hear). */ - -#undef LABEL_ALIGN_AFTER_BARRIER - -/* Assembler pseudo-op for shared data segment. */ -#define SHARED_SECTION_ASM_OP "\t.shdata" - -/* %$ means print the prefix for an immediate operand. */ - -#ifdef UTEK_ASM -#undef PRINT_OPERAND -#define PRINT_OPERAND(FILE, X, CODE) do { \ - if (CODE == '$') putc('$', FILE); \ - else if (CODE == '?'); \ - else if (GET_CODE (X) == CONST_INT) \ - fprintf(FILE, "$%d", INTVAL(X)); \ - else if (GET_CODE (X) == REG) \ - fprintf (FILE, "%s", reg_names[REGNO (X)]); \ - else if (GET_CODE (X) == MEM) \ - { \ - rtx xfoo; \ - xfoo = XEXP (X, 0); \ - switch (GET_CODE (xfoo)) \ - { \ - case MEM: \ - if (GET_CODE (XEXP (xfoo, 0)) == REG) \ - if (REGNO (XEXP (xfoo, 0)) == STACK_POINTER_REGNUM) \ - fprintf (FILE, "0(0(sp))"); \ - else fprintf (FILE, "0(0(%s))", \ - reg_names[REGNO (XEXP (xfoo, 0))]); \ - else \ - { \ - if (GET_CODE (XEXP (xfoo, 0)) == SYMBOL_REF \ - || GET_CODE (XEXP (xfoo, 0)) == CONST) \ - { \ - fprintf(FILE, "0("); \ - output_address(xfoo); \ - fprintf(FILE, "(sb))"); \ - } \ - else \ - { \ - fprintf (FILE, "0("); \ - output_address (xfoo); \ - putc (')', FILE); \ - } \ - } \ - break; \ - case REG: \ - fprintf (FILE, "0(%s)", reg_names[REGNO (xfoo)]); \ - break; \ - case PRE_DEC: \ - case POST_INC: \ - fprintf (FILE, "tos"); \ - break; \ - case CONST_INT: \ - fprintf (FILE, "$%d", INTVAL (xfoo)); \ - break; \ - default: \ - output_address (xfoo); \ - break; \ - } \ - } \ - else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X) != VOIDmode) \ - { \ - char buf[50]; \ - REAL_VALUE_TYPE rval; \ - REAL_VALUE_FROM_CONST_DOUBLE(rval, XV); \ - REAL_VALUE_TO_DECIMAL (rval, "%.20e", buf); \ - if (GET_MODE (XV) == SFmode) \ - fprintf (FILE, "$0e%s", buf); \ - else if (GET_MODE (XV) == DFmode) \ - fprintf (FILE, "$0d%s", buf); \ - else \ - abort(); \ - } \ - else output_addr_const (FILE, X); \ -} while (0) - -#endif /* UTEK_ASM */ - -#undef PRINT_OPERAND_ADDRESS -#define PRINT_OPERAND_ADDRESS(FILE, ADDR) print_operand_address(FILE, ADDR) diff --git a/gcc/config/ns32k/pc532-mach.h b/gcc/config/ns32k/pc532-mach.h deleted file mode 100644 index 51b3165a392..00000000000 --- a/gcc/config/ns32k/pc532-mach.h +++ /dev/null @@ -1,30 +0,0 @@ -/* Definitions of target machine for GNU compiler. - PC532 with National 32532, running Mach 3.0. - Copyright (C) 1992, 1994 Free Software Foundation, Inc. - -This file is part of GNU CC. - -GNU CC 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. - -GNU CC 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 GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -#include "ns32k/pc532.h" - -#undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dns32532 -DPC532 -DMACH=1 -Asystem=unix -Asystem=mach -Acpu=ns32k -Amachine=ns32k" - -/* There's a bug in the setjmp implementation that strikes - if the caller of setjmp doesn't have a frame pointer. */ -#undef FRAME_POINTER_REQUIRED -#define FRAME_POINTER_REQUIRED current_function_calls_setjmp diff --git a/gcc/config/ns32k/pc532-min.h b/gcc/config/ns32k/pc532-min.h deleted file mode 100644 index d5f4ad1db06..00000000000 --- a/gcc/config/ns32k/pc532-min.h +++ /dev/null @@ -1,37 +0,0 @@ -/* Definitions of target machine for GNU compiler. - PC532 with National 32532, running Minix. - Works with pc532 Minix 1.5hybrid. - Copyright (C) 1990, 1999 Free Software Foundation, Inc. - - Derived from SEQUENT NS32000, written originally - by Bruce Culbertson <culberts@hplabs.hp.com>, - hacked for easier fit in gcc by Jyrki Kuoppala <jkp@cs.hut.fi>. - -This file is part of GNU CC. - -GNU CC 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. - -GNU CC 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 GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -#include "ns32k/pc532.h" - -/* Minix has crtso.o instead of crt0.o */ -#undef STARTFILE_SPEC -#define STARTFILE_SPEC \ - "%{pg:gcrtso.o%s}%{!pg:%{p:mcrtso.o%s}%{!p:crtso.o%s}}" - -/* our setjmp doesn't save registers, so we must tell gcc to save - call-saved-regs in a function calling setjmp */ - -#define NON_SAVING_SETJMP (current_function_calls_setjmp) diff --git a/gcc/config/ns32k/pc532.h b/gcc/config/ns32k/pc532.h deleted file mode 100644 index f589d13e581..00000000000 --- a/gcc/config/ns32k/pc532.h +++ /dev/null @@ -1,73 +0,0 @@ -/* Definitions of target machine for GNU compiler. - PC532 with National 32532. - Copyright (C) 1990, 1994 Free Software Foundation, Inc. - Contributed by Jukka Virtanen <jtv@hut.fi>, Jyrki Kuoppala <jkp@cs.hut.fi>, - Tatu Yl|nen <ylo@ngs.fi>, Johannes Helander <jvh@cs.hut.fi>. - -This file is part of GNU CC. - -GNU CC 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. - -GNU CC 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 GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -#include "ns32k/ns32k.h" - -/* Compile for the floating point unit & 32532 by default; - also presume SB is zero and no bitfield instructions */ - -#define TARGET_DEFAULT (1 + 24 + 64) - -/* Write DBX debugging info for gdb to read */ - -#define DBX_DEBUGGING_INFO - -/* Use the re-entrant and potentially faster method */ - -#undef PCC_STATIC_STRUCT_RETURN - -/* 32-bit alignment for efficiency */ -#undef POINTER_BOUNDARY -#define POINTER_BOUNDARY 32 - -/* 32-bit alignment for efficiency */ -#undef FUNCTION_BOUNDARY -#define FUNCTION_BOUNDARY 32 - -/* 32532 spec says it can handle any alignment. Rumor from tm-ns32k.h - tells this might not be actually true (but it's for 32032, perhaps - National has fixed the bug for 32532). You might have to change this - if the bug still exists. */ - -#undef STRICT_ALIGNMENT -#define STRICT_ALIGNMENT 0 - -/* Maybe someone needs to know which processor we're running on */ - -#undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dns32000 -Dns32532 -Dpc532 -Dunix -Asystem=unix -Acpu=ns32k -Amachine=ns32k" - -/* Use pc relative addressing whenever possible, - it's more efficient than absolute (ns32k.c) - You have to fix a bug in gas 1.38.1 to make this work with gas, - patch available from jkp@cs.hut.fi. */ - -#define PC_RELATIVE - -/* Operand of bsr or jsr should be just the address. */ - -#define CALL_MEMREF_IMPLICIT - -/* movd insns may have floating point constant operands. */ - -#define MOVD_FLOAT_OK diff --git a/gcc/config/ns32k/sequent.h b/gcc/config/ns32k/sequent.h deleted file mode 100644 index ab166918531..00000000000 --- a/gcc/config/ns32k/sequent.h +++ /dev/null @@ -1,77 +0,0 @@ -/* Definitions of target machine for GNU compiler. SEQUENT NS32000 version. - Copyright (C) 1987, 2000 Free Software Foundation, Inc. - Contributed by Michael Tiemann (tiemann@mcc.com) - -This file is part of GNU CC. - -GNU CC 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. - -GNU CC 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 GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -#include "ns32k/ns32k.h" - -/* This is BSD, so it wants DBX format. */ -#define DBX_DEBUGGING_INFO - -/* Sequent has some changes in the format of DBX symbols. */ -#define DBX_NO_XREFS 1 - -/* Don't split DBX symbols into continuations. */ -#define DBX_CONTIN_LENGTH 0 - -#define TARGET_DEFAULT 9 /* 32332 with 32081 (guessing). */ - -/* Print subsidiary information on the compiler version in use. */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (32000, Sequent syntax)"); - -#undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dns32000 -Dsequent -Dunix -Asystem=unix -Asystem=bsd -Acpu=ns32k -Amachine=ns32k" - -/* Link with libg.a when debugging, for dbx's sake. */ - -#define LIB_SPEC "%{g:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p} " - -/* gcc should find libgcc.a itself, not ask linker to do so. */ - -#define LINK_LIBGCC_SPECIAL - -/* GCC must match what sys/types.h uses for size_t. */ - -#define SIZE_TYPE "int" - -/* This is how to align the code that follows an unconditional branch. - Don't define it, since it confuses the assembler (we hear). */ - -#undef LABEL_ALIGN_AFTER_BARRIER - -/* Assembler pseudo-op for shared data segment. */ -#define SHARED_SECTION_ASM_OP "\t.shdata" - -/* Control how stack adjust insns are output. */ -#define SEQUENT_ADJUST_STACK - -#define NO_ABSOLUTE_PREFIX_IF_SYMBOLIC - -#define IMMEDIATE_PREFIX 0 - -#define SEQUENT_ASM - -/* Operand of bsr or jsr should be just the address. */ - -#define CALL_MEMREF_IMPLICIT - -/* Output a reg as an index rather than a base if we have the choice. */ - -#define INDEX_RATHER_THAN_BASE diff --git a/gcc/config/ns32k/tek6000.h b/gcc/config/ns32k/tek6000.h deleted file mode 100644 index 219d9198903..00000000000 --- a/gcc/config/ns32k/tek6000.h +++ /dev/null @@ -1,136 +0,0 @@ -/* Definitions of target machine for GNU compiler. - Generic Tektronix 6000 series NS32000 version. - See ns32k/tek6100.h and ns32k/tek6200.h, which include this file. - Copyright (C) 1990, 2000 Free Software Foundation, Inc. - Created by Snoopy (sopwith.uucp!snoopy). - Based on work by Mark Mason (mason@reed.bitnet, - pyramid!unify!mason@uunet.uu.net) and Keith Packard. - -This file is part of GNU CC. - -GNU CC 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. - -GNU CC 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 GNU CC; see the file COPYING. If not, write to -the Free Software Foundation, 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ - -/* Generate syntax for the UTek assembler. */ -#ifndef UTEK_ASM -#define UTEK_ASM -#endif - -/* Two flags to control how addresses are printed in assembler insns. */ - -/* The way PUT_ABSOLUTE_PREFIX in ns32k.h works, setting it to 0 will - * turn it off. Define ABSOLUTE_PREFIX before including ns32k.h. - */ -#define ABSOLUTE_PREFIX 0 -#define IMMEDIATE_PREFIX '$' - -#include "ns32k/ns32k.h" - -/* Define these after ns32k.c so we will notice if gcc tries to - * output external mode addressing. UTek's as and ld do not support - * external mode addressing, according to Daryl McDaniel (illian.uucp!darylm). - * Hopefully the UTek assembler will complain if gcc feeds it this stuff. - * They don't seem to do anything, I think that gcc is not actually - * trying to generate external mode operands. - */ -#undef PUT_EXTERNAL_PREFIX -#define PUT_EXTERNAL_PREFIX(arg) fprintf(arg, " Should not be using external mode under UTek. ") -#define EXTERNAL_PREFIX '%' - -/* Used in ns32k.c to control syntax. */ -#define NO_ABSOLUTE_PREFIX_IF_SYMBOLIC -#define NO_IMMEDIATE_PREFIX_IF_SYMBOLIC - -/* Used in ns32k.md to specify syntax of bsr/jsr operand. */ -#define CALL_MEMREF_IMPLICIT - -/* #define PC_RELATIVE */ /* Seems to break things. */ -#define BASE_REG_NEEDED /* Seems to fix problem where external mode - * syntax was being generated. - */ - -/* ------------ Debugging Support ----------------------------- */ - -/* The sdb support does not yet work with UTek. Need to teach gcc - * how to create sdb type stabs as well as dbx style stabs. - */ -#define DBX_DEBUGGING_INFO -/* #define SDB_DEBUGGING_INFO */ - -/* Act the same as the UTek complier: -g for dbx, -go for sdb. - * This is used in toplev.c. - */ -#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG - -#define CC1_SPEC "{go:-gcoff}" -#define CC1PLUS_SPEC "{go:-gcoff}" - -/* Sequent has some changes in the format of DBX symbols. */ -#define DBX_NO_XREFS 1 - -/* Don't split DBX symbols into continuations. */ -#define DBX_CONTIN_LENGTH 0 - -/* ------------------------------------------- */ - -#define TARGET_DEFAULT 1 - -/* These control the C++ compiler somehow. */ -#define FASCIST_ASSEMBLER -#define USE_COLLECT - -/* Print subsidiary information on the compiler version in use. */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (ns32k, UTek syntax)"); - -/* The tek6100.h and tek6200.h files add stratos or merlin respectively. */ - -#define CPP_PREDEFINES_Tek6000 \ - "-Dns16000 -Dns32000 -Dns32k -Dns32016 -DUTek -DUTEK -Dbsd -DBSD \ - -Asystem=unix -Asystem=bsd -Acpu=ns32k -Amachine=ns32k" -#undef CPP_PREDEFINES -#define CPP_PREDEFINES CPP_PREDEFINES_Tek6000 - -/* This is how to align the code that follows an unconditional branch. - Don't define it, since it confuses the assembler (we hear). */ - -#undef LABEL_ALIGN_AFTER_BARRIER - -/* Assembler pseudo-op for shared data segment. */ -#define SHARED_SECTION_ASM_OP "\t.shdata" - -#ifdef UTEK_ASM - -/* UTek assembler needs "ret $0", not "ret 0". */ -#undef TRANSFER_FROM_TRAMPOLINE -#define TRANSFER_FROM_TRAMPOLINE \ -void \ -__transfer_from_trampoline () \ -{ \ - asm ("___trampoline:"); \ - asm ("movd 16(r2),tos"); \ - asm ("movd 12(r2),r2"); \ - asm ("ret $0"); \ -} - -#endif /* UTEK_ASM */ - -#undef PRINT_OPERAND_ADDRESS -#define PRINT_OPERAND_ADDRESS(FILE, ADDR) print_operand_address(FILE, ADDR) - -/* The UTek library supplies bcopy() and friends, not memcpy(). */ -#ifdef TARGET_MEM_FUNCTIONS -#undef TARGET_MEM_FUNCTIONS -#endif diff --git a/gcc/config/ns32k/tek6100.h b/gcc/config/ns32k/tek6100.h deleted file mode 100644 index 846f401db88..00000000000 --- a/gcc/config/ns32k/tek6100.h +++ /dev/null @@ -1,7 +0,0 @@ -#include "ns32k/tek6000.h" - -#undef CPP_PREDEFINES -#define CPP_PREDEFINES \ - "-Dns32000 -Dns32k -Dns16000 -Dns32016 -DUTek -DUTEK -Dbsd -DBSD -Dstratos \ - -Asystem=unix -Asystem=bsd -Acpu=ns32k -Amachine=ns32k" - diff --git a/gcc/config/ns32k/tek6200.h b/gcc/config/ns32k/tek6200.h deleted file mode 100644 index 04e37c1939a..00000000000 --- a/gcc/config/ns32k/tek6200.h +++ /dev/null @@ -1,7 +0,0 @@ -#include "ns32k/tek6000.h" - -#undef CPP_PREDEFINES -#define CPP_PREDEFINES \ - "-Dns32000 -Dns32k -Dns16000 -Dns32016 -DUTek -DUTEK -Dbsd -DBSD -Dmerlin \ - -Asystem=unix -Asystem=bsd -Acpu=ns32k -Amachine=ns32k" - |