projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow integer contants to have a U suffix. Improve error reporting for missing closi...
[external/binutils.git]
/
gas
/
config
/
tc-sparc.c
diff --git
a/gas/config/tc-sparc.c
b/gas/config/tc-sparc.c
index
9526583
..
a51ca1f
100644
(file)
--- a/
gas/config/tc-sparc.c
+++ b/
gas/config/tc-sparc.c
@@
-2626,6
+2626,11
@@
sparc_ip (char *str, const struct sparc_opcode **pinsn)
*s1 = '\0';
(void) get_expression (s);
*s1 = ')';
+ if (expr_end != s1)
+ {
+ as_bad (_("Expression inside %%%s could not be parsed"), op_arg);
+ return special_case;
+ }
s = s1 + 1;
if (*s == ',' || *s == ']' || !*s)
continue;