From 673cff9b8b3105f74ce97c202a0727f9e83e56e6 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 2 Mar 2017 10:24:14 +1030 Subject: [PATCH] PowerPC VLE typo fix * elf32-ppc.c (ppc_elf_vle_split16): Correct insn mask typo. --- bfd/ChangeLog | 4 ++++ bfd/elf32-ppc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 86a19a350cc..607194fffbf 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2017-03-02 Alan Modra + + * elf32-ppc.c (ppc_elf_vle_split16): Correct insn mask typo. + 2017-02-28 Alan Modra * elf64-ppc.c (ppc64_elf_ha_reloc): Revert last change. diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index d98b776a483..da0030fddf4 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -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 -- 2.30.2