* config/tc-hppa.c (cons_fix_new_hppa): Reset field selector

to default state after it's been used.
This commit is contained in:
Jeff Law 1993-11-07 06:43:24 +00:00
parent 2ccb88c0d6
commit 1cc248d263
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sat Nov 6 22:41:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
* config/tc-hppa.c (cons_fix_new_hppa): Reset field selector
to default state after it's been used.
Fri Nov 5 12:08:21 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
* config/obj-som.c (obj_som_init_stab_section): Change

View file

@ -1364,6 +1364,9 @@ cons_fix_new_hppa (frag, where, size, exp)
fix_new_hppa (frag, where, size,
(symbolS *) NULL, (offsetT) 0, exp, 0, reloc_type,
hppa_field_selector, 32, 0, (char *) 0);
/* Reset field selector to its default state. */
hppa_field_selector = 0;
}
/* This function is called once, at assembler startup time. It should
@ -3480,7 +3483,7 @@ pa_parse_number (s, result)
or for an empty string. For an empty string we
will return zero. That's a concession made for
compatability with the braindamaged HP assemblers. */
if (*p == 0)
if (*name == 0)
num = 0;
else
{