From be95b8a5295d66227869f5f308ee6f8f4e6cec6c Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 12 Jun 2002 23:12:25 +0000 Subject: [PATCH] config.gcc: Consolidate little endian handling and little/big endian targets. 2002-06-12 Eric Christopher * 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 --- gcc/ChangeLog | 11 ++++++++++- gcc/config/mips/ecoffl.h | 27 --------------------------- gcc/config/mips/elfl.h | 26 -------------------------- gcc/config/mips/elfl64.h | 26 -------------------------- gcc/config/mips/r3900.h | 9 +-------- 5 files changed, 11 insertions(+), 88 deletions(-) delete mode 100644 gcc/config/mips/ecoffl.h delete mode 100644 gcc/config/mips/elfl.h delete mode 100644 gcc/config/mips/elfl64.h diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f97a6399f1e..4e7a821397b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2002-06-12 Eric Christopher + + * 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 * gengtype.h (xvasprintf): New prototype. @@ -26,7 +35,7 @@ 2002-06-12 Jason Thorpe * 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. diff --git a/gcc/config/mips/ecoffl.h b/gcc/config/mips/ecoffl.h deleted file mode 100644 index 3eef471b470..00000000000 --- a/gcc/config/mips/ecoffl.h +++ /dev/null @@ -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" diff --git a/gcc/config/mips/elfl.h b/gcc/config/mips/elfl.h deleted file mode 100644 index 2ad3c984b6f..00000000000 --- a/gcc/config/mips/elfl.h +++ /dev/null @@ -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" diff --git a/gcc/config/mips/elfl64.h b/gcc/config/mips/elfl64.h deleted file mode 100644 index 6dafe507c11..00000000000 --- a/gcc/config/mips/elfl64.h +++ /dev/null @@ -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" diff --git a/gcc/config/mips/r3900.h b/gcc/config/mips/r3900.h index 3eb62d89da2..9404a56f2e2 100644 --- a/gcc/config/mips/r3900.h +++ b/gcc/config/mips/r3900.h @@ -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: \ -- 2.30.2