mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
CSKY: Add version flag in eflag and fix bug in disassembling register.
gas/ * config/tc-csky.c (md_begin): Add version flag in eflag. include/ * opcode/csky.h (CSKY_VERSION_V1): Define, currently used. (CSKY_VERSION_V2): Define. (CSKY_VERSION_V3): Define. Change-Id: Iafe3a9ce6fe544880a225b9fae439275a828bb34
This commit is contained in:
@ -93,6 +93,11 @@
|
||||
#define CSKY_ARCH_JAVA (1 << 8)
|
||||
#define CSKY_ARCH_APS (1 << 7)
|
||||
|
||||
/* eflag's Versions. */
|
||||
#define CSKY_VERSION_V1 (1 << 24)
|
||||
#define CSKY_VERSION_V2 (2 << 24)
|
||||
#define CSKY_VERSION_V3 (3 << 24)
|
||||
|
||||
#define IS_CSKY_V1(a) \
|
||||
(((a) & CSKY_ABI_MASK) == CSKY_ABI_V1)
|
||||
#define IS_CSKY_V2(a) \
|
||||
|
Reference in New Issue
Block a user