diff options
author | Jeff Law <law@redhat.com> | 1993-11-07 06:43:24 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1993-11-07 06:43:24 +0000 |
commit | 1cc248d263d91f673459a141dee0d176c007be29 (patch) | |
tree | f0569484aea467abb7df602da9157ed93757369a /gas/config | |
parent | 2ccb88c0d6ce75ef95a614ff958841241ee65f91 (diff) | |
download | gdb-1cc248d263d91f673459a141dee0d176c007be29.zip gdb-1cc248d263d91f673459a141dee0d176c007be29.tar.gz gdb-1cc248d263d91f673459a141dee0d176c007be29.tar.bz2 |
* config/tc-hppa.c (cons_fix_new_hppa): Reset field selector
to default state after it's been used.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-hppa.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 { |