From 1cc248d263d91f673459a141dee0d176c007be29 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sun, 7 Nov 1993 06:43:24 +0000 Subject: * config/tc-hppa.c (cons_fix_new_hppa): Reset field selector to default state after it's been used. --- gas/config/tc-hppa.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gas/config/tc-hppa.c') diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 468933f..27678d5 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -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 { -- cgit v1.1