]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/ChangeLog
objdump, as: add callx support for BPF CPU v1
authorWill Hawkins <hawkinsw@obs.cr>
Thu, 15 Feb 2024 14:11:44 +0000 (15:11 +0100)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Thu, 15 Feb 2024 14:11:44 +0000 (15:11 +0100)
commit7921285b6c2ba0bee9bb21d8e23fdea4c790c181
tree5f9c5706cf87eefb28305986f8659d5292e37c32
parent664239bcaa2f7589ccdcdf02b46e327ad6cc36fe
objdump, as: add callx support for BPF CPU v1

Albeit not being a currently valid BPF instruction, callx is generated
by both clang and GCC when BPF programs are compiled unoptimized.
Until now, GCC would emit it only whe using the experimental
compiler-testing cpu version xbpf, whereas clang would emit it from
v1.  This patch makes GAS to accept callx also starting with cpu v1.

opcodes/ChangeLog

* bpf-opc.c: Move callx into the v1 BPF CPU variant.

gas/ChangeLog

* testsuite/gas/bpf/indcall-1-pseudoc.d: Do not select xbpf cpu
version.
* testsuite/gas/bpf/indcall-1.d: Likewise.
gas/ChangeLog
gas/testsuite/gas/bpf/indcall-1-pseudoc.d
gas/testsuite/gas/bpf/indcall-1.d
opcodes/ChangeLog
opcodes/bpf-opc.c