Fix compile time warning building gas for arm-wince target.
authorNick Clifton <nickc@redhat.com>
Mon, 26 Jun 2017 08:28:51 +0000 (09:28 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 26 Jun 2017 08:28:51 +0000 (09:28 +0100)
* config/tc-arm.c (fpu_any): Only define for ELF based targets.

gas/ChangeLog
gas/config/tc-arm.c

index d91de4719a8ac3a6e822949c20bf6a37b3cdeb48..f48280d8fdcc6f1f1ba3b0405c20f5660f069894 100644 (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
index 3c37b4f1a265f3562134b05bbb22d7fd7d10cc8a..f0b11f4f2c772b57ab72f8736780738b2ae63253 100644 (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;