summaryrefslogtreecommitdiff
path: root/opcodes/fr30-desc.c
diff options
context:
space:
mode:
authorPatrick Macdonald <patrickm@redhat.com>2001-03-20 20:56:34 +0000
committerPatrick Macdonald <patrickm@redhat.com>2001-03-20 20:56:34 +0000
commitead61887e1eb94511e50f0d4562900f8015f23d9 (patch)
treeec713d2ca2dce6b0eb8200f126730b1ffbe0ca9c /opcodes/fr30-desc.c
parent966a3588ad7b7f0e3703ce98521734149d7787e2 (diff)
downloadgdb-ead61887e1eb94511e50f0d4562900f8015f23d9.tar.gz
Add support for cgen machine determination.
* cgen-dis.in (print_insn_@arch@): Add support for target machine determination via CGEN_COMPUTE_MACH. * fr30-desc.c: Regenerate. * fr30-dis.c: Regenerate. * fr30-opc.h: Regenerate. * m32r-desc.c: Regenerate. * m32r-dis.c: Regenerate. * m32r-opc.h: Regenerate. * m32r-opinst.c: Regenerate.
Diffstat (limited to 'opcodes/fr30-desc.c')
-rw-r--r--opcodes/fr30-desc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/fr30-desc.c b/opcodes/fr30-desc.c
index 00c37001299..4223833f622 100644
--- a/opcodes/fr30-desc.c
+++ b/opcodes/fr30-desc.c
@@ -1600,7 +1600,7 @@ fr30_cgen_cpu_open (enum cgen_cpu_open_arg arg_type, ...)
const CGEN_MACH *mach =
lookup_mach_via_bfd_name (fr30_cgen_mach_table, name);
- machs |= mach->num << 1;
+ machs |= 1 << mach->num;
break;
}
case CGEN_CPU_OPEN_ENDIAN :