aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1993-11-09 09:52:59 +0000
committerJeff Law <law@redhat.com>1993-11-09 09:52:59 +0000
commitf41f3d72ecec5912af327f34cbce5db64f816564 (patch)
treed37da00edbcfd5a8e8ba5cdbb49dc38f4ea265c1 /gas/config
parent48153d49ce346cd7c684d823c9b19c398c317b2a (diff)
downloadgdb-f41f3d72ecec5912af327f34cbce5db64f816564.zip
gdb-f41f3d72ecec5912af327f34cbce5db64f816564.tar.gz
gdb-f41f3d72ecec5912af327f34cbce5db64f816564.tar.bz2
* config/tc-hppa.c (evaluate_absolute): Avoid relying on
ANSI-C features.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-hppa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index 4f2bbc4..5cadd45 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -3602,9 +3602,10 @@ evaluate_absolute (insn)
struct pa_it *insn;
{
int value;
- expressionS exp = insn->exp;
+ expressionS exp;
int field_selector = insn->field_selector;
+ exp = insn->exp;
value = exp.X_add_number;
switch (field_selector)