public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/1] objdump: Add callx support for BPF CPU v1
@ 2024-02-09 18:07 Will Hawkins
  2024-02-09 18:07 ` [PATCH 1/1] " Will Hawkins
  2024-02-12 17:01 ` [PATCH 0/1] " Nick Clifton
  0 siblings, 2 replies; 6+ messages in thread
From: Will Hawkins @ 2024-02-09 18:07 UTC (permalink / raw)
  To: binutils; +Cc: Will Hawkins

Hello everyone!

First time patch submitter but longtime GNU enthusiast. Thank you for
all the work that you all do to maintain these vital pieces of software
for the community.

I am one of the maintainers of ubpf, a userspace eBPF runtime. As part
of the ISA standardization process at the IETF, Dave Thaler discovered
that clang is now emiting the callx instruction when targeting CPU
versions all the way back to v1. I know from Jose that gcc emits that
instruction in a special mode. 

There is a discussion at the ebpf-for-windows GitHub about adding callx
support to prevail (and other related tools):

https://github.com/microsoft/ebpf-for-windows/issues/3237

This patch adds the ability for objdump to decode the callx instruction
for ELF-encoded binaries targeting CPU v1 and greater.

I tried very hard to follow best practices for creating this patch
submission but I am sure that I did something wrong. Please let me know
what I can do differently or better.

Again, thank you for your effort maintaining these programs for the
community!

Sincerely,
Will

Will Hawkins (1):
  objdump: Add callx support for BPF CPU v1

 include/opcode/bpf.h | 2 +-
 opcodes/bpf-opc.c    | 2 ++
 sim/bpf/bpf-sim.c    | 4 ++++
 3 files changed, 7 insertions(+), 1 deletion(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-02-12 17:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-09 18:07 [PATCH 0/1] objdump: Add callx support for BPF CPU v1 Will Hawkins
2024-02-09 18:07 ` [PATCH 1/1] " Will Hawkins
2024-02-10  4:47   ` Hans-Peter Nilsson
2024-02-10  6:13     ` Will Hawkins
2024-02-11 23:26       ` Will Hawkins
2024-02-12 17:01 ` [PATCH 0/1] " Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).