projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83c5f3a
)
Don't define ARCH_cris for BFD64
author
Luis Machado
<luis.machado@arm.com>
Tue, 3 May 2022 10:28:59 +0000
(11:28 +0100)
committer
Luis Machado
<luis.machado@arm.com>
Thu, 5 May 2022 08:59:45 +0000
(09:59 +0100)
I believe it is a mistake to define ARCH_cris when BFD64 is defined. It is
a 32-bit architecture, so should be placed outside of the BFD64 block.
opcodes/disassemble.c
patch
|
blob
|
history
diff --git
a/opcodes/disassemble.c
b/opcodes/disassemble.c
index bd1b90b3956a2d9a7a15ac5d6a65fa312694354a..5a472ce53497dacc2b29ba546676d8bc11d45d13 100644
(file)
--- a/
opcodes/disassemble.c
+++ b/
opcodes/disassemble.c
@@
-28,7
+28,6
@@
#define ARCH_aarch64
#define ARCH_alpha
#define ARCH_bpf
-#define ARCH_cris
#define ARCH_ia64
#define ARCH_loongarch
#define ARCH_mips
@@
-43,6
+42,7
@@
#define ARCH_avr
#define ARCH_bfin
#define ARCH_cr16
+#define ARCH_cris
#define ARCH_crx
#define ARCH_csky
#define ARCH_d10v