aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-hppa.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 9deb19c..fcc8647 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+Sun Nov 7 01:02:08 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
+
+ * config/tc-hppa.c (pa-ip, case 'z'): Make field selectors work
+ for 'z' operands (target of ble branch).
+
Sat Nov 6 22:41:57 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
* config/tc-hppa.c: (update_subspace): Fix type and name of last
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index 184f4f0..d730b45 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -2320,7 +2320,9 @@ pa_ip (str)
{
unsigned int w2, w1, w, result;
- sign_unext (the_insn.exp.X_add_number >> 2, 17, &result);
+ result = evaluate_absolute (the_insn.exp,
+ the_insn.field_selector);
+ sign_unext (result >> 2, 17, &result);
dis_assemble_17 (result, &w1, &w2, &w);
opcode |= ((w2 << 2) | (w1 << 16) | w);
}