* config/tc-sparc.c (parse_keyword_arg): Allow numbers in reg names.
This commit is contained in:
parent
6d70d47fb7
commit
90a579fafd
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Sep 18 11:24:01 1997 Doug Evans <dje@canuck.cygnus.com>
|
||||
|
||||
* config/tc-sparc.c (parse_keyword_arg): Allow numbers in reg names.
|
||||
|
||||
Wed Sep 17 16:54:20 1997 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* config/tc-v850.c (v850_reloc_prefix): Recoded to use CHECK_ ()
|
||||
|
|
|
@ -752,7 +752,7 @@ md_begin ()
|
|||
while (i < sparc_num_opcodes)
|
||||
{
|
||||
const char *name = sparc_opcodes[i].name;
|
||||
retval = hash_insert (op_hash, name, &sparc_opcodes[i]);
|
||||
retval = hash_insert (op_hash, name, (PTR) &sparc_opcodes[i]);
|
||||
if (retval != NULL)
|
||||
{
|
||||
fprintf (stderr, "internal error: can't hash `%s': %s\n",
|
||||
|
@ -1143,7 +1143,7 @@ parse_keyword_arg (lookup_fn, input_pointerP, valueP)
|
|||
char c, *p, *q;
|
||||
|
||||
p = *input_pointerP;
|
||||
for (q = p + (*p == '#' || *p == '%'); isalpha (*q) || *q == '_'; ++q)
|
||||
for (q = p + (*p == '#' || *p == '%'); isalnum (*q) || *q == '_'; ++q)
|
||||
continue;
|
||||
c = *q;
|
||||
*q = 0;
|
||||
|
|
Loading…
Reference in a new issue