Commit 1a8965c4 by Andreas Schwab Committed by Andreas Schwab

coff.h: Remove support for Sun FPA and Sun SKY board.

2003-05-17  Andreas Schwab  <schwab@suse.de>

	* config/m68k/coff.h: Remove support for Sun FPA and Sun SKY board.
	* config/m68k/linux.h: Likewise.
	* config/m68k/m68k-none.h: Likewise.
	* config/m68k/netbsd-elf.h: Likewise.
	* config/m68k/sgs.h: Likewise.
	* config/m68k/m68k.h: Likewise.
	* config/m68k/m68k.md: Likewise.
	* config/m68k/m68k.c: Likewise.
	* doc/md.texi (Machine Constraints): Remove Sun FPA specific
	constraints.
	* doc/invoke.texi (Option Summary): Remove -mfpa.
	(M680x0 Options): Likewise.

From-SVN: r66907
parent 2a8fa26c
2003-05-17 Andreas Schwab <schwab@suse.de>
* config/m68k/coff.h: Remove support for Sun FPA and Sun SKY board.
* config/m68k/linux.h: Likewise.
* config/m68k/m68k-none.h: Likewise.
* config/m68k/netbsd-elf.h: Likewise.
* config/m68k/sgs.h: Likewise.
* config/m68k/m68k.h: Likewise.
* config/m68k/m68k.md: Likewise.
* config/m68k/m68k.c: Likewise.
* doc/md.texi (Machine Constraints): Remove Sun FPA specific
constraints.
* doc/invoke.texi (Option Summary): Remove -mfpa.
(M680x0 Options): Likewise.
2003-05-17 David Edelsohn <edelsohn@gnu.org> 2003-05-17 David Edelsohn <edelsohn@gnu.org>
* rs6000.c (rs6000_function_value): Simplify REAL_TYPE logic. * rs6000.c (rs6000_function_value): Simplify REAL_TYPE logic.
......
/* Definitions of target machine for GNU compiler. /* Definitions of target machine for GNU compiler.
m68k series COFF object files and debugging, version. m68k series COFF object files and debugging, version.
Copyright (C) 1994, 1996, 1997, 2000, 2002 Free Software Foundation, Inc. Copyright (C) 1994, 1996, 1997, 2000, 2002, 2003 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -71,21 +71,10 @@ Boston, MA 02111-1307, USA. */ ...@@ -71,21 +71,10 @@ Boston, MA 02111-1307, USA. */
/* Here are the new register names. */ /* Here are the new register names. */
#undef REGISTER_NAMES #undef REGISTER_NAMES
#ifndef SUPPORT_SUN_FPA
#define REGISTER_NAMES \ #define REGISTER_NAMES \
{"%d0", "%d1", "%d2", "%d3", "%d4", "%d5", "%d6", "%d7", \ {"%d0", "%d1", "%d2", "%d3", "%d4", "%d5", "%d6", "%d7", \
"%a0", "%a1", "%a2", "%a3", "%a4", "%a5", "%a6", "%sp", \ "%a0", "%a1", "%a2", "%a3", "%a4", "%a5", "%a6", "%sp", \
"%fp0", "%fp1", "%fp2", "%fp3", "%fp4", "%fp5", "%fp6", "%fp7" } "%fp0", "%fp1", "%fp2", "%fp3", "%fp4", "%fp5", "%fp6", "%fp7" }
#else /* SUPPORTED_SUN_FPA */
#define REGISTER_NAMES \
{"%d0", "%d1", "%d2", "%d3", "%d4", "%d5", "%d6", "%d7", \
"%a0", "%a1", "%a2", "%a3", "%a4", "%a5", "%a6", "%sp", \
"%fp0", "%fp1", "%fp2", "%fp3", "%fp4", "%fp5", "%fp6", "%fp7", \
"%fpa0", "%fpa1", "%fpa2", "%fpa3", "%fpa4", "%fpa5", "%fpa6", "%fpa7", \
"%fpa8", "%fpa9", "%fpa10", "%fpa11", "%fpa12", "%fpa13", "%fpa14", "%fpa15", \
"%fpa16", "%fpa17", "%fpa18", "%fpa19", "%fpa20", "%fpa21", "%fpa22", "%fpa23", \
"%fpa24", "%fpa25", "%fpa26", "%fpa27", "%fpa28", "%fpa29", "%fpa30", "%fpa31" }
#endif /* defined SUPPORT_SUN_FPA */
#undef ASM_FILE_START #undef ASM_FILE_START
#define ASM_FILE_START(FILE) \ #define ASM_FILE_START(FILE) \
......
/* Definitions for Motorola 68k running Linux-based GNU systems with /* Definitions for Motorola 68k running Linux-based GNU systems with
ELF format. ELF format.
Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc. Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -80,26 +80,11 @@ Boston, MA 02111-1307, USA. */ ...@@ -80,26 +80,11 @@ Boston, MA 02111-1307, USA. */
#undef REGISTER_NAMES #undef REGISTER_NAMES
#ifndef SUPPORT_SUN_FPA
#define REGISTER_NAMES \ #define REGISTER_NAMES \
{"%d0", "%d1", "%d2", "%d3", "%d4", "%d5", "%d6", "%d7", \ {"%d0", "%d1", "%d2", "%d3", "%d4", "%d5", "%d6", "%d7", \
"%a0", "%a1", "%a2", "%a3", "%a4", "%a5", "%a6", "%sp", \ "%a0", "%a1", "%a2", "%a3", "%a4", "%a5", "%a6", "%sp", \
"%fp0", "%fp1", "%fp2", "%fp3", "%fp4", "%fp5", "%fp6", "%fp7" } "%fp0", "%fp1", "%fp2", "%fp3", "%fp4", "%fp5", "%fp6", "%fp7" }
#else /* SUPPORTED_SUN_FPA */
#define REGISTER_NAMES \
{"%d0", "%d1", "%d2", "%d3", "%d4", "%d5", "%d6", "%d7", \
"%a0", "%a1", "%a2", "%a3", "%a4", "%a5", "%a6", "%sp", \
"%fp0", "%fp1", "%fp2", "%fp3", "%fp4", "%fp5", "%fp6", "%fp7", \
"%fpa0", "%fpa1", "%fpa2", "%fpa3", "%fpa4", "%fpa5", "%fpa6", "%fpa7", \
"%fpa8", "%fpa9", "%fpa10","%fpa11","%fpa12","%fpa13","%fpa14","%fpa15", \
"%fpa16","%fpa17","%fpa18","%fpa19","%fpa20","%fpa21","%fpa22","%fpa23", \
"%fpa24","%fpa25","%fpa26","%fpa27","%fpa28","%fpa29","%fpa30","%fpa31" }
#endif /* defined SUPPORT_SUN_FPA */
#undef SIZE_TYPE #undef SIZE_TYPE
#define SIZE_TYPE "unsigned int" #define SIZE_TYPE "unsigned int"
......
/* Definitions of target machine for GNU compiler. "naked" 68020. /* Definitions of target machine for GNU compiler. "naked" 68020.
Copyright (C) 1994, 1996 Free Software Foundation, Inc. Copyright (C) 1994, 1996, 2003 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -92,22 +92,15 @@ Unrecognized value in TARGET_CPU_DEFAULT. ...@@ -92,22 +92,15 @@ Unrecognized value in TARGET_CPU_DEFAULT.
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dmc68000" #define CPP_PREDEFINES "-Dmc68000"
/* Define one of __HAVE_68881__, __HAVE_FPA__, __HAVE_SKY__, or nothing /* Define __HAVE_68881__ or nothing (soft float), appropriately. */
(soft float), appropriately. */
#undef CPP_FPU_SPEC #undef CPP_FPU_SPEC
#if TARGET_DEFAULT & MASK_68881 #if TARGET_DEFAULT & MASK_68881
#define CPP_FPU_SPEC "\ #define CPP_FPU_SPEC "\
%{!mc68000:%{!m68000:%{!m68302:%{!mcpu32:%{!m68332:%{!m5200:%{!msoft-float:%{!mno-68881:%{!mfpa:%{!msky:-D__HAVE_68881__ }}}}}}}}}} \ %{!mc68000:%{!m68000:%{!m68302:%{!mcpu32:%{!m68332:%{!m5200:%{!msoft-float:%{!mno-68881:-D__HAVE_68881__ }}}}}}}} \
%{m68881:-D__HAVE_68881__ }%{mfpa:-D__HAVE_FPA__ }%{msky:-D__HAVE_SKY__ }" %{m68881:-D__HAVE_68881__ }"
#else
/* This can't currently happen, but we code it anyway to show how it's done. */
#if TARGET_DEFAULT & MASK_FPA
#define CPP_FPU_SPEC \
"%{!msoft-float:%{m68881:-D__HAVE_68881__ }%{!m68881:-D__HAVE_FPA__ }}"
#else #else
#define CPP_FPU_SPEC "\ #define CPP_FPU_SPEC "\
%{m68881:-D__HAVE_68881__ }%{mfpa:-D__HAVE_FPA__ }%{msky:-D__HAVE_SKY__ }" %{m68881:-D__HAVE_68881__ }"
#endif
#endif #endif
/* Names to predefine in the preprocessor for this target machine. /* Names to predefine in the preprocessor for this target machine.
...@@ -175,8 +168,6 @@ Unrecognized value in TARGET_CPU_DEFAULT. ...@@ -175,8 +168,6 @@ Unrecognized value in TARGET_CPU_DEFAULT.
#define SUBTARGET_EXTRA_SPECS #define SUBTARGET_EXTRA_SPECS
/* Avoid building multilib libraries for the defaults. /* Avoid building multilib libraries for the defaults.
t-m68kbare doesn't support -mfpa in the multilib'd libraries, so we don't
either.
For targets not handled here, just build the full set of multilibs. For targets not handled here, just build the full set of multilibs.
The default is m68k 99.9% of the time anyway. */ The default is m68k 99.9% of the time anyway. */
......
/* Definitions of target machine for GNU compiler, /* Definitions of target machine for GNU compiler,
for m68k (including m68010) NetBSD platforms using the for m68k (including m68010) NetBSD platforms using the
ELF object format. ELF object format.
Copyright (C) 2002 Free Software Foundation, Inc. Copyright (C) 2002, 2003 Free Software Foundation, Inc.
Contributed by Wasabi Systems. Inc. Contributed by Wasabi Systems. Inc.
This file is derived from <m68k/m68kv4.h>, <m68k/m68kelf.h>, This file is derived from <m68k/m68kv4.h>, <m68k/m68kelf.h>,
...@@ -187,26 +187,11 @@ while (0) ...@@ -187,26 +187,11 @@ while (0)
#undef REGISTER_NAMES #undef REGISTER_NAMES
#ifndef SUPPORT_SUN_FPA
#define REGISTER_NAMES \ #define REGISTER_NAMES \
{"%d0", "%d1", "%d2", "%d3", "%d4", "%d5", "%d6", "%d7", \ {"%d0", "%d1", "%d2", "%d3", "%d4", "%d5", "%d6", "%d7", \
"%a0", "%a1", "%a2", "%a3", "%a4", "%a5", "%fp", "%sp", \ "%a0", "%a1", "%a2", "%a3", "%a4", "%a5", "%fp", "%sp", \
"%fp0", "%fp1", "%fp2", "%fp3", "%fp4", "%fp5", "%fp6", "%fp7" } "%fp0", "%fp1", "%fp2", "%fp3", "%fp4", "%fp5", "%fp6", "%fp7" }
#else /* SUPPORT_SUN_FPA */
#define REGISTER_NAMES \
{"%d0", "%d1", "%d2", "%d3", "%d4", "%d5", "%d6", "%d7", \
"%a0", "%a1", "%a2", "%a3", "%a4", "%a5", "%fp", "%sp", \
"%fp0", "%fp1", "%fp2", "%fp3", "%fp4", "%fp5", "%fp6", "%fp7", \
"%fpa0", "%fpa1", "%fpa2", "%fpa3", "%fpa4", "%fpa5", "%fpa6","%fpa7", \
"%fpa8", "%fpa9", "%fpa10","%fpa11","%fpa12","%fpa13","%fpa14","%fpa15", \
"%fpa16","%fpa17","%fpa18","%fpa19","%fpa20","%fpa21","%fpa22","%fpa23", \
"%fpa24","%fpa25","%fpa26","%fpa27","%fpa28","%fpa29","%fpa30","%fpa31" }
#endif /* ! SUPPORT_SUN_FPA */
/* Currently, JUMP_TABLES_IN_TEXT_SECTION must be defined in order to /* Currently, JUMP_TABLES_IN_TEXT_SECTION must be defined in order to
keep switch tables in the text section. */ keep switch tables in the text section. */
......
/* Definitions of target machine for GNU compiler for m68k targets using /* Definitions of target machine for GNU compiler for m68k targets using
assemblers derived from AT&T "SGS" releases. assemblers derived from AT&T "SGS" releases.
Copyright (C) 1991, 1993, 1996, 2000 Free Software Foundation, Inc. Copyright (C) 1991, 1993, 1996, 2000, 2003 Free Software Foundation, Inc.
Written by Fred Fish (fnf@cygnus.com) Written by Fred Fish (fnf@cygnus.com)
This file is part of GNU CC. This file is part of GNU CC.
...@@ -79,26 +79,11 @@ Boston, MA 02111-1307, USA. */ ...@@ -79,26 +79,11 @@ Boston, MA 02111-1307, USA. */
#undef REGISTER_NAMES #undef REGISTER_NAMES
#ifndef SUPPORT_SUN_FPA
#define REGISTER_NAMES \ #define REGISTER_NAMES \
{"%d0", "%d1", "%d2", "%d3", "%d4", "%d5", "%d6", "%d7", \ {"%d0", "%d1", "%d2", "%d3", "%d4", "%d5", "%d6", "%d7", \
"%a0", "%a1", "%a2", "%a3", "%a4", "%a5", "%fp", "%sp", \ "%a0", "%a1", "%a2", "%a3", "%a4", "%a5", "%fp", "%sp", \
"%fp0", "%fp1", "%fp2", "%fp3", "%fp4", "%fp5", "%fp6", "%fp7" } "%fp0", "%fp1", "%fp2", "%fp3", "%fp4", "%fp5", "%fp6", "%fp7" }
#else /* SUPPORTED_SUN_FPA */
#define REGISTER_NAMES \
{"%d0", "%d1", "%d2", "%d3", "%d4", "%d5", "%d6", "%d7", \
"%a0", "%a1", "%a2", "%a3", "%a4", "%a5", "%fp", "%sp", \
"%fp0", "%fp1", "%fp2", "%fp3", "%fp4", "%fp5", "%fp6", "%fp7", \
"%fpa0", "%fpa1", "%fpa2", "%fpa3", "%fpa4", "%fpa5", "%fpa6","%fpa7", \
"%fpa8", "%fpa9", "%fpa10","%fpa11","%fpa12","%fpa13","%fpa14","%fpa15", \
"%fpa16","%fpa17","%fpa18","%fpa19","%fpa20","%fpa21","%fpa22","%fpa23", \
"%fpa24","%fpa25","%fpa26","%fpa27","%fpa28","%fpa29","%fpa30","%fpa31" }
#endif /* defined SUPPORT_SUN_FPA */
/* This is how to output an assembler line that says to advance the /* This is how to output an assembler line that says to advance the
location counter to a multiple of 2**LOG bytes. */ location counter to a multiple of 2**LOG bytes. */
......
...@@ -329,7 +329,7 @@ in the following sections. ...@@ -329,7 +329,7 @@ in the following sections.
@emph{M680x0 Options} @emph{M680x0 Options}
@gccoptlist{-m68000 -m68020 -m68020-40 -m68020-60 -m68030 -m68040 @gol @gccoptlist{-m68000 -m68020 -m68020-40 -m68020-60 -m68030 -m68040 @gol
-m68060 -mcpu32 -m5200 -m68881 -mbitfield -mc68000 -mc68020 @gol -m68060 -mcpu32 -m5200 -m68881 -mbitfield -mc68000 -mc68020 @gol
-mfpa -mnobitfield -mrtd -mshort -msoft-float -mpcrel @gol -mnobitfield -mrtd -mshort -msoft-float -mpcrel @gol
-malign-int -mstrict-align} -malign-int -mstrict-align}
@emph{M68hc1x Options} @emph{M68hc1x Options}
...@@ -5700,10 +5700,6 @@ This results in code which can run relatively efficiently on either a ...@@ -5700,10 +5700,6 @@ This results in code which can run relatively efficiently on either a
68020/68881 or a 68030 or a 68040. The generated code does use the 68020/68881 or a 68030 or a 68040. The generated code does use the
68881 instructions that are emulated on the 68060. 68881 instructions that are emulated on the 68060.
@item -mfpa
@opindex mfpa
Generate output containing Sun FPA instructions for floating point.
@item -msoft-float @item -msoft-float
@opindex msoft-float @opindex msoft-float
Generate output containing library calls for floating point. Generate output containing library calls for floating point.
......
...@@ -1934,12 +1934,6 @@ Data register ...@@ -1934,12 +1934,6 @@ Data register
@item f @item f
68881 floating-point register, if available 68881 floating-point register, if available
@item x
Sun FPA (floating-point) register, if available
@item y
First 16 Sun FPA registers, if available
@item I @item I
Integer in the range 1 to 8 Integer in the range 1 to 8
...@@ -1957,9 +1951,6 @@ Signed number whose magnitude is greater than 0x100 ...@@ -1957,9 +1951,6 @@ Signed number whose magnitude is greater than 0x100
@item G @item G
Floating point constant that is not a 68881 constant Floating point constant that is not a 68881 constant
@item H
Floating point constant that can be used by Sun FPA
@end table @end table
@item Motorola 68HC11 & 68HC12 families---@file{m68hc11.h} @item Motorola 68HC11 & 68HC12 families---@file{m68hc11.h}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment