diff options
author | Thiemo Seufer <ths@networkno.de> | 2001-09-12 21:19:37 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2001-09-12 21:19:37 +0000 |
commit | 233b8738b057f7a9bfc9e37d76ae78e83f99c2e0 (patch) | |
tree | bb2c72dcb1bb12a9231c31f2df3a9c7e7932f967 /gas/config | |
parent | e94a679a11af21512dbb8b538ddc49e66bd33039 (diff) | |
download | gdb-233b8738b057f7a9bfc9e37d76ae78e83f99c2e0.zip gdb-233b8738b057f7a9bfc9e37d76ae78e83f99c2e0.tar.gz gdb-233b8738b057f7a9bfc9e37d76ae78e83f99c2e0.tar.bz2 |
* config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-mips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index f9b5811..d31b4c4 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -1899,7 +1899,7 @@ append_insn (place, ip, address_expr, reloc_type, unmatched_hi) break; case BFD_RELOC_16_PCREL: - ip->insn_opcode |= (address_expr->X_add_number >> 2) & 0xffff; + ip->insn_opcode |= address_expr->X_add_number & 0xffff; break; case BFD_RELOC_16_PCREL_S2: |