GCC port for eBPF
authorJose E. Marchesi <jemarch@gcc.gnu.org>
Mon, 9 Sep 2019 10:13:23 +0000 (12:13 +0200)
committerJose E. Marchesi <jemarch@gcc.gnu.org>
Mon, 9 Sep 2019 10:13:23 +0000 (12:13 +0200)
commit91dfef9610b8844c62dc7186a9aea9a6aca9805c
tree80d2a38518601f96538b807d34bcf187e9552460
parenta5362c6aea5ea6b07803d8f9f6f783154e250ce4
GCC port for eBPF

This patch series introduces a port of GCC to eBPF, which is a virtual
machine that resides in the Linux kernel.  Initially intended for
user-level packet capture and filtering, eBPF is nowadays generalized
to serve as a general-purpose infrastructure also for non-networking
purposes.

The binutils support is already upstream.  See
https://sourceware.org/ml/binutils/2019-05/msg00306.html.

ChangeLog:

* MAINTAINERS: Add myself as the maintainer of the eBPF port.
Remove myself from Write After Approval section.
* configure.ac: Support for bpf-*-* targets.
* configure: Regenerate.

contrib/ChangeLog:

* config-list.mk (LIST): Disable go in bpf-*-* targets.

gcc/ChangeLog:

* doc/invoke.texi (Option Summary): Cover eBPF.
(eBPF Options): New section.
* doc/extend.texi (BPF Built-in Functions): Likewise.
(BPF Kernel Helpers): Likewise.
* config.gcc: Support for bpf-*-* targets.
* common/config/bpf/bpf-common.c: New file.
* config/bpf/t-bpf: Likewise.
* config/bpf/predicates.md: Likewise.
* config/bpf/constraints.md: Likewise.
* config/bpf/bpf.opt: Likewise.
* config/bpf/bpf.md: Likewise.
* config/bpf/bpf.h: Likewise.
* config/bpf/bpf.c: Likewise.
* config/bpf/bpf-protos.h: Likewise.
* config/bpf/bpf-opts.h: Likewise.
* config/bpf/bpf-helpers.h: Likewise.
* config/bpf/bpf-helpers.def: Likewise.

gcc/testsuite/ChangeLog:

* gcc.dg/builtins-config.h: eBPF doesn't support C99 standard
functions.
* gcc.c-torture/compile/20101217-1.c: Add a function prototype for
printf.
* gcc.c-torture/compile/20000211-1.c: Skip if target bpf-*-*.
* gcc.c-torture/compile/poor.c: Likewise.
* gcc.c-torture/compile/pr25311.c: Likewise.
* gcc.c-torture/compile/pr39928-1.c: Likewise.
* gcc.c-torture/compile/pr70061.c: Likewise.
* gcc.c-torture/compile/920501-7.c: Likewise.
* gcc.c-torture/compile/20000403-1.c: Likewise.
* gcc.c-torture/compile/20001226-1.c: Likewise.
* gcc.c-torture/compile/20030903-1.c: Likewise.
* gcc.c-torture/compile/20031125-1.c: Likewise.
* gcc.c-torture/compile/20040101-1.c: Likewise.
* gcc.c-torture/compile/20040317-2.c: Likewise.
* gcc.c-torture/compile/20040726-1.c: Likewise.
* gcc.c-torture/compile/20051216-1.c: Likewise.
* gcc.c-torture/compile/900313-1.c: Likewise.
* gcc.c-torture/compile/920625-1.c: Likewise.
* gcc.c-torture/compile/930421-1.c: Likewise.
* gcc.c-torture/compile/930623-1.c: Likewise.
* gcc.c-torture/compile/961004-1.c: Likewise.
* gcc.c-torture/compile/980504-1.c: Likewise.
* gcc.c-torture/compile/980816-1.c: Likewise.
* gcc.c-torture/compile/990625-1.c: Likewise.
* gcc.c-torture/compile/DFcmp.c: Likewise.
* gcc.c-torture/compile/HIcmp.c: Likewise.
* gcc.c-torture/compile/HIset.c: Likewise.
* gcc.c-torture/compile/QIcmp.c: Likewise.
* gcc.c-torture/compile/QIset.c: Likewise.
* gcc.c-torture/compile/SFset.c: Likewise.
* gcc.c-torture/compile/SIcmp.c: Likewise.
* gcc.c-torture/compile/SIset.c: Likewise.
* gcc.c-torture/compile/UHIcmp.c: Likewise.
* gcc.c-torture/compile/UQIcmp.c: Likewise.
* gcc.c-torture/compile/USIcmp.c: Likewise.
* gcc.c-torture/compile/consec.c: Likewise.
* gcc.c-torture/compile/limits-fndefn.c: Likewise.
* gcc.c-torture/compile/lll.c: Likewise.
* gcc.c-torture/compile/parms.c: Likewise.
* gcc.c-torture/compile/pass.c: Likewise.
* gcc.c-torture/compile/pp.c: Likewise.
* gcc.c-torture/compile/pr32399.c: Likewise.
* gcc.c-torture/compile/pr34091.c: Likewise.
* gcc.c-torture/compile/pr34688.c: Likewise.
* gcc.c-torture/compile/pr37258.c: Likewise.
* gcc.c-torture/compile/pr37327.c: Likewise.
* gcc.c-torture/compile/pr37381.c: Likewise.
* gcc.c-torture/compile/pr37669-2.c: Likewise.
* gcc.c-torture/compile/pr37669.c: Likewise.
* gcc.c-torture/compile/pr37742-3.c: Likewise.
* gcc.c-torture/compile/pr44063.c: Likewise.
* gcc.c-torture/compile/pr48596.c: Likewise.
* gcc.c-torture/compile/pr51856.c: Likewise.
* gcc.c-torture/compile/pr54428.c: Likewise.
* gcc.c-torture/compile/pr54713-1.c: Likewise.
* gcc.c-torture/compile/pr54713-2.c: Likewise.
* gcc.c-torture/compile/pr54713-3.c: Likewise.
* gcc.c-torture/compile/pr55921.c: Likewise.
* gcc.c-torture/compile/pr70240.c: Likewise.
* gcc.c-torture/compile/pr70355.c: Likewise.
* gcc.c-torture/compile/pr82052.c: Likewise.
* gcc.c-torture/compile/pr83487.c: Likewise.
* gcc.c-torture/compile/pr86122.c: Likewise.
* gcc.c-torture/compile/pret-arg.c: Likewise.
* gcc.c-torture/compile/regs-arg-size.c: Likewise.
* gcc.c-torture/compile/structret.c: Likewise.
* gcc.c-torture/compile/uuarg.c: Likewise.
* gcc.dg/20001009-1.c: Likewise.
* gcc.dg/20020418-1.c: Likewise.
* gcc.dg/20020426-2.c: Likewise.
* gcc.dg/20020430-1.c: Likewise.
* gcc.dg/20040306-1.c: Likewise.
* gcc.dg/20040622-2.c: Likewise.
* gcc.dg/20050603-2.c: Likewise.
* gcc.dg/20050629-1.c: Likewise.
* gcc.dg/20061026.c: Likewise.
* gcc.dg/Warray-bounds-3.c: Likewise.
* gcc.dg/Warray-bounds-30.c: Likewise.
* gcc.dg/Wframe-larger-than-2.c: Likewise.
* gcc.dg/Wframe-larger-than.c: Likewise.
* gcc.dg/Wrestrict-11.c: Likewise.
* gcc.c-torture/compile/20000804-1.c: Likewise.
* lib/target-supports.exp (check_effective_target_trampolines):
Adapt to eBPF.
(check_effective_target_indirect_jumps): Likewise.
(check_effective_target_nonlocal_goto): Likewise.
(check_effective_target_global_constructor): Likewise.
(check_effective_target_return_address): Likewise.
* gcc.target/bpf/bpf.exp: New file.
* gcc.target/bpf/builtin-load.c: Likewise.
* cc.target/bpf/constant-calls.c: Likewise.
* gcc.target/bpf/diag-funargs.c: Likewise.
* gcc.target/bpf/diag-funargs-2.c: Likewise.
* gcc.target/bpf/diag-funargs-3.c: Likewise.
* gcc.target/bpf/diag-indcalls.c: Likewise.
* gcc.target/bpf/helper-bind.c: Likewise.
* gcc.target/bpf/helper-bpf-redirect.c: Likewise.
* gcc.target/bpf/helper-clone-redirect.c: Likewise.
* gcc.target/bpf/helper-csum-diff.c: Likewise.
* gcc.target/bpf/helper-csum-update.c: Likewise.
* gcc.target/bpf/helper-current-task-under-cgroup.c: Likewise.
* gcc.target/bpf/helper-fib-lookup.c: Likewise.
* gcc.target/bpf/helper-get-cgroup-classid.c: Likewise.
* gcc.target/bpf/helper-get-current-cgroup-id.c: Likewise.
* gcc.target/bpf/helper-get-current-comm.c: Likewise.
* gcc.target/bpf/helper-get-current-pid-tgid.c: Likewise.
* gcc.target/bpf/helper-get-current-task.c: Likewise.
* gcc.target/bpf/helper-get-current-uid-gid.c: Likewise.
* gcc.target/bpf/helper-get-hash-recalc.c: Likewise.
* gcc.target/bpf/helper-get-listener-sock.c: Likewise.
* gcc.target/bpf/helper-get-local-storage.c: Likewise.
* gcc.target/bpf/helper-get-numa-node-id.c: Likewise.
* gcc.target/bpf/helper-get-prandom-u32.c: Likewise.
* gcc.target/bpf/helper-get-route-realm.c: Likewise.
* gcc.target/bpf/helper-get-smp-processor-id.c: Likewise.
* gcc.target/bpf/helper-get-socket-cookie.c: Likewise.
* gcc.target/bpf/helper-get-socket-uid.c: Likewise.
* gcc.target/bpf/helper-getsockopt.c: Likewise.
* gcc.target/bpf/helper-get-stack.c: Likewise.
* gcc.target/bpf/helper-get-stackid.c: Likewise.
* gcc.target/bpf/helper-ktime-get-ns.c: Likewise.
* gcc.target/bpf/helper-l3-csum-replace.c: Likewise.
* gcc.target/bpf/helper-l4-csum-replace.c: Likewise.
* gcc.target/bpf/helper-lwt-push-encap.c: Likewise.
* gcc.target/bpf/helper-lwt-seg6-action.c: Likewise.
* gcc.target/bpf/helper-lwt-seg6-adjust-srh.c: Likewise.
* gcc.target/bpf/helper-lwt-seg6-store-bytes.c: Likewise.
* gcc.target/bpf/helper-map-delete-elem.c: Likewise.
* gcc.target/bpf/helper-map-lookup-elem.c: Likewise.
* gcc.target/bpf/helper-map-peek-elem.c: Likewise.
* gcc.target/bpf/helper-map-pop-elem.c: Likewise.
* gcc.target/bpf/helper-map-push-elem.c: Likewise.
* gcc.target/bpf/helper-map-update-elem.c: Likewise.
* gcc.target/bpf/helper-msg-apply-bytes.c: Likewise.
* gcc.target/bpf/helper-msg-cork-bytes.c: Likewise.
* gcc.target/bpf/helper-msg-pop-data.c: Likewise.
* gcc.target/bpf/helper-msg-pull-data.c: Likewise.
* gcc.target/bpf/helper-msg-push-data.c: Likewise.
* gcc.target/bpf/helper-msg-redirect-hash.c: Likewise.
* gcc.target/bpf/helper-msg-redirect-map.c: Likewise.
* gcc.target/bpf/helper-override-return.c: Likewise.
* gcc.target/bpf/helper-perf-event-output.c: Likewise.
* gcc.target/bpf/helper-perf-event-read.c: Likewise.
* gcc.target/bpf/helper-perf-event-read-value.c: Likewise.
* gcc.target/bpf/helper-perf-prog-read-value.c: Likewise.
* gcc.target/bpf/helper-probe-read.c: Likewise.
* gcc.target/bpf/helper-probe-read-str.c: Likewise.
* gcc.target/bpf/helper-probe-write-user.c: Likewise.
* gcc.target/bpf/helper-rc-keydown.c: Likewise.
* gcc.target/bpf/helper-rc-pointer-rel.c: Likewise.
* gcc.target/bpf/helper-rc-repeat.c: Likewise.
* gcc.target/bpf/helper-redirect-map.c: Likewise.
* gcc.target/bpf/helper-set-hash.c: Likewise.
* gcc.target/bpf/helper-set-hash-invalid.c: Likewise.
* gcc.target/bpf/helper-setsockopt.c: Likewise.
* gcc.target/bpf/helper-skb-adjust-room.c: Likewise.
* gcc.target/bpf/helper-skb-cgroup-id.c: Likewise.
* gcc.target/bpf/helper-skb-change-head.c: Likewise.
* gcc.target/bpf/helper-skb-change-proto.c: Likewise.
* gcc.target/bpf/helper-skb-change-tail.c: Likewise.
* gcc.target/bpf/helper-skb-change-type.c: Likewise.
* gcc.target/bpf/helper-skb-ecn-set-ce.c: Likewise.
* gcc.target/bpf/helper-skb-get-tunnel-key.c: Likewise.
* gcc.target/bpf/helper-skb-get-tunnel-opt.c: Likewise.
* gcc.target/bpf/helper-skb-get-xfrm-state.c: Likewise.
* gcc.target/bpf/helper-skb-load-bytes.c: Likewise.
* gcc.target/bpf/helper-skb-load-bytes-relative.c: Likewise.
* gcc.target/bpf/helper-skb-pull-data.c: Likewise.
* gcc.target/bpf/helper-skb-set-tunnel-key.c: Likewise.
* gcc.target/bpf/helper-skb-set-tunnel-opt.c: Likewise.
* gcc.target/bpf/helper-skb-store-bytes.c: Likewise.
* gcc.target/bpf/helper-skb-under-cgroup.c: Likewise.
* gcc.target/bpf/helper-skb-vlan-pop.c: Likewise.
* gcc.target/bpf/helper-skb-vlan-push.c: Likewise.
* gcc.target/bpf/helper-skc-lookup-tcp.c: Likewise.
* gcc.target/bpf/helper-sk-fullsock.c: Likewise.
* gcc.target/bpf/helper-sk-lookup-tcp.c: Likewise.
* gcc.target/bpf/helper-sk-lookup-upd.c: Likewise.
* gcc.target/bpf/helper-sk-redirect-hash.c: Likewise.
* gcc.target/bpf/helper-sk-redirect-map.c: Likewise.
* gcc.target/bpf/helper-sk-release.c: Likewise.
* gcc.target/bpf/helper-sk-select-reuseport.c: Likewise.
* gcc.target/bpf/helper-sk-storage-delete.c: Likewise.
* gcc.target/bpf/helper-sk-storage-get.c: Likewise.
* gcc.target/bpf/helper-sock-hash-update.c: Likewise.
* gcc.target/bpf/helper-sock-map-update.c: Likewise.
* gcc.target/bpf/helper-sock-ops-cb-flags-set.c: Likewise.
* gcc.target/bpf/helper-spin-lock.c: Likewise.
* gcc.target/bpf/helper-spin-unlock.c: Likewise.
* gcc.target/bpf/helper-strtol.c: Likewise.
* gcc.target/bpf/helper-strtoul.c: Likewise.
* gcc.target/bpf/helper-sysctl-get-current-value.c: Likewise.
* gcc.target/bpf/helper-sysctl-get-name.c: Likewise.
* gcc.target/bpf/helper-sysctl-get-new-value.c: Likewise.
* gcc.target/bpf/helper-sysctl-set-new-value.c: Likewise.
* gcc.target/bpf/helper-tail-call.c: Likewise.
* gcc.target/bpf/helper-tcp-check-syncookie.c: Likewise.
* gcc.target/bpf/helper-tcp-sock.c: Likewise.
* gcc.target/bpf/helper-trace-printk.c: Likewise.
* gcc.target/bpf/helper-xdp-adjust-head.c: Likewise.
* gcc.target/bpf/helper-xdp-adjust-meta.c: Likewise.
* gcc.target/bpf/helper-xdp-adjust-tail.c: Likewise.
* gcc.target/bpf/skb-ancestor-cgroup-id.c: Likewise.
* gcc.target/bpf/sync-fetch-and-add.c: Likewise.

libgcc/ChangeLog:

* config.host: Set cpu_type for bpf-*-* targets.
* config/bpf/t-bpf: Likewise.
* config/bpf/crtn.S: Likewise.
* config/bpf/crti.S: New file.

From-SVN: r275506
227 files changed:
ChangeLog
MAINTAINERS
configure
configure.ac
contrib/ChangeLog
contrib/config-list.mk
gcc/ChangeLog
gcc/common/config/bpf/bpf-common.c [new file with mode: 0644]
gcc/config.gcc
gcc/config/bpf/bpf-helpers.def [new file with mode: 0644]
gcc/config/bpf/bpf-helpers.h [new file with mode: 0644]
gcc/config/bpf/bpf-opts.h [new file with mode: 0644]
gcc/config/bpf/bpf-protos.h [new file with mode: 0644]
gcc/config/bpf/bpf.c [new file with mode: 0644]
gcc/config/bpf/bpf.h [new file with mode: 0644]
gcc/config/bpf/bpf.md [new file with mode: 0644]
gcc/config/bpf/bpf.opt [new file with mode: 0644]
gcc/config/bpf/constraints.md [new file with mode: 0644]
gcc/config/bpf/predicates.md [new file with mode: 0644]
gcc/config/bpf/t-bpf [new file with mode: 0644]
gcc/doc/extend.texi
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20000211-1.c
gcc/testsuite/gcc.c-torture/compile/20000403-1.c
gcc/testsuite/gcc.c-torture/compile/20000804-1.c
gcc/testsuite/gcc.c-torture/compile/20001226-1.c
gcc/testsuite/gcc.c-torture/compile/20030903-1.c
gcc/testsuite/gcc.c-torture/compile/20031125-1.c
gcc/testsuite/gcc.c-torture/compile/20040101-1.c
gcc/testsuite/gcc.c-torture/compile/20040317-2.c
gcc/testsuite/gcc.c-torture/compile/20040726-1.c
gcc/testsuite/gcc.c-torture/compile/20051216-1.c
gcc/testsuite/gcc.c-torture/compile/20101217-1.c
gcc/testsuite/gcc.c-torture/compile/900313-1.c
gcc/testsuite/gcc.c-torture/compile/920501-7.c
gcc/testsuite/gcc.c-torture/compile/920625-1.c
gcc/testsuite/gcc.c-torture/compile/930421-1.c
gcc/testsuite/gcc.c-torture/compile/930623-1.c
gcc/testsuite/gcc.c-torture/compile/961004-1.c
gcc/testsuite/gcc.c-torture/compile/980504-1.c
gcc/testsuite/gcc.c-torture/compile/980816-1.c
gcc/testsuite/gcc.c-torture/compile/990625-1.c
gcc/testsuite/gcc.c-torture/compile/DFcmp.c
gcc/testsuite/gcc.c-torture/compile/HIcmp.c
gcc/testsuite/gcc.c-torture/compile/HIset.c
gcc/testsuite/gcc.c-torture/compile/QIcmp.c
gcc/testsuite/gcc.c-torture/compile/QIset.c
gcc/testsuite/gcc.c-torture/compile/SFset.c
gcc/testsuite/gcc.c-torture/compile/SIcmp.c
gcc/testsuite/gcc.c-torture/compile/SIset.c
gcc/testsuite/gcc.c-torture/compile/UHIcmp.c
gcc/testsuite/gcc.c-torture/compile/UQIcmp.c
gcc/testsuite/gcc.c-torture/compile/USIcmp.c
gcc/testsuite/gcc.c-torture/compile/consec.c
gcc/testsuite/gcc.c-torture/compile/limits-fndefn.c
gcc/testsuite/gcc.c-torture/compile/lll.c
gcc/testsuite/gcc.c-torture/compile/parms.c
gcc/testsuite/gcc.c-torture/compile/pass.c
gcc/testsuite/gcc.c-torture/compile/poor.c
gcc/testsuite/gcc.c-torture/compile/pp.c
gcc/testsuite/gcc.c-torture/compile/pr25311.c
gcc/testsuite/gcc.c-torture/compile/pr32399.c
gcc/testsuite/gcc.c-torture/compile/pr34091.c
gcc/testsuite/gcc.c-torture/compile/pr34688.c
gcc/testsuite/gcc.c-torture/compile/pr37258.c
gcc/testsuite/gcc.c-torture/compile/pr37327.c
gcc/testsuite/gcc.c-torture/compile/pr37381.c
gcc/testsuite/gcc.c-torture/compile/pr37669-2.c
gcc/testsuite/gcc.c-torture/compile/pr37669.c
gcc/testsuite/gcc.c-torture/compile/pr37742-3.c
gcc/testsuite/gcc.c-torture/compile/pr39928-1.c
gcc/testsuite/gcc.c-torture/compile/pr44063.c
gcc/testsuite/gcc.c-torture/compile/pr48596.c
gcc/testsuite/gcc.c-torture/compile/pr51856.c
gcc/testsuite/gcc.c-torture/compile/pr54428.c
gcc/testsuite/gcc.c-torture/compile/pr54713-1.c
gcc/testsuite/gcc.c-torture/compile/pr54713-2.c
gcc/testsuite/gcc.c-torture/compile/pr54713-3.c
gcc/testsuite/gcc.c-torture/compile/pr55921.c
gcc/testsuite/gcc.c-torture/compile/pr70061.c
gcc/testsuite/gcc.c-torture/compile/pr70240.c
gcc/testsuite/gcc.c-torture/compile/pr70355.c
gcc/testsuite/gcc.c-torture/compile/pr82052.c
gcc/testsuite/gcc.c-torture/compile/pr83487.c
gcc/testsuite/gcc.c-torture/compile/pr86122.c
gcc/testsuite/gcc.c-torture/compile/pret-arg.c
gcc/testsuite/gcc.c-torture/compile/regs-arg-size.c
gcc/testsuite/gcc.c-torture/compile/structret.c
gcc/testsuite/gcc.c-torture/compile/uuarg.c
gcc/testsuite/gcc.dg/20001009-1.c
gcc/testsuite/gcc.dg/20020418-1.c
gcc/testsuite/gcc.dg/20020426-2.c
gcc/testsuite/gcc.dg/20020430-1.c
gcc/testsuite/gcc.dg/20040306-1.c
gcc/testsuite/gcc.dg/20040622-2.c
gcc/testsuite/gcc.dg/20050603-2.c
gcc/testsuite/gcc.dg/20050629-1.c
gcc/testsuite/gcc.dg/20061026.c
gcc/testsuite/gcc.dg/Warray-bounds-3.c
gcc/testsuite/gcc.dg/Warray-bounds-30.c
gcc/testsuite/gcc.dg/Wframe-larger-than-2.c
gcc/testsuite/gcc.dg/Wframe-larger-than.c
gcc/testsuite/gcc.dg/Wrestrict-11.c
gcc/testsuite/gcc.dg/builtins-config.h
gcc/testsuite/gcc.target/bpf/bpf.exp [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/builtin-load.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/constant-calls.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/diag-funargs-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/diag-funargs-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/diag-funargs.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/diag-indcalls.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-bind.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-bpf-redirect.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-clone-redirect.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-csum-diff.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-csum-update.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-current-task-under-cgroup.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-fib-lookup.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-get-cgroup-classid.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-get-current-cgroup-id.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-get-current-comm.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-get-current-pid-tgid.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-get-current-task.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-get-current-uid-gid.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-get-hash-recalc.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-get-listener-sock.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-get-local-storage.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-get-numa-node-id.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-get-prandom-u32.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-get-route-realm.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-get-smp-processor-id.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-get-socket-cookie.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-get-socket-uid.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-get-stack.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-get-stackid.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-getsockopt.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-ktime-get-ns.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-l3-csum-replace.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-l4-csum-replace.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-lwt-push-encap.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-lwt-seg6-action.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-lwt-seg6-adjust-srh.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-lwt-seg6-store-bytes.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-map-delete-elem.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-map-lookup-elem.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-map-peek-elem.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-map-pop-elem.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-map-push-elem.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-map-update-elem.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-msg-apply-bytes.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-msg-cork-bytes.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-msg-pop-data.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-msg-pull-data.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-msg-push-data.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-msg-redirect-hash.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-msg-redirect-map.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-override-return.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-perf-event-output.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-perf-event-read-value.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-perf-event-read.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-perf-prog-read-value.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-probe-read-str.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-probe-read.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-probe-write-user.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-rc-keydown.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-rc-pointer-rel.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-rc-repeat.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-redirect-map.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-set-hash-invalid.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-set-hash.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-setsockopt.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-sk-fullsock.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-sk-lookup-tcp.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-sk-lookup-upd.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-sk-redirect-hash.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-sk-redirect-map.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-sk-release.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-sk-select-reuseport.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-sk-storage-delete.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-sk-storage-get.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-adjust-room.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-cgroup-id.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-change-head.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-change-proto.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-change-tail.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-change-type.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-ecn-set-ce.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-get-tunnel-key.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-get-tunnel-opt.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-get-xfrm-state.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-load-bytes-relative.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-load-bytes.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-pull-data.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-set-tunnel-key.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-set-tunnel-opt.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-store-bytes.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-under-cgroup.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-vlan-pop.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skb-vlan-push.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-skc-lookup-tcp.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-sock-hash-update.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-sock-map-update.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-sock-ops-cb-flags-set.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-spin-lock.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-spin-unlock.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-strtol.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-strtoul.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-sysctl-get-current-value.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-sysctl-get-name.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-sysctl-get-new-value.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-sysctl-set-new-value.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-tail-call.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-tcp-check-syncookie.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-tcp-sock.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-trace-printk.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-xdp-adjust-head.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-xdp-adjust-meta.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/helper-xdp-adjust-tail.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/skb-ancestor-cgroup-id.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bpf/sync-fetch-and-add.c [new file with mode: 0644]
gcc/testsuite/lib/target-supports.exp
libgcc/ChangeLog
libgcc/config.host
libgcc/config/bpf/crti.S [new file with mode: 0644]
libgcc/config/bpf/crtn.S [new file with mode: 0644]
libgcc/config/bpf/t-bpf [new file with mode: 0644]