aboutsummaryrefslogtreecommitdiff
path: root/libssp
diff options
context:
space:
mode:
authorCupertino Miranda <cupertino.miranda@oracle.com>2023-07-17 17:42:42 +0100
committerCupertino Miranda <cupertino.miranda@oracle.com>2023-07-21 19:56:36 +0100
commit77d0f9ec3809b4d2e32c36069b6b9239d301c030 (patch)
tree59e4533c37a329c419887629bdfdeeba5a71ddce /libssp
parent13ed106723c7c01cddd769b0bac14c81399e6b40 (diff)
downloadgcc-77d0f9ec3809b4d2e32c36069b6b9239d301c030.zip
gcc-77d0f9ec3809b4d2e32c36069b6b9239d301c030.tar.gz
gcc-77d0f9ec3809b4d2e32c36069b6b9239d301c030.tar.bz2
bpf: pseudo-c assembly dialect support
New pseudo-c BPF assembly dialect already supported by clang and widely used in the linux kernel. gcc/ChangeLog: PR target/110770 * config/bpf/bpf.opt: Added option -masm=<dialect>. * config/bpf/bpf-opts.h (enum bpf_asm_dialect): New type. * config/bpf/bpf.cc (bpf_print_register): New function. (bpf_print_register): Support pseudo-c syntax for registers. (bpf_print_operand_address): Likewise. * config/bpf/bpf.h (ASM_SPEC): handle -msasm. (ASSEMBLER_DIALECT): Define. * config/bpf/bpf.md: Added pseudo-c templates. * doc/invoke.texi (-masm=): New eBPF option item.
Diffstat (limited to 'libssp')
0 files changed, 0 insertions, 0 deletions