[PATCH] [ARC] [COMMITTED] Change ACCL/ACCH reg name to generic.
Claudiu Zissulescu
claziss@gmail.com
Mon Jan 13 08:24:00 GMT 2020
ACCL/ACCH register names are only available for ARCv2 architecture,
leading to a confusion when disassembling for any other ARC
variants. This patch is changing the default names for ACCL/ACCH to
generic r58/r59.
2012-01-13 Claudiu Zissulescu <claziss@gmail.com>
* opcode/arc-dis.c (regnames): Correct ACCL/ACCH naming, fix typo
reserved register name.
---
opcodes/ChangeLog | 5 +++++
opcodes/arc-dis.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 458433164f..9c6d59f44f 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-13 Claudiu Zissulescu <claziss@gmail.com>
+
+ * opcode/arc-dis.c (regnames): Correct ACCL/ACCH naming, fix typo
+ reserved register name.
+
2020-01-13 Alan Modra <amodra@gmail.com>
* wasm32-dis.c (print_insn_wasm32): Localise variables. Store
diff --git a/opcodes/arc-dis.c b/opcodes/arc-dis.c
index ac8d6aa750..9662c2fc53 100644
--- a/opcodes/arc-dis.c
+++ b/opcodes/arc-dis.c
@@ -90,7 +90,7 @@ static const char * const regnames[64] =
"r32", "r33", "r34", "r35", "r36", "r37", "r38", "r39",
"r40", "r41", "r42", "r43", "r44", "r45", "r46", "r47",
"r48", "r49", "r50", "r51", "r52", "r53", "r54", "r55",
- "r56", "r57", "ACCL", "ACCH", "lp_count", "rezerved", "LIMM", "pcl"
+ "r56", "r57", "r58", "r59", "lp_count", "reserved", "LIMM", "pcl"
};
static const char * const addrtypenames[ARC_NUM_ADDRTYPES] =
--
2.24.1
More information about the Binutils
mailing list