projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS16/GAS: Improve non-constant operand error diagnostics
[deliverable/binutils-gdb.git]
/
gas
/
config
/
tc-mips.c
diff --git
a/gas/config/tc-mips.c
b/gas/config/tc-mips.c
index 9fde4626239dce19d198ca66f3992198220ad5cc..3dc6a53d91c0468a83cd70dc1e2a7fceadeb8e50 100644
(file)
--- a/
gas/config/tc-mips.c
+++ b/
gas/config/tc-mips.c
@@
-5082,7
+5082,10
@@
match_int_operand (struct mips_arg_info *arg,
/* Accept non-constant operands if no later alternative matches,
leaving it for the caller to process. */
if (!arg->lax_match)
- return FALSE;
+ {
+ match_not_constant (arg);
+ return FALSE;
+ }
offset_reloc[0] = BFD_RELOC_LO16;
return TRUE;
}
This page took
0.027218 seconds
and
4
git commands to generate.