diff options
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 87eea61..93914da 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2017-06-22 Nick Clifton <nickc@redhat.com> + + * config/tc-arm.c (arm_ext_v7m): Add ATTRIBUTE_UNUSED. + 2017-06-21 Thomas Preud'homme <thomas.preudhomme@arm.com> * config/tc-arm.c (fpu_any): Defined from FPU_ANY. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 7767aa6..18d3a20 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -203,7 +203,7 @@ static const arm_feature_set arm_ext_v7 = ARM_FEATURE_CORE_LOW (ARM_EXT_V7); static const arm_feature_set arm_ext_v7a = ARM_FEATURE_CORE_LOW (ARM_EXT_V7A); static const arm_feature_set arm_ext_v7r = ARM_FEATURE_CORE_LOW (ARM_EXT_V7R); #ifdef OBJ_ELF -static const arm_feature_set arm_ext_v7m = ARM_FEATURE_CORE_LOW (ARM_EXT_V7M); +static const arm_feature_set ATTRIBUTE_UNUSED arm_ext_v7m = ARM_FEATURE_CORE_LOW (ARM_EXT_V7M); #endif static const arm_feature_set arm_ext_v8 = ARM_FEATURE_CORE_LOW (ARM_EXT_V8); static const arm_feature_set arm_ext_m = |