diff options
author | Eric Christopher <echristo@gcc.gnu.org> | 2002-06-12 23:12:25 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gcc.gnu.org> | 2002-06-12 23:12:25 +0000 |
commit | be95b8a5295d66227869f5f308ee6f8f4e6cec6c (patch) | |
tree | 4b0d8890f196c63c687c38e4d8ea9b8afaa75bc3 /gcc | |
parent | e03856fe956bdc94dc86c19d05f5f03af0f296f7 (diff) | |
download | gcc-be95b8a5295d66227869f5f308ee6f8f4e6cec6c.zip gcc-be95b8a5295d66227869f5f308ee6f8f4e6cec6c.tar.gz gcc-be95b8a5295d66227869f5f308ee6f8f4e6cec6c.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/config/mips/ecoffl.h | 27 | ||||
-rw-r--r-- | gcc/config/mips/elfl.h | 26 | ||||
-rw-r--r-- | gcc/config/mips/elfl64.h | 26 | ||||
-rw-r--r-- | gcc/config/mips/r3900.h | 9 |
5 files changed, 11 insertions, 88 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f97a639..4e7a821 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/mips/ecoffl.h b/gcc/config/mips/ecoffl.h deleted file mode 100644 index 3eef471..0000000 --- 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 2ad3c98..0000000 --- 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 6dafe50..0000000 --- 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 3eb62d8..9404a56 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: \ |