aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-06-22 09:34:12 +0100
committerNick Clifton <nickc@redhat.com>2017-06-22 09:34:12 +0100
commite7d39ed3e0ca36d0dbd6ddd4cb955aa73b0974e6 (patch)
tree3063c23a2dade79d8d7c715c63d1f8ae0aba328a /gas/config
parenta765d0724259ec77ab69c3dbb1cc2e16e2e038e1 (diff)
downloadgdb-e7d39ed3e0ca36d0dbd6ddd4cb955aa73b0974e6.zip
gdb-e7d39ed3e0ca36d0dbd6ddd4cb955aa73b0974e6.tar.gz
gdb-e7d39ed3e0ca36d0dbd6ddd4cb955aa73b0974e6.tar.bz2
Fix compile time warning about unused static variable.
* config/tc-arm.c (arm_ext_v7m): Add ATTRIBUTE_UNUSED.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c2
1 files changed, 1 insertions, 1 deletions
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 =