diff options
author | Alan Modra <amodra@gmail.com> | 2007-03-08 11:14:20 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-03-08 11:14:20 +0000 |
commit | 1620f33de1ac5f1ee4abf14b87c49e45b5bf097f (patch) | |
tree | 83a550771a949a00994e32459337afe5aafcf10c /opcodes/m32r-asm.c | |
parent | 6f12865c0ea3dce3f28d8fa386b981e4610ac4d4 (diff) | |
download | gdb-1620f33de1ac5f1ee4abf14b87c49e45b5bf097f.zip gdb-1620f33de1ac5f1ee4abf14b87c49e45b5bf097f.tar.gz gdb-1620f33de1ac5f1ee4abf14b87c49e45b5bf097f.tar.bz2 |
Regenerate.
Diffstat (limited to 'opcodes/m32r-asm.c')
-rw-r--r-- | opcodes/m32r-asm.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/opcodes/m32r-asm.c b/opcodes/m32r-asm.c index a5bd363..e02c747 100644 --- a/opcodes/m32r-asm.c +++ b/opcodes/m32r-asm.c @@ -88,7 +88,7 @@ parse_hi16 (CGEN_CPU_DESC cd, return MISSING_CLOSING_PARENTHESIS; ++*strp; if (errmsg == NULL - && result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER) + && result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER) { value >>= 16; value &= 0xffff; @@ -100,17 +100,17 @@ parse_hi16 (CGEN_CPU_DESC cd, { *strp += 6; errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_M32R_HI16_SLO, - & result_type, & value); + & result_type, & value); if (**strp != ')') return MISSING_CLOSING_PARENTHESIS; ++*strp; if (errmsg == NULL && result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER) - { - value += 0x8000; - value >>= 16; + { + value += 0x8000; + value >>= 16; value &= 0xffff; - } + } *valuep = value; return errmsg; } @@ -145,7 +145,7 @@ parse_slo16 (CGEN_CPU_DESC cd, ++*strp; if (errmsg == NULL && result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER) - value = ((value & 0xffff) ^ 0x8000) - 0x8000; + value = ((value & 0xffff) ^ 0x8000) - 0x8000; *valuep = value; return errmsg; } @@ -343,6 +343,9 @@ m32r_cgen_init_asm (CGEN_CPU_DESC cd) m32r_cgen_init_ibld_table (cd); cd->parse_handlers = & m32r_cgen_parse_handlers[0]; cd->parse_operand = m32r_cgen_parse_operand; +#ifdef CGEN_ASM_INIT_HOOK +CGEN_ASM_INIT_HOOK +#endif } |