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

2018-09-05 Thread Christophe Lyon
On Tue, 4 Sep 2018 at 17:29, Richard Earnshaw (lists) wrote: > > On 29/08/18 11:46, Kyrill Tkachov wrote: > > Hi Christophe, > > > > On 13/07/18 17:10, christophe.l...@st.com wrote: > >> From: Christophe Lyon > >> > >> The FDPIC register is hard-coded to r9, as defined in the ABI. > >> > >> We

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

2018-09-04 Thread Richard Earnshaw (lists)
On 29/08/18 11:46, Kyrill Tkachov wrote: > Hi Christophe, > > On 13/07/18 17:10, christophe.l...@st.com wrote: >> From: 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

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

2018-08-29 Thread Kyrill Tkachov
Hi Christophe, On 13/07/18 17:10, christophe.l...@st.com wrote: From: 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

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

2018-07-13 Thread christophe.lyon
From: 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