[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/29728] New: bpf: support LLVM BPF pseudo-C assembly syntax
From: |
jose.marchesi at oracle dot com |
Subject: |
[Bug gas/29728] New: bpf: support LLVM BPF pseudo-C assembly syntax |
Date: |
Thu, 27 Oct 2022 14:17:40 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29728
Bug ID: 29728
Summary: bpf: support LLVM BPF pseudo-C assembly syntax
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: jose.marchesi at oracle dot com
Target Milestone: ---
The GNU assembler supports a conventional syntax for BPF assembly. This
contrasts with the BPF LLVM backend, which uses a bizarre pseudo-C syntax
(assignments for `mov' instructions, goto statements for branch instructions,
etc).
While we don't want to abandon the conventional assembly syntax (it has a lot
of advantages, like for example proper integration in debuggers, disassemblers,
etc that, well, expect an assembly-like syntax in assembly languages) this
divergence with LLVM is a blocker, since kernel headers contain inline `asm'
instructions that use the pseudo-C syntax.
So this bugzilla is for adding support for the pseudo-C assembly BPF syntax to
the GNU assembler.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/29728] New: bpf: support LLVM BPF pseudo-C assembly syntax,
jose.marchesi at oracle dot com <=