diff options
author | Jeff Law <law@redhat.com> | 1993-11-07 09:03:59 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1993-11-07 09:03:59 +0000 |
commit | 163aac84bec07e12b9310313816131c6cc96a3dc (patch) | |
tree | 02ef1bad0fc895eda6660ea40dbfda772a2350bc /gas | |
parent | f60a4a0b5203500edbd0bfb09a3c2526d8a727c1 (diff) | |
download | gdb-163aac84bec07e12b9310313816131c6cc96a3dc.zip gdb-163aac84bec07e12b9310313816131c6cc96a3dc.tar.gz gdb-163aac84bec07e12b9310313816131c6cc96a3dc.tar.bz2 |
* config/tc-hppa.c (pa-ip, case 'z'): Make field selectors work
for 'z' operands (target of ble branch).
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-hppa.c | 4 |
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); } |