PowerPC VLE typo fix

* elf32-ppc.c (ppc_elf_vle_split16): Correct insn mask typo.
This commit is contained in:
Alan Modra 2017-03-02 10:24:14 +10:30
parent 199add01b6
commit 673cff9b8b
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2017-03-02 Alan Modra <amodra@gmail.com>
* elf32-ppc.c (ppc_elf_vle_split16): Correct insn mask typo.
2017-02-28 Alan Modra <amodra@gmail.com>
* elf64-ppc.c (ppc64_elf_ha_reloc): Revert last change.

View File

@ -4921,7 +4921,7 @@ ppc_elf_vle_split16 (bfd *input_bfd,
unsigned int insn, opcode, top5;
insn = bfd_get_32 (input_bfd, loc);
opcode = insn & 0xf300f800;
opcode = insn & 0xfc00f800;
if (opcode == E_OR2I_INSN
|| opcode == E_AND2I_DOT_INSN
|| opcode == E_OR2IS_INSN