diff options
author | Nick Clifton <nickc@redhat.com> | 2017-06-26 09:28:51 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-06-26 09:28:51 +0100 |
commit | 49fa50ef9c59aa6d03bc2e33a25b2d832a9e692b (patch) | |
tree | 78924cf30445fba4fbf36e176460ece47fca58ef /gas/config | |
parent | cf9bdae906f897ae13563c03c65f325cad05bf1c (diff) |
Fix compile time warning building gas for arm-wince target.
* config/tc-arm.c (fpu_any): Only define for ELF based targets.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-arm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 3c37b4f1a2..f0b11f4f2c 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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; |