diff options
| author | Michael Forney <mforney@mforney.org> | 2024-02-08 01:20:33 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2024-02-08 01:20:33 -0800 |
| commit | d4f3c7cff56ff4442113dd709227d99150199c78 (patch) | |
| tree | 3e39ef1b6d1cab9c032edefc3587c83dcfe9f2e2 | |
| parent | c323a8d150533d2cf08a2c855a091a8ec74c3ebd (diff) | |
binutils: Fix build with cproc
| -rw-r--r-- | pkg/binutils/patch/0004-x86-avoid-non-standard-a.b-designator.patch | 32 | ||||
| -rw-r--r-- | pkg/binutils/ver | 2 |
2 files changed, 33 insertions, 1 deletions
diff --git a/pkg/binutils/patch/0004-x86-avoid-non-standard-a.b-designator.patch b/pkg/binutils/patch/0004-x86-avoid-non-standard-a.b-designator.patch new file mode 100644 index 00000000..a2bc9ae8 --- /dev/null +++ b/pkg/binutils/patch/0004-x86-avoid-non-standard-a.b-designator.patch @@ -0,0 +1,32 @@ +From 833b13a4aacbc5fb66dd13f1d6e6d09d152ac623 Mon Sep 17 00:00:00 2001 +From: Michael Forney <mforney@mforney.org> +Date: Thu, 8 Feb 2024 01:16:45 -0800 +Subject: [PATCH] x86: avoid non-standard [a...b] designator + +--- + opcodes/i386-dis.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c +index de9793690a5..fccdaa4f1e4 100644 +--- a/opcodes/i386-dis.c ++++ b/opcodes/i386-dis.c +@@ -9363,7 +9363,6 @@ print_insn (bfd_vma pc, disassemble_info *info, int intel_syntax) + ? intel_syntax + : (info->mach & bfd_mach_i386_intel_syntax) != 0, + .intel_mnemonic = !SYSV386_COMPAT, +- .op_index[0 ... MAX_OPERANDS - 1] = -1, + .start_pc = pc, + .start_codep = priv.the_buffer, + .codep = priv.the_buffer, +@@ -9488,6 +9487,7 @@ print_insn (bfd_vma pc, disassemble_info *info, int intel_syntax) + { + op_out[i][0] = 0; + ins.op_out[i] = op_out[i]; ++ ins.op_index[i] = -1; + } + + if (OPCODES_SIGSETJMP (priv.bailout) != 0) +-- +2.42.0 + diff --git a/pkg/binutils/ver b/pkg/binutils/ver index 7ec97630..7db12f96 100644 --- a/pkg/binutils/ver +++ b/pkg/binutils/ver @@ -1 +1 @@ -2.39 r0 +2.39 r1 |
