diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2016-11-17 13:26:54 +0100 |
---|---|---|
committer | Claudiu Zissulescu <claziss@synopsys.com> | 2016-11-18 14:29:48 +0100 |
commit | bb050a6932c4b0ea86202fe62bed2d94999f77ad (patch) | |
tree | f610c347bb4464491521d5f0bc8077b96a38470b /gas/itbl-parse.y | |
parent | cc133f9f118ef4afd93da0ecba48151488c41c74 (diff) | |
download | gdb-bb050a6932c4b0ea86202fe62bed2d94999f77ad.zip gdb-bb050a6932c4b0ea86202fe62bed2d94999f77ad.tar.gz gdb-bb050a6932c4b0ea86202fe62bed2d94999f77ad.tar.bz2 |
[ARC] Fix and extend features of .cpu directive.
gas/
2016-11-18 Claudiu Zissulescu <claziss@synopsys.com>
* testsuite/gas/arc/cl-warn.s: New file.
* testsuite/gas/arc/cpu-pseudop-1.d: Likewise.
* testsuite/gas/arc/cpu-pseudop-1.s: Likewise.
* testsuite/gas/arc/cpu-pseudop-2.d: Likewise.
* testsuite/gas/arc/cpu-pseudop-2.s: Likewise.
* testsuite/gas/arc/cpu-warn2.s: Likewise.
* config/tc-arc.c (selected_cpu): Initialize.
(feature_type): New struct.
(feature_list): New variable.
(arc_check_feature): New function.
(arc_select_cpu): Check for .cpu duplicates. Don't overwrite the
current cpu features. Check if a feature is available for a given
cpu.
(md_parse_option): Test if features are available for a given cpu.
Diffstat (limited to 'gas/itbl-parse.y')
0 files changed, 0 insertions, 0 deletions