* config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.

This commit is contained in:
Thiemo Seufer 2001-09-12 21:19:37 +00:00
parent e94a679a11
commit 233b8738b0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-09-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.
2001-09-11 Richard Henderson <rth@redhat.com>
* config/tc-alpha.c (alpha_elf_section_letter): New.

View File

@ -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: