From 79659a921e66ab17a4bb147018d7e6baadbd614a Mon Sep 17 00:00:00 2001 From: Patrick Macdonald Date: Tue, 20 Mar 2001 20:48:33 +0000 Subject: [PATCH] Correct machine calculation on disassembly. 2001-03-20 Patrick Macdonald * desc-cpu.scm (@arch@_cgen_cpu_open): Correct machine calculation for arg_type CGEN_CPU_OPEN_BFDMACH. --- ChangeLog | 5 +++++ desc-cpu.scm | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index afa7ccc..23a43ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-03-20 Patrick Macdonald + + * desc-cpu.scm (@arch@_cgen_cpu_open): Correct machine calculation for + arg_type CGEN_CPU_OPEN_BFDMACH. + 2001-03-20 Ben Elliston * opc-itab.scm (-gen-insn-enum): Do not append a dummy `max' diff --git a/desc-cpu.scm b/desc-cpu.scm index 221a239..5df36ca 100644 --- a/desc-cpu.scm +++ b/desc-cpu.scm @@ -759,7 +759,7 @@ CGEN_CPU_DESC const CGEN_MACH *mach = lookup_mach_via_bfd_name (@arch@_cgen_mach_table, name); - machs |= mach->num << 1; + machs |= 1 << mach->num; break; } case CGEN_CPU_OPEN_ENDIAN : -- 2.43.5