Re: [ARM/FDPIC v3 04/21] [ARM] FDPIC: Add support for FDPIC for arm architecture

2018-10-29 Thread Christophe Lyon
On Fri, 26 Oct 2018 at 17:42, Richard Earnshaw (lists) wrote: > > On 26/10/2018 16:25, Christophe Lyon wrote: > > On Tue, 23 Oct 2018 at 16:07, Richard Earnshaw (lists) > > wrote: > >> > >> On 19/10/2018 14:40, Christophe Lyon wrote: > >>> On 12/10/2018 12:45, Richard Earnshaw (lists) wrote: > >>

Re: [ARM/FDPIC v3 04/21] [ARM] FDPIC: Add support for FDPIC for arm architecture

2018-10-26 Thread Richard Earnshaw (lists)
On 26/10/2018 16:25, Christophe Lyon wrote: > On Tue, 23 Oct 2018 at 16:07, Richard Earnshaw (lists) > wrote: >> >> On 19/10/2018 14:40, Christophe Lyon wrote: >>> On 12/10/2018 12:45, Richard Earnshaw (lists) wrote: On 11/10/18 14:34, Christophe Lyon wrote: > The FDPIC register is hard-c

Re: [ARM/FDPIC v3 04/21] [ARM] FDPIC: Add support for FDPIC for arm architecture

2018-10-26 Thread Christophe Lyon
On Tue, 23 Oct 2018 at 16:07, Richard Earnshaw (lists) wrote: > > On 19/10/2018 14:40, Christophe Lyon wrote: > > On 12/10/2018 12:45, Richard Earnshaw (lists) wrote: > >> On 11/10/18 14:34, Christophe Lyon wrote: > >>> The FDPIC register is hard-coded to r9, as defined in the ABI. > >>> > >>> We

Re: [ARM/FDPIC v3 04/21] [ARM] FDPIC: Add support for FDPIC for arm architecture

2018-10-23 Thread Richard Earnshaw (lists)
On 19/10/2018 14:40, Christophe Lyon wrote: > On 12/10/2018 12:45, Richard Earnshaw (lists) wrote: >> On 11/10/18 14:34, Christophe Lyon wrote: >>> The FDPIC register is hard-coded to r9, as defined in the ABI. >>> >>> We have to disable tailcall optimizations if we don't know if the >>> target fun

Re: [ARM/FDPIC v3 04/21] [ARM] FDPIC: Add support for FDPIC for arm architecture

2018-10-19 Thread Christophe Lyon
On 12/10/2018 12:45, Richard Earnshaw (lists) wrote: On 11/10/18 14:34, Christophe Lyon wrote: The FDPIC register is hard-coded to r9, as defined in the ABI. We have to disable tailcall optimizations if we don't know if the target function is in the same module. If not, we have to set r9 to the

Re: [ARM/FDPIC v3 04/21] [ARM] FDPIC: Add support for FDPIC for arm architecture

2018-10-12 Thread Richard Earnshaw (lists)
On 11/10/18 14:34, Christophe Lyon wrote: > The FDPIC register is hard-coded to r9, as defined in the ABI. > > We have to disable tailcall optimizations if we don't know if the > target function is in the same module. If not, we have to set r9 to > the value associated with the target module. > >

[ARM/FDPIC v3 04/21] [ARM] FDPIC: Add support for FDPIC for arm architecture

2018-10-11 Thread Christophe Lyon
The FDPIC register is hard-coded to r9, as defined in the ABI. We have to disable tailcall optimizations if we don't know if the target function is in the same module. If not, we have to set r9 to the value associated with the target module. When generating a symbol address, we have to take into