diff mbox

Remove redundant target_cpu_default settings

Message ID 874ndf9f8h.fsf@talisman.default
State New
Headers show

Commit Message

Richard Sandiford June 3, 2013, 7:16 p.m. UTC
Some (but not all) 64-bit MIPS configurations were setting target_cpu_default
to MASK_64BIT|MASK_FLOAT64.  This has been redundant for a long time.
The masks are now derived from the ABI and ISA settings, and also aren't
tested directly in preprocessor conditions (such as those used when setting
up the default multilibs).

This patch removes them.  Tested on mips64-elf and applied.

Richard


gcc/
	* config.gcc (mipsisa64sr71k-*-elf*, mipsisa64sb1-*-elf*)
	(mipsisa64sb1el-*-elf*, mips64-*-elf*, mips64el-*-elf*)
	(mips64orion-*-elf*, mips64orionel-*-elf*): Remove
	target_cpu_default setting.
diff mbox

Patch

Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc	2013-06-03 20:11:08.037638775 +0100
+++ gcc/config.gcc	2013-06-03 20:11:09.766655898 +0100
@@ -1928,13 +1928,11 @@  mipsisa64r2-*-elf* | mipsisa64r2el-*-elf
 mipsisa64sr71k-*-elf*)
         tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h"
         tmake_file=mips/t-sr71k
-	target_cpu_default="MASK_64BIT|MASK_FLOAT64"
 	tm_defines="${tm_defines} MIPS_ISA_DEFAULT=64 MIPS_CPU_STRING_DEFAULT=\\\"sr71000\\\" MIPS_ABI_DEFAULT=ABI_EABI"
         ;;
 mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*)
 	tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h"
 	tmake_file="mips/t-elf mips/t-sb1"
-	target_cpu_default="MASK_64BIT|MASK_FLOAT64"
 	tm_defines="${tm_defines} MIPS_ISA_DEFAULT=64 MIPS_CPU_STRING_DEFAULT=\\\"sb1\\\" MIPS_ABI_DEFAULT=ABI_O64"
 	;;
 mips-*-elf* | mipsel-*-elf*)
@@ -1944,7 +1942,6 @@  mips-*-elf* | mipsel-*-elf*)
 mips64-*-elf* | mips64el-*-elf*)
 	tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h"
 	tmake_file="mips/t-elf"
-	target_cpu_default="MASK_64BIT|MASK_FLOAT64"
 	tm_defines="${tm_defines} MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64"
 	;;
 mips64vr-*-elf* | mips64vrel-*-elf*)
@@ -1955,7 +1952,6 @@  mips64vr-*-elf* | mips64vrel-*-elf*)
 mips64orion-*-elf* | mips64orionel-*-elf*)
 	tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elforion.h mips/elf.h"
 	tmake_file="mips/t-elf"
-	target_cpu_default="MASK_64BIT|MASK_FLOAT64"
 	tm_defines="${tm_defines} MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64"
 	;;
 mips*-*-rtems*)