aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-d10v.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2000-08-04 01:01:32 +0000
committerKazu Hirata <kazu@codesourcery.com>2000-08-04 01:01:32 +0000
commitab3e48dc5d2dcbb1431ac82717db9ff02bb9473f (patch)
tree34f20a5e5783d0472326d59dd63eff63c556d6f0 /gas/config/tc-d10v.c
parentdcb5e6e634613f3a111c5b45be2829c1cf2116d1 (diff)
downloadgdb-ab3e48dc5d2dcbb1431ac82717db9ff02bb9473f.zip
gdb-ab3e48dc5d2dcbb1431ac82717db9ff02bb9473f.tar.gz
gdb-ab3e48dc5d2dcbb1431ac82717db9ff02bb9473f.tar.bz2
2000-08-04 Kazu Hirata <kazu@hxi.com>
* config/tc-cris.c: Rearrange code for readability. * config/tc-d10v.c: Fix formatting. * config/tc-m32r.c: Likewise. * config/tc-sparc.c: Likewise.
Diffstat (limited to 'gas/config/tc-d10v.c')
-rw-r--r--gas/config/tc-d10v.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gas/config/tc-d10v.c b/gas/config/tc-d10v.c
index b45e5a2..3ced586 100644
--- a/gas/config/tc-d10v.c
+++ b/gas/config/tc-d10v.c
@@ -100,7 +100,8 @@ struct option md_longopts[] =
{"nowarnswap", no_argument, NULL, OPTION_NOWARNSWAP},
{NULL, no_argument, NULL, 0}
};
-size_t md_longopts_size = sizeof(md_longopts);
+
+size_t md_longopts_size = sizeof (md_longopts);
static void d10v_dot_word PARAMS ((int));
@@ -547,7 +548,8 @@ d10v_insert_operand (insn, op_type, value, left, fix)
/* Truncate to the proper number of bits. */
if (check_range (value, bits, d10v_operands[op_type].flags))
- as_bad_where (fix->fx_file, fix->fx_line, _("operand out of range: %d"), value);
+ as_bad_where (fix->fx_file, fix->fx_line,
+ _("operand out of range: %d"), value);
value &= 0x7FFFFFFF >> (31 - bits);
insn |= (value << shift);