[PATCH 0/3] bpf gas updates
Vineet Gupta
vineet.gupta@linux.dev
Mon Mar 30 22:50:13 GMT 2026
Some caveats I should have covered already.
On 3/30/26 3:42 PM, Vineet Gupta wrote:
> Hi,
> These patches came out of some gcc work. That is now dropped but these
> seem something that could be useful still.
This is specifically for [1]
[1] https://gcc.gnu.org/pipermail/bpf/2026-March/000077.html
And for the patchset (all 3 patches), while the actual code changes were
done by human (me), the testsuite fixes were actually generated by
Claude. But I take full responsibility for anything that's amiss and
will be willing to fix that.
Cheers,
-Vineet
>
> Thx,
> -Vineet
>
> Vineet Gupta (3):
> bpf: print failing insn for unexpected register
> PR 34029: bpf: allow w regs in store insns similar to llvm
> PR 34029: bpf: allow w regs in load insns similar to llvm
>
> gas/config/tc-bpf.c | 6 ++++--
> gas/testsuite/gas/bpf/mem-be-pseudoc.d | 8 +++++++-
> gas/testsuite/gas/bpf/mem-pseudoc.d | 8 +++++++-
> gas/testsuite/gas/bpf/mem-pseudoc.s | 6 ++++++
> gas/testsuite/gas/bpf/regs-for-symbols-pseudoc.l | 14 +++++++-------
> include/opcode/bpf.h | 2 ++
> opcodes/bpf-opc.c | 12 ++++++++++++
> 7 files changed, 45 insertions(+), 11 deletions(-)
>
More information about the Binutils
mailing list