[PATCH 0/3] bpf gas updates

Vineet Gupta vineet.gupta@linux.dev
Mon Mar 30 22:42:00 GMT 2026


Hi,
These patches came out of some gcc work. That is now dropped but these
seem something that could be useful still.

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(-)

-- 
2.53.0



More information about the bpf mailing list