+Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
+ * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
+ mapping from MASK_FPU.
+
Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
* sparc.md (call): Don't bound structure return size to 0xfff.
1999-10-19 Bruce Korb <autogen@linuxbox.com>
- * fixinc/Makefile.in: Change the generation rules to run `genfixes'
- in the source tree when the generated targets are out of date
- * fixinc/genfixes: Alter it to run individual fixes for make.
+ * fixinc/Makefile.in: Change the generation rules to run `genfixes'
+ in the source tree when the generated targets are out of date
+ * fixinc/genfixes: Alter it to run individual fixes for make.
* fixinc/README: rewrite
* fixinc/inclhack.def: moved initial comments to README
}
/* If -mfpu or -mno-fpu was explicitly used, don't override with
- the processor default. */
+ the processor default. Clear MASK_FPU_SET to avoid confusing
+ the reverse mapping from switch values to names. */
if (TARGET_FPU_SET)
- target_flags = (target_flags & ~MASK_FPU) | fpu;
+ {
+ target_flags = (target_flags & ~MASK_FPU) | fpu;
+ target_flags &= ~MASK_FPU_SET;
+ }
/* Use the deprecated v8 insns for sparc64 in 32 bit mode. */
if (TARGET_V9 && TARGET_ARCH32)
#define TARGET_SWITCHES \
{ {"fpu", MASK_FPU | MASK_FPU_SET, "Use hardware fp" }, \
{"no-fpu", -MASK_FPU, "Do not use hardware fp" }, \
- {"no-fpu", MASK_FPU_SET, "Do not use hardware fp" }, \
+ {"no-fpu", MASK_FPU_SET, NULL, }, \
{"hard-float", MASK_FPU | MASK_FPU_SET, "Use hardware fp" }, \
{"soft-float", -MASK_FPU, "Do not use hardware fp" }, \
- {"soft-float", MASK_FPU_SET, "Do not use hardware fp" }, \
+ {"soft-float", MASK_FPU_SET, NULL }, \
{"epilogue", MASK_EPILOGUE, "Use FUNCTION_EPILOGUE" }, \
{"no-epilogue", -MASK_EPILOGUE, "Do not use FUNCTION_EPILOGUE" }, \
{"unaligned-doubles", MASK_UNALIGNED_DOUBLES, "Assume possible double misalignment" },\