Skip to contentSkip to conversation

Fix octeon3 binutils behavior

PATCH New Mark Hatle 1 participant 2 messages Oct 20, 2015

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

PATCH 1/1 Fix octeon3 binutils behavior

Fix the octeon3 binutils patch. Without this we can segfaults.

Applicable to jethro and master.

Mark Hatle (1):
binutils: Fix octeon3 disassembly patch

 meta/recipes-devtools/binutils/binutils/binutils-octeon3.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.9.3
author
#1 lore raw

PATCH 1/1 binutils: Fix octeon3 disassembly patch

The structure has apparently changed, and there was a missing setting. This corrects a segfault when disassembling code.

---
 meta/recipes-devtools/binutils/binutils/binutils-octeon3.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/binutils/binutils/binutils-octeon3.patch +1 -1
index 6108c0d..4e8c69f 100644
@@ -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,
Signature · 1 line
1.9.3