]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
arm: fix extension feature disabling
authorJan Beulich <jbeulich@novell.com>
Wed, 7 Jan 2015 08:39:27 +0000 (09:39 +0100)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 23 Aug 2017 21:39:04 +0000 (18:39 -0300)
commit8828a942ec59ff815810ab2208d466649509d724
tree045c105bdb05751d55156a750c51251f44eea8d8
parente523037f0a452f5bbd6e9e32ed4ee40613c617e7
arm: fix extension feature disabling

Using e.g.

.arch_extension simd
.arch_extension nocrypto

so far results in SIMD support getting disabled, which I can't see being
the purpose of the "no"-prefixed variants of architecture extension
specifications.

Of course it is questionable whether the current, counter intuitive
behavior needs to be retained, and the new behavior perhaps be made work
through e.g. a newly recognized "no-" prefix.

gas/
2015-01-07  Jan Beulich <jbeulich@suse.com>

* gas/config/tc-arm.c (struct arm_option_extension_value_table):
Split field "value" into fields "merge_value" and "clear_value".
(arm_extensions): Adjust initializer accordingly.

Change-Id: I1e06fe022e4b592dd52b702c8653140af2fffa5b
gas/ChangeLog
gas/config/tc-arm.c