config.gcc: Consolidate little endian handling and little/big endian targets.

2002-06-12  Eric Christopher  <echristo@redhat.com>

	* config.gcc: Consolidate little endian handling and
	little/big endian targets.
	* config/mips/elfl.h: Remove file.
	* config/mips/elfl64.h: Ditto.
	* config/mips/ecoffl.h: Ditto.
	* config/mips/r3900.h (SUBTARGET_CPP_SPEC): Remove.

From-SVN: r54567
This commit is contained in:
Eric Christopher 2002-06-12 23:12:25 +00:00
parent e03856fe95
commit be95b8a529
5 changed files with 11 additions and 88 deletions

View File

@ -1,3 +1,12 @@
2002-06-12 Eric Christopher <echristo@redhat.com>
* config.gcc: Consolidate little endian handling and
little/big endian targets.
* config/mips/elfl.h: Remove file.
* config/mips/elfl64.h: Ditto.
* config/mips/ecoffl.h: Ditto.
* config/mips/r3900.h (SUBTARGET_CPP_SPEC): Remove.
2002-06-12 Geoffrey Keating <geoffk@redhat.com>
* gengtype.h (xvasprintf): New prototype.
@ -26,7 +35,7 @@
2002-06-12 Jason Thorpe <thorpej@wasabisystems.com>
* config/vax/vax.h (MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT)
(MASK_G_FLOAT): Define.
(MASK_G_FLOAT): Define.
(TARGET_UNIX_ASM, TARGET_VAXC_ALIGNMENT, TARGET_G_FLOAT): Use them.
(TARGET_SWITCHES): Likewise.
(TARGET_DEFAULT): Likewise.

View File

@ -1,27 +0,0 @@
/* Definitions of target machine for GNU compiler. Little endian MIPS
version with GOFAST floating point library.
Copyright (C) 1994, 1998 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. */
/* This is a little endian version of ecoff.h. */
#define TARGET_ENDIAN_DEFAULT 0
#include "gofast.h"
#include "mips/ecoff.h"

View File

@ -1,26 +0,0 @@
/* Definitions of target machine for GNU compiler. Little endian MIPS
R3000 version with GOFAST floating point library.
Copyright (C) 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. */
/* This is a little endian version of elf.h. */
#define TARGET_ENDIAN_DEFAULT 0
#include "mips/elf.h"

View File

@ -1,26 +0,0 @@
/* Definitions of target machine for GNU compiler. Little endian MIPS
R4000 version with GOFAST floating point library.
Copyright (C) 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. */
/* This is a little endian version of elf64.h. */
#define TARGET_ENDIAN_DEFAULT 0
#include "mips/elf64.h"

View File

@ -30,14 +30,7 @@ Boston, MA 02111-1307, USA. */
/* We use the MIPS EABI by default. */
#define MIPS_ABI_DEFAULT ABI_EABI
#define SUBTARGET_CPP_SPEC "\
%{!mabi=32: %{!mabi=n32: %{!mabi=64: -D__mips_eabi}}} \
%{!msingle-float:-D__mips_soft_float} \
%{mhard-float:%e-mhard-float not supported} \
%{msingle-float:%{msoft-float: \
%e-msingle-float and -msoft-float can not both be specified}}"
/* by default (if not mips-something-else) produce code for the r3900 */
/* By default (if not mips-something-else) produce code for the r3900 */
#define SUBTARGET_CC1_SPEC "\
%{mhard-float:%e-mhard-float not supported} \
%{msingle-float:%{msoft-float: \