Re: [PATCH 1/2] arm: Avoid indirection with -mpure-code on v6m (PR96967)

2020-10-27 Thread Richard Earnshaw via Gcc-patches
On 28/09/2020 10:09, Christophe Lyon via Gcc-patches wrote: > With -mpure-code on v6m (thumb-1), to avoid a useless indirection when > building the address of a symbol, we want to consider SYMBOL_REF as a > legitimate constant. This way, we build the address using a series of > upper/lower

Re: [PATCH 1/2] arm: Avoid indirection with -mpure-code on v6m (PR96967)

2020-10-22 Thread Christophe Lyon via Gcc-patches
ping? On Tue, 6 Oct 2020 at 10:30, Christophe Lyon wrote: > > ping? > > On Mon, 28 Sep 2020 at 11:09, Christophe Lyon > wrote: > > > > With -mpure-code on v6m (thumb-1), to avoid a useless indirection when > > building the address of a symbol, we want to consider SYMBOL_REF as a > > legitimate

Re: [PATCH 1/2] arm: Avoid indirection with -mpure-code on v6m (PR96967)

2020-10-06 Thread Christophe Lyon via Gcc-patches
ping? On Mon, 28 Sep 2020 at 11:09, Christophe Lyon wrote: > > With -mpure-code on v6m (thumb-1), to avoid a useless indirection when > building the address of a symbol, we want to consider SYMBOL_REF as a > legitimate constant. This way, we build the address using a series of > upper/lower

[PATCH 1/2] arm: Avoid indirection with -mpure-code on v6m (PR96967)

2020-09-28 Thread Christophe Lyon via Gcc-patches
With -mpure-code on v6m (thumb-1), to avoid a useless indirection when building the address of a symbol, we want to consider SYMBOL_REF as a legitimate constant. This way, we build the address using a series of upper/lower relocations instead of loading the address from memory. This patch also