Fix compile time warning building gas for arm-wince target.

* config/tc-arm.c (fpu_any): Only define for ELF based targets.
This commit is contained in:
Nick Clifton 2017-06-26 09:28:51 +01:00
parent cf9bdae906
commit 49fa50ef9c
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2017-06-26 Nick Clifton <nickc@redhat.com>
* config/tc-arm.c (fpu_any): Only define for ELF based targets.
2017-06-26 Claudiu Zissulescu <claziss@synopsys.com>
* /config/tc-arc.c (is_br_jmp_insn_p): Update macro with known

View File

@ -239,7 +239,9 @@ static const arm_feature_set arm_ext_v8_3 =
ARM_FEATURE_CORE_HIGH (ARM_EXT2_V8_3A);
static const arm_feature_set arm_arch_any = ARM_ANY;
#ifdef OBJ_ELF
static const arm_feature_set fpu_any = FPU_ANY;
#endif
static const arm_feature_set arm_arch_full ATTRIBUTE_UNUSED = ARM_FEATURE (-1, -1, -1);
static const arm_feature_set arm_arch_t2 = ARM_ARCH_THUMB2;
static const arm_feature_set arm_arch_none = ARM_ARCH_NONE;