mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
* config/tc-sparc.c (parse_keyword_arg): Allow numbers in reg names.
This commit is contained in:
@ -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>
|
Wed Sep 17 16:54:20 1997 Nick Clifton <nickc@cygnus.com>
|
||||||
|
|
||||||
* config/tc-v850.c (v850_reloc_prefix): Recoded to use CHECK_ ()
|
* config/tc-v850.c (v850_reloc_prefix): Recoded to use CHECK_ ()
|
||||||
|
@ -752,7 +752,7 @@ md_begin ()
|
|||||||
while (i < sparc_num_opcodes)
|
while (i < sparc_num_opcodes)
|
||||||
{
|
{
|
||||||
const char *name = sparc_opcodes[i].name;
|
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)
|
if (retval != NULL)
|
||||||
{
|
{
|
||||||
fprintf (stderr, "internal error: can't hash `%s': %s\n",
|
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;
|
char c, *p, *q;
|
||||||
|
|
||||||
p = *input_pointerP;
|
p = *input_pointerP;
|
||||||
for (q = p + (*p == '#' || *p == '%'); isalpha (*q) || *q == '_'; ++q)
|
for (q = p + (*p == '#' || *p == '%'); isalnum (*q) || *q == '_'; ++q)
|
||||||
continue;
|
continue;
|
||||||
c = *q;
|
c = *q;
|
||||||
*q = 0;
|
*q = 0;
|
||||||
|
Reference in New Issue
Block a user