diff options
author | David Faust <david.faust@oracle.com> | 2020-09-04 10:18:56 +0200 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2020-09-04 10:18:56 +0200 |
commit | c3a0f5373919deff68819de1db88c04261d61a87 (patch) | |
tree | 646d735c65364ba0b994032a74149ee1ed81b9e6 /gcc/lto-streamer.h | |
parent | e1336703f8220dcffdeddb5e19dd032c766fbb8f (diff) | |
download | gcc-c3a0f5373919deff68819de1db88c04261d61a87.zip gcc-c3a0f5373919deff68819de1db88c04261d61a87.tar.gz gcc-c3a0f5373919deff68819de1db88c04261d61a87.tar.bz2 |
bpf: generate indirect calls for xBPF
This patch updates the BPF back end to generate indirect calls via
the 'call %reg' instruction when targetting xBPF.
Additionally, the BPF ASM_SPEC is updated to pass along -mxbpf to
gas, where it is now supported.
2020-09-03 David Faust <david.faust@oracle.com>
gcc/
* config/bpf/bpf.h (ASM_SPEC): Pass -mxbpf to gas, if specified.
* config/bpf/bpf.c (bpf_output_call): Support indirect calls in xBPF.
gcc/testsuite/
* gcc.target/bpf/xbpf-indirect-call-1.c: New test.
Diffstat (limited to 'gcc/lto-streamer.h')
0 files changed, 0 insertions, 0 deletions