aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-03-02 10:24:14 +1030
committerAlan Modra <amodra@gmail.com>2017-03-02 10:40:06 +1030
commit673cff9b8b3105f74ce97c202a0727f9e83e56e6 (patch)
treebe58900815b363d9aba2286a5609aa53e82bf4e0 /bfd/elf32-ppc.c
parent199add01b6704e1cd8a48945bd775fbe8524fa75 (diff)
downloadgdb-673cff9b8b3105f74ce97c202a0727f9e83e56e6.zip
gdb-673cff9b8b3105f74ce97c202a0727f9e83e56e6.tar.gz
gdb-673cff9b8b3105f74ce97c202a0727f9e83e56e6.tar.bz2
PowerPC VLE typo fix
* elf32-ppc.c (ppc_elf_vle_split16): Correct insn mask typo.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r--bfd/elf32-ppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index d98b776..da0030f 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