diff options
author | Jason Eckhardt <jle@rice.edu> | 2003-08-25 02:48:14 +0000 |
---|---|---|
committer | Jason Eckhardt <jle@rice.edu> | 2003-08-25 02:48:14 +0000 |
commit | af858dae9da8d13e2a1c84b53f074a041d96b375 (patch) | |
tree | f1a7ca2a5b5dc486e87937549a95a4c7689590f4 /gas | |
parent | 3123f523be6622104856af9dcc3da9e3ad0bfaab (diff) | |
download | gdb-af858dae9da8d13e2a1c84b53f074a041d96b375.zip gdb-af858dae9da8d13e2a1c84b53f074a041d96b375.tar.gz gdb-af858dae9da8d13e2a1c84b53f074a041d96b375.tar.bz2 |
2003-08-24 Jason Eckhardt <jle@rice.edu>
* config/tc-i860.c (md_assemble): Use isrc2 from the original
instruction when expanding E_ADDR.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-i860.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 9f3f0f3..3c77b8d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2003-08-24 Jason Eckhardt <jle@rice.edu> + + * config/tc-i860.c (md_assemble): Use isrc2 from the original + instruction when expanding E_ADDR. + 2003-08-21 Nick Clifton <nickc@redhat.com> * po/tr.po: Updated Turkish translation. diff --git a/gas/config/tc-i860.c b/gas/config/tc-i860.c index 8ee4c07..6362c16 100644 --- a/gas/config/tc-i860.c +++ b/gas/config/tc-i860.c @@ -312,8 +312,9 @@ md_assemble (char *str) && the_insn.fi[0].exp.X_add_number >= -(1 << 15))) break; - /* Emit "orh ha%addr_expr,r0,r31". */ - pseudo[0].opcode = 0xec000000 | (atmp << 16); + /* Emit "orh ha%addr_expr,ireg_src2,r31". */ + pseudo[0].opcode = 0xec000000 | (the_insn.opcode & 0x03e00000) + | (atmp << 16); pseudo[0].fi[0].fup = (OP_IMM_S16 | OP_SEL_HA); /* Emit "l%addr_expr(r31),ireg_dest". We pick up the fixup |