[PATCH 1/3] bpf: print failing insn for unexpected register
Vineet Gupta
vineet.gupta@linux.dev
Tue Mar 31 14:50:37 GMT 2026
On 3/31/26 7:43 AM, Vineet Gupta wrote:
>>> | /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.
> The improvement is additional printing of failing insn as opposed to just the
> reg that causes the issue.
Doh ! I see what you mean, will fix it in v2.
Thx,
-Vineet
More information about the Binutils
mailing list