[PATCH 1/3] bpf: print failing insn for unexpected register
Jan Beulich
jbeulich@suse.com
Tue Mar 31 05:58:36 GMT 2026
On 31.03.2026 00:42, Vineet Gupta wrote:
> prev:
>
> | /tmp/cc7214hK.s: Assembler messages:
> | /tmp/cc7214hK.s:40: Error: unexpected register name `w0' in expression
>
> New
>
> | /tmp/cc7214hK.s: Assembler messages:
> | /tmp/cc7214hK.s:40: Error: unexpected register name `w0' in instruction `*(u32 *) (r9+0) = w5'
I may be missing something (in which case I'm sorry for my lack of bpf
knowledge), but is this an improvement? There's no "w0" in the quoted
insn.
Jan
More information about the Binutils
mailing list