[v2 0/4] bpf gas updates
Vineet Gupta
vineet.gupta@linux.dev
Tue Mar 31 20:42:08 GMT 2026
Hi,
This is a followup to [1] for supporting load/stores with r or w regs
albeit same encodings.
Changes since v1:
- Replace duplicate insn entries with a new reg format specifier.
- De-duplicate some existing code for r and w regs handling.
Thx,
-Vineet
[1] https://sourceware.org/pipermail/binutils/2026-March/148775.html
Vineet Gupta (4):
bpf: print failing insn for unexpected register
bpf: consolidate register format specifier handling [NFC]
PR 34029: bpf: add %dR/%sR register format specifiers
PR 34029: bpf: allow w regs in load/store insns similar to llvm
gas/config/tc-bpf.c | 64 ++++++-------------
gas/testsuite/gas/bpf/mem-be-pseudoc.d | 32 ++++++----
gas/testsuite/gas/bpf/mem-pseudoc.d | 32 ++++++----
gas/testsuite/gas/bpf/mem-pseudoc.s | 6 ++
.../gas/bpf/regs-for-symbols-pseudoc.l | 14 ++--
include/opcode/bpf.h | 4 +-
opcodes/bpf-dis.c | 18 ++----
opcodes/bpf-opc.c | 12 ++--
8 files changed, 86 insertions(+), 96 deletions(-)
--
2.53.0
More information about the Binutils
mailing list