projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.
[deliverable/binutils-gdb.git]
/
gas
/
config
/
tc-mips.c
diff --git
a/gas/config/tc-mips.c
b/gas/config/tc-mips.c
index f9b58117444b42d1cf62b480cb640a17c6c10daf..d31b4c4bc7e59ac3ae64a656fd7546dadf5005ce 100644
(file)
--- 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:
This page took
0.028505 seconds
and
4
git commands to generate.