]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
arm: remove options to select the FPA
authorRichard Earnshaw <rearnsha@arm.com>
Tue, 4 Jun 2024 11:56:24 +0000 (12:56 +0100)
committerRichard Earnshaw <rearnsha@arm.com>
Wed, 5 Jun 2024 16:45:45 +0000 (17:45 +0100)
Remove the command-line options to choose the FPA (or FPE - an
emulated FPA).  From this point on it should be impossible to assemble
the old FPA instructions.

gas/config/tc-arm.c
gas/doc/c-arm.texi
include/opcode/arm.h

index 12610fd876659c5244ba3944f9995bcdfa9e2be4..73d9f8e1bc6e732175ab8434b05553c04c99840a 100644 (file)
@@ -31215,14 +31215,7 @@ const struct arm_legacy_option_table arm_legacy_opts[] =
   {"marmv5t",   &legacy_cpu, ARM_ARCH_V5T, N_("use -march=armv5t")},
   {"mv5e",      &legacy_cpu, ARM_ARCH_V5TE, N_("use -march=armv5te")},
   {"marmv5e",   &legacy_cpu, ARM_ARCH_V5TE, N_("use -march=armv5te")},
-
-  /* Floating point variants -- don't add any more to this list either.         */
-  {"mfpe-old",   &legacy_fpu, FPU_ARCH_FPE, N_("use -mfpu=fpe")},
-  {"mfpa10",     &legacy_fpu, FPU_ARCH_FPA, N_("use -mfpu=fpa10")},
-  {"mfpa11",     &legacy_fpu, FPU_ARCH_FPA, N_("use -mfpu=fpa11")},
-  {"mno-fpu",    &legacy_fpu, ARM_ARCH_NONE,
-   N_("use either -mfpu=softfpa or -mfpu=softvfp")},
-
+  {"mno-fpu",    &legacy_fpu, ARM_ARCH_NONE, N_("use -mfpu=softvfp")},
   {NULL, NULL, ARM_ARCH_NONE, NULL}
 };
 
@@ -32187,13 +32180,6 @@ struct arm_option_fpu_value_table
 static const struct arm_option_fpu_value_table arm_fpus[] =
 {
   {"softfpa",          FPU_NONE},
-  {"fpe",              FPU_ARCH_FPE},
-  {"fpe2",             FPU_ARCH_FPE},
-  {"fpe3",             FPU_ARCH_FPA},  /* Third release supports LFM/SFM.  */
-  {"fpa",              FPU_ARCH_FPA},
-  {"fpa10",            FPU_ARCH_FPA},
-  {"fpa11",            FPU_ARCH_FPA},
-  {"arm7500fe",                FPU_ARCH_FPA},
   {"softvfp",          FPU_ARCH_SOFTVFP},
   {"softvfp+vfp",      FPU_ARCH_VFP_V2},
   {"vfp",              FPU_ARCH_VFP_V2},
index 067ed4d70e485a806bd9cd2aeda20f35298b1519..6d98c62949cd6ec22a754205a582c92df2621b9c 100644 (file)
@@ -492,13 +492,6 @@ This option specifies the floating point format to assemble for.  The
 assembler will issue an error message if an attempt is made to assemble
 an instruction which will not execute on the target floating point unit.
 The following format options are recognized:
-@code{softfpa},
-@code{fpe},
-@code{fpe2},
-@code{fpe3},
-@code{fpa},
-@code{fpa10},
-@code{fpa11},
 @code{arm7500fe},
 @code{softvfp},
 @code{softvfp+vfp},
@@ -539,7 +532,7 @@ when assembling little-endian code.
 
 The default is dependent on the processor selected.  For Architecture 5 or
 later, the default is to assemble for VFP instructions; for earlier
-architectures the default is to assemble for FPA instructions.
+architectures the default is to assemble for no floating point.
 
 @cindex @code{-mfp16-format=} command-line option
 @item -mfp16-format=@var{format}
index c921f76ec7d94e73a3c4721460b4c6c23579651c..ddc199ecbb86869135c5dc051fb351217213966b 100644 (file)
 /* Deprecated.  */
 #define FPU_ARCH_SOFTVFP       ARM_FEATURE_COPROC (FPU_ENDIAN_PURE)
 
-#define FPU_ARCH_FPE           ARM_FEATURE_COPROC (FPU_FPA_EXT_V1)
-#define FPU_ARCH_FPA           ARM_FEATURE_COPROC (FPU_FPA)
-
 #define FPU_ARCH_VFP_V1xD      ARM_FEATURE_COPROC (FPU_VFP_V1xD)
 #define FPU_ARCH_VFP_V1                ARM_FEATURE_COPROC (FPU_VFP_V1)
 #define FPU_ARCH_VFP_V2                ARM_FEATURE_COPROC (FPU_VFP_V2)