This patch adds support for a new option -mxbpf. This tells GCC to
generate code for an expanded version of BPF that relaxes some of the
restrictions imposed by BPF.
2020-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
gcc/
* config/bpf/bpf.opt (mxbpf): New option.
* doc/invoke.texi (Option Summary): Add -mxbpf.
(eBPF Options): Document -mxbbpf.
+2020-05-19 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * config/bpf/bpf.opt (mxbpf): New option.
+ * doc/invoke.texi (Option Summary): Add -mxbpf.
+ (eBPF Options): Document -mxbbpf.
+
2020-05-19 Uroš Bizjak <ubizjak@gmail.com>
PR target/92658
EnumValue
Enum(bpf_kernel) String(5.2) Value(LINUX_V5_2)
+; Use xBPF extensions.
+
+mxbpf
+Target Report Mask(XBPF)
+Generate xBPF.
+
; Selecting big endian or little endian targets.
mbig-endian
@emph{eBPF Options}
@gccoptlist{-mbig-endian -mlittle-endian -mkernel=@var{version}
--mframe-limit=@var{bytes}}
+-mframe-limit=@var{bytes} -mxbpf}
@emph{FR30 Options}
@gccoptlist{-msmall-model -mno-lsim}
@item -mlittle-endian
@opindex mlittle-endian
Generate code for a little-endian target. This is the default.
+
+@item -mxbpf
+Generate code for an expanded version of BPF, which relaxes some of
+the restrictions imposed by the BPF architecture.
@end table
@node FR30 Options