aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/linux64.h
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2005-01-17 21:09:14 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2005-01-17 21:09:14 +0000
commit2184a1201e63dbd4798c041370f7fcbb711813fb (patch)
treed6d6df31013ab09511a3562841065de29d5f8380 /gcc/config/mips/linux64.h
parent5a6e9546a8e1024b33dcd2f8fd014453b02d3003 (diff)
downloadgcc-2184a1201e63dbd4798c041370f7fcbb711813fb.zip
gcc-2184a1201e63dbd4798c041370f7fcbb711813fb.tar.gz
gcc-2184a1201e63dbd4798c041370f7fcbb711813fb.tar.bz2
config.gcc (mips64*-*-linux*): Set the default abi to n32.
* config.gcc (mips64*-*-linux*): Set the default abi to n32. Remove redundant target_cpu_default and extra_parts lines. Use the default "from-abi" ISA. * config/mips/linux64.h (DRIVER_DEFAULT_ABI_SELF_SPEC): Delete. (SUBTARGET_EXTRA_SPECS): Delete. (DRIVER_SELF_SPECS): Remove architecture lines. Set the ABI directly. (SUBTARGET_ASM_SPEC): Remove -mabi=n32 and -mabi=64 mappings. * config/mips/t-linux64 (MULTILIB_DIRNAMES): Use "32" for -mabi=32 and "n32" for -mabi=n32. From-SVN: r93777
Diffstat (limited to 'gcc/config/mips/linux64.h')
-rw-r--r--gcc/config/mips/linux64.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/gcc/config/mips/linux64.h b/gcc/config/mips/linux64.h
index 6835f71..6651fb0 100644
--- a/gcc/config/mips/linux64.h
+++ b/gcc/config/mips/linux64.h
@@ -19,25 +19,16 @@ along with GCC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* This sets the post-install default ABI to n32. This must NOT be
- kept in sync with the default ABI in gcc/config.gcc; it's actually
- meant to override that. However, for correct behavior at build
- time, we also need t-linux64 to get the build-time specs in line
- with the setting in config.gcc. */
-#define DRIVER_DEFAULT_ABI_SELF_SPEC "%{!mabi=*:-mabi=n32}"
-#undef SUBTARGET_EXTRA_SPECS
-#define SUBTARGET_EXTRA_SPECS \
- { "driver_default_abi_self_spec", DRIVER_DEFAULT_ABI_SELF_SPEC },
+/* Force the default endianness and ABI flags onto the command line
+ in order to make the other specs easier to write. */
#define DRIVER_SELF_SPECS \
"%{!EB:%{!EL:%(endian_spec)}}", \
-"%(driver_default_abi_self_spec)", \
-"%{!mips*:%{!march=*:%{mabi=32:-mips1}%{mabi=n32|mabi=64:-mips3}}}"
+"%{!mabi=*: -mabi=n32}"
#undef SUBTARGET_ASM_SPEC
#define SUBTARGET_ASM_SPEC "\
%{!fno-PIC:%{!fno-pic:-KPIC}} \
-%{fno-PIC:-non_shared} %{fno-pic:-non_shared} \
-%{mabi=64:-64} %{mabi=n32:-n32}"
+%{fno-PIC:-non_shared} %{fno-pic:-non_shared}"
#undef LIB_SPEC
#define LIB_SPEC "\