diff options
author | Will Hawkins <hawkinsw@obs.cr> | 2024-02-15 15:11:44 +0100 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2024-02-15 15:11:44 +0100 |
commit | 7921285b6c2ba0bee9bb21d8e23fdea4c790c181 (patch) | |
tree | 5f9c5706cf87eefb28305986f8659d5292e37c32 /ld | |
parent | 664239bcaa2f7589ccdcdf02b46e327ad6cc36fe (diff) | |
download | gdb-7921285b6c2ba0bee9bb21d8e23fdea4c790c181.zip gdb-7921285b6c2ba0bee9bb21d8e23fdea4c790c181.tar.gz gdb-7921285b6c2ba0bee9bb21d8e23fdea4c790c181.tar.bz2 |
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.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions