Re: [PATCH,V2 1/3] bpf: Add new -mcore option for BPF CO-RE

2021-08-26 Thread Jose E. Marchesi via Gcc-patches
Hi Richard. > On Tue, Aug 10, 2021 at 5:45 PM Jose E. Marchesi > wrote: >> >> >> > On Thu, Aug 5, 2021 at 2:54 AM Indu Bhagat via Gcc-patches >> > wrote: >> >> >> >> -mcore in the BPF backend enables code generation for the CO-RE usecase. >> >> LTO is >> >> disabled for CO-RE compilations. >>

Re: [PATCH,V2 1/3] bpf: Add new -mcore option for BPF CO-RE

2021-08-26 Thread Richard Biener via Gcc-patches
On Tue, Aug 10, 2021 at 5:45 PM Jose E. Marchesi wrote: > > > > On Thu, Aug 5, 2021 at 2:54 AM Indu Bhagat via Gcc-patches > > wrote: > >> > >> -mcore in the BPF backend enables code generation for the CO-RE usecase. > >> LTO is > >> disabled for CO-RE compilations. > > > > -mcore reads like "co

Re: [PATCH,V2 1/3] bpf: Add new -mcore option for BPF CO-RE

2021-08-10 Thread Jose E. Marchesi via Gcc-patches
> On Thu, Aug 5, 2021 at 2:54 AM Indu Bhagat via Gcc-patches > wrote: >> >> -mcore in the BPF backend enables code generation for the CO-RE usecase. LTO >> is >> disabled for CO-RE compilations. > > -mcore reads like "core", why not -mco-re? Anyway, ... > >> gcc/ChangeLog: >> >> * conf

Re: [PATCH,V2 1/3] bpf: Add new -mcore option for BPF CO-RE

2021-08-10 Thread Richard Biener via Gcc-patches
On Thu, Aug 5, 2021 at 2:54 AM Indu Bhagat via Gcc-patches wrote: > > -mcore in the BPF backend enables code generation for the CO-RE usecase. LTO > is > disabled for CO-RE compilations. -mcore reads like "core", why not -mco-re? Anyway, ... > gcc/ChangeLog: > > * config/bpf/bpf.c (bpf