Re: [PATCH] bpf: generate indirect calls for xBPF

2020-09-04 Thread Jose E. Marchesi via Gcc-patches
Hi David. > 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. Thanks for the patch. I just installed it on your behalf. S

[PATCH] bpf: generate indirect calls for xBPF

2020-09-03 Thread David Faust via Gcc-patches
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 gcc/ * config/bpf/bpf.h (ASM_SPEC): Pass -mxbp