]> code.ossystems Code Review - openembedded-core.git/commitdiff
binutils: Fix octeon3 disassembly patch
authorMark Hatle <mark.hatle@windriver.com>
Tue, 20 Oct 2015 15:54:33 +0000 (10:54 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Nov 2015 11:13:21 +0000 (11:13 +0000)
The structure has apparently changed, and there was a missing
setting.  This corrects a segfault when disassembling code.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/binutils/binutils/binutils-octeon3.patch

index 6108c0d5cbe629a611d8f77bc935716bf14ff592..4e8c69f3ed88db74e21c9a6fd0bedc3ac692d37b 100644 (file)
@@ -229,7 +229,7 @@ Index: git/opcodes/mips-dis.c
 +  { "octeon3",   1, bfd_mach_mips_octeon3, CPU_OCTEON3,
 +    ISA_MIPS64R2 | INSN_OCTEON3, ASE_VIRT | ASE_VIRT64,
 +    mips_cp0_names_numeric,
-+    NULL, 0, mips_hwr_names_numeric },
++    NULL, 0, mips_cp1_names_mips3264, mips_hwr_names_numeric },
 +
    { "xlr", 1, bfd_mach_mips_xlr, CPU_XLR,
      ISA_MIPS64 | INSN_XLR, 0,