From 1cc248d263d91f673459a141dee0d176c007be29 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sun, 7 Nov 1993 06:43:24 +0000 Subject: [PATCH] * config/tc-hppa.c (cons_fix_new_hppa): Reset field selector to default state after it's been used. --- gas/ChangeLog | 5 +++++ gas/config/tc-hppa.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 06b1c84f36f..593a20f4ed5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 468933fb8b1..27678d58fc3 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 { -- 2.30.2