mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-01 13:26:47 +08:00
* config/tc-hppa.c (pa_ip): Explicitly check for comma before 'u'
and 'f' template operand.
This commit is contained in:
parent
9ee57a5e1a
commit
51517966bc
@ -1,5 +1,8 @@
|
||||
Mon Jan 17 00:18:55 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
||||
|
||||
* config/tc-hppa.c (pa_ip): Explicitly check for comma before 'u'
|
||||
and 'f' template operand.
|
||||
|
||||
* config/tc-hppa.c (pa_ip): Handle 'N', 'O', 'o', '0', '1', 'u',
|
||||
and '2' in copr and sfu instruction templates.
|
||||
|
||||
|
@ -2247,6 +2247,8 @@ pa_ip (str)
|
||||
|
||||
/* Handle a 3 bit SFU identifier at 25. */
|
||||
case 'f':
|
||||
if (*s++ != ',')
|
||||
as_bad ("Invalid SFU identifier");
|
||||
num = pa_get_absolute_expression (&the_insn, &s);
|
||||
s = expr_end;
|
||||
CHECK_FIELD (num, 7, 0, 0);
|
||||
@ -2285,6 +2287,8 @@ pa_ip (str)
|
||||
|
||||
/* Handle a 3-bit co-processor ID field. */
|
||||
case 'u':
|
||||
if (*s++ != ',')
|
||||
as_bad ("Invalid COPR identifier");
|
||||
num = pa_get_absolute_expression (&the_insn, &s);
|
||||
s = expr_end;
|
||||
CHECK_FIELD (num, 7, 0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user