bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/29728] bpf: support LLVM BPF pseudo-C assembly syntax


From: jose.marchesi at oracle dot com
Subject: [Bug gas/29728] bpf: support LLVM BPF pseudo-C assembly syntax
Date: Mon, 07 Nov 2022 11:34:35 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29728

--- Comment #4 from Jose E. Marchesi <jose.marchesi at oracle dot com> ---
(In reply to Nick Clifton from comment #3)
> (In reply to Jose E. Marchesi from comment #2)
>  
> >> Is there a specification for this syntax ?
> > AFAIK, no.  It is basically "what LLVM parses".
> 
> Well that sounds bad.  Can you talk to the LLVM community about this ?  A
> proper specification is pretty much essential for compatibility to work.

I will.

However, to be fair on that topic, how many of the assembly language syntax
supported by GAS are formally specified?  Our own BPF assembly syntax certainly
isn't.  (I think it may be possible to generate documentation for it using
CGEN. Never tried though.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]