config.gcc (mips*-*-gnu*): Delete support.

2001-10-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* config.gcc (mips*-*-gnu*): Delete support.
	* config/mips/gnu.h: Remove.

From-SVN: r46150
This commit is contained in:
Franz Sirl 2001-10-10 16:50:19 +00:00 committed by Franz Sirl
parent 301068864b
commit c156ea3083
3 changed files with 5 additions and 117 deletions

View File

@ -1,3 +1,8 @@
2001-10-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config.gcc (mips*-*-gnu*): Delete support.
* config/mips/gnu.h: Remove.
2001-10-10 Kazu Hirata <kazu@hxi.com>
* calls.c: Fix formatting.

View File

@ -282,9 +282,6 @@ case $machine in
i[34567]86-*-*)
tm_file="${cpu_type}/${cpu_type}.h i386/att.h linux.h i386/linux.h gnu.h ${tm_file}"
;;
mips*-*-*)
tm_file="svr4.h ${cpu_type}/${cpu_type}.h ${tm_file}"
;;
esac
;;
*-*-openbsd*)
@ -2441,8 +2438,6 @@ mips-*-riscos[56789]*) # Default MIPS RISC-OS 5.0.
use_collect2=yes
fi
;;
mips-*-gnu*)
;;
mipsel-*-ecoff*)
tm_file=mips/ecoffl.h
if test x$stabs = xyes; then

View File

@ -1,112 +0,0 @@
/* Definitions of target machine for GNU compiler. MIPS GNU Hurd version.
Copyright (C) 1995, 1996, 1999, 2000 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. */
#define TARGET_DEFAULT MASK_GAS
#include <mips/mips.h>
#undef SWITCH_TAKES_ARG
#undef ASM_FILE_END
#undef ASM_OUTPUT_IDENT
#undef ASM_OUTPUT_SOURCE_LINE
#undef READONLY_DATA_SECTION
#undef SELECT_SECTION
#undef ASM_DECLARE_FUNCTION_NAME
#undef ASM_DECLARE_OBJECT_NAME
/* #undef PREFERRED_DEBUGGING_TYPE */
#include <svr4.h>
#undef MD_EXEC_PREFIX
#undef MD_STARTFILE_PREFIX
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (MIPS GNU/ELF)");
#undef ASM_OUTPUT_SOURCE_LINE
#define ASM_OUTPUT_SOURCE_LINE(FILE, LINE) \
do { \
++sym_lineno; \
fprintf ((FILE), ".LM%d:\n%s%d,0,%d,.LM%d\n", \
sym_lineno, ASM_STABN_OP, N_SLINE, (LINE), sym_lineno); \
} while (0)
#undef ASM_DECLARE_FUNCTION_NAME
#define ASM_DECLARE_FUNCTION_NAME(STREAM, NAME, DECL) \
do { \
extern FILE *asm_out_text_file; \
\
if (TARGET_GP_OPT) \
STREAM = asm_out_text_file; \
fprintf (STREAM, "%s", TYPE_ASM_OP); \
assemble_name (STREAM, NAME); \
putc (',', STREAM); \
fprintf (STREAM, TYPE_OPERAND_FMT, "function"); \
putc ('\n', STREAM); \
ASM_DECLARE_RESULT (STREAM, DECL_RESULT (DECL)); \
HALF_PIC_DECLARE (NAME); \
} while (0)
/* Switch Recognition by gcc.c. Add -G xx support */
#undef SWITCH_TAKES_ARG
#define SWITCH_TAKES_ARG(CHAR) \
(DEFAULT_SWITCH_TAKES_ARG(CHAR) || (CHAR) == 'G')
#undef DEFAULT_PCC_STRUCT_RETURN
#define DEFAULT_PCC_STRUCT_RETURN 1
#undef DBX_REGISTER_NUMBER
#define DBX_REGISTER_NUMBER(REGNO) mips_dbx_regno[ (REGNO) ]
#define MIPS_GNU
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dmips -Acpu=mips -Amachine=mips \
-Dunix -Asystem=unix -DMACH -Asystem=mach -D__GNU__ -Asystem=gnu \
-DMIPSEB -DR3000 -D_MIPSEB -D_R3000 \
-D_MIPS_SZINT=32 -D_MIPS_SZLONG=32 -D_MIPS_SZPTR=32"
#undef LINK_SPEC
#define LINK_SPEC "\
%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \
%{bestGnum} %{shared} %{non_shared} \
%{call_shared} %{no_archive} %{exact_version} \
%{!shared: %{!non_shared: %{!call_shared: -non_shared}}} \
-systype /gnu/ "
#undef LIB_SPEC
#define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} -lc crtn.o%s"
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "%{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt0.o%s}} %{static:-static}"
#undef MACHINE_TYPE
#define MACHINE_TYPE "GNU MIPS/ELF"
#undef YES_UNDERSCORE
#undef SDB_DEBUGGING_INFO
#undef DBX_DEBUGGING_INFO
#undef MIPS_DEBUGGING_INFO
#define DWARF_DEBUGGING_INFO
#define NO_MIPS_SELECT_SECTION
/* Get machine-independent configuration parameters for the GNU system. */
#include <gnu.h>