diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2016-03-01 11:41:12 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2016-03-21 16:44:49 +0000 |
commit | 24740d83e4beab0cd8d93944922c62e8a8809391 (patch) | |
tree | d047e506b76d3bd25b7ec53e60f4461c1b3317f9 /opcodes/arc-opc.c | |
parent | 62f6f9c28ac4df0ebafbbbfdb5319e74582db5a2 (diff) | |
download | gdb-24740d83e4beab0cd8d93944922c62e8a8809391.zip gdb-24740d83e4beab0cd8d93944922c62e8a8809391.tar.gz gdb-24740d83e4beab0cd8d93944922c62e8a8809391.tar.bz2 |
arc/gas: default mach is arc700, initialised in md_begin
This commit restructures the selection of the default cpu/mach so that
the choice is made from md_begin (if the user has not provided a command
line choice). This will reduce the amount of change needed in a later
patch.
At the request of Synopsys, the default architecture changes to ARC700
from this commit, previously the default was a non-existent
super-architecture that contained all instructions from all arc
variants. There's some clean up associated with removing the default
merged architecture, and a small test fix now that the default is
ARC700.
binutils/ChangeLog:
* testsuite/binutils-all/objdump.exp (cpus_expected): Add ARC700
to the architecture list.
gas/ChangeLog:
* config/tc-arc.c (arc_target): Delay initialisation until
arc_select_cpu.
(arc_target_name): Likewise.
(arc_features): Likewise.
(arc_mach_type): Likewise.
(cpu_types): Remove "all" entry.
(arc_select_cpu): New function, most of the content is from...
(md_parse_option): ... here. Call new arc_select_cpu.
(md_begin): Call arc_select_cpu if needed, default is now arc700.
include/ChangeLog:
* opcode/arc.h (ARC_OPCODE_BASE): Delete.
opcodes/ChangeLog:
* arc-opc.c (BASE): Delete.
Diffstat (limited to 'opcodes/arc-opc.c')
-rw-r--r-- | opcodes/arc-opc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/opcodes/arc-opc.c b/opcodes/arc-opc.c index 9a674d5..a4fdaff 100644 --- a/opcodes/arc-opc.c +++ b/opcodes/arc-opc.c @@ -642,9 +642,6 @@ extract_g_s (unsigned insn ATTRIBUTE_UNUSED, defines. */ #include "arc-fxi.h" -/* Abbreviations for instruction subsets. */ -#define BASE ARC_OPCODE_BASE - /* The flag operands table. The format of the table is |