arm: fix extension feature disabling
authorJan Beulich <jbeulich@novell.com>
Wed, 7 Jan 2015 08:39:27 +0000 (09:39 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 7 Jan 2015 08:39:27 +0000 (09:39 +0100)
commit5a70a2235a5fb9a8d90110089d97a27961093a39
treefe627b19451207cd4d03c9ddc3ca66f0ca78fb8d
parente810d75b1c9bef779b29df9d2c609fd5891d5917
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.
gas/ChangeLog
gas/config/tc-arm.c