aboutsummaryrefslogtreecommitdiff
path: root/gas
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
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')
-rw-r--r--gas/ChangeLog3
-rw-r--r--gas/config/tc-hppa.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 44de0be..90c3f8c 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,8 @@
Tue Nov 9 00:49:01 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
+ * config/tc-hppa.c (evaluate_absolute): Avoid relying on
+ ANSI-C features.
+
* config/tc-hppa.c (pa_type_args): Renamed from pa_export_args.
Accept new argument "is_export". All callers changed. When
processing a .export directive for a function, do not allow
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)