diff options
Diffstat (limited to 'gas/config/tc-arc.c')
-rw-r--r-- | gas/config/tc-arc.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c index 60cfa34..be1e93c 100644 --- a/gas/config/tc-arc.c +++ b/gas/config/tc-arc.c @@ -328,17 +328,7 @@ arc_insert_operand (insn, operand, mods, reg, val, file, line) test = val; if (test < (offsetT) min || test > (offsetT) max) - { - const char *err = - "operand out of range (%s not between %ld and %ld)"; - char buf[100]; - - sprint_value (buf, test); - if (file == (char *) NULL) - as_warn (err, buf, min, max); - else - as_warn_where (file, line, err, buf, min, max); - } + as_warn_value_out_of_range (_("operand"), test, (offsetT) min, (offsetT) max, file, line); } if (operand->insert) |