
+ The first column is the first kernel version featuring the helper + linux/include/uapi/linux/bpf.h file in the Linux source tree.

+ The primary source for information on kernel helpers is the +/* This file contains the definition of the kernel helpers that are + newlib-stdint.h"ĭiff -git a/gcc/config/bpf/f b/gcc/config/bpf/f + /* Enable -funroll-all-loops by default.

+static const struct default_options bpf_option_optimization_table = +/* Implement TARGET_OPTION_OPTIMIZATION_TABLE. +You should have received a copy of the GNU General Public License +GNU General Public License for more details. +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +but WITHOUT ANY WARRANTY without even the implied warranty of +GCC is distributed in the hope that it will be useful, +the Free Software Foundation either version 3, or (at your option) +it under the terms of the GNU General Public License as published by +GCC is free software you can redistribute it and/or modify + Copyright (C) 2019 Free Software Foundation, Inc. Gcc/config/bpf/bpf.md | 523 ++++++++++++++++++++ġ9 files changed, 3081 insertions(+), 3 deletions(-)Ĭreate mode 100644 gcc/common/config/bpf/bpf-common.cĬreate mode 100644 gcc/config/bpf/fĬreate mode 100644 gcc/config/bpf/bpf-helpers.hĬreate mode 100644 gcc/config/bpf/bpf-opts.hĬreate mode 100644 gcc/config/bpf/bpf-protos.hĬreate mode 100644 gcc/config/bpf/bpf.optĬreate mode 100644 gcc/config/bpf/constraints.mdĬreate mode 100644 gcc/config/bpf/predicates.mdĭiff -git a/gcc/common/config/bpf/bpf-common.c b/gcc/common/config/bpf/bpf-common.c Gcc/common/config/bpf/bpf-common.c | 55 +++

* common/config/bpf/bpf-common.c: New file. * config.gcc: Support for bpf-*-* targets. * config-list.mk (LIST): Disable go in bpf-*-* targets. * configure.ac: Support for bpf-*-* targets. This patch adds a port for the Linux kernel eBPF architecture to GCC. Marchesi public inbox for help / color / mirror / Atom feed From: (Jose E.
