Re: [PATCH v2 1/6] arm64: PIE: Do not skip static relocation

2020-10-09 Thread Tom Rini
On Wed, Sep 30, 2020 at 05:39:13PM +0100, Andre Przywara wrote: > When we build an arm64 target and enable POSITION_INDEPENDENT, we were > skipping our build-time dynamic relocation fixup routine (STATIC_RELA). > > This was probably done because we didn't need it in this case, as the > PIE fixup

Re: [PATCH v2 1/6] arm64: PIE: Do not skip static relocation

2020-10-01 Thread Amit Tomar
Hi, > > NOTE: GNU binutils starting with v2.27.1 do this build-time relocation > automatically, to be in-line with other architecures. So on newer > toolchains our manual fixup is actually not needed. It doesn't hurt to > have it, though, so that we keep compatibility with the popular Linaro > too

Re: [PATCH v2 1/6] arm64: PIE: Do not skip static relocation

2020-09-30 Thread Stephen Warren
On 9/30/20 10:39 AM, Andre Przywara wrote: > When we build an arm64 target and enable POSITION_INDEPENDENT, we were > skipping our build-time dynamic relocation fixup routine (STATIC_RELA). > > This was probably done because we didn't need it in this case, as the > PIE fixup routine in start.S wou

[PATCH v2 1/6] arm64: PIE: Do not skip static relocation

2020-09-30 Thread Andre Przywara
When we build an arm64 target and enable POSITION_INDEPENDENT, we were skipping our build-time dynamic relocation fixup routine (STATIC_RELA). This was probably done because we didn't need it in this case, as the PIE fixup routine in start.S would take care of that at runtime. However when we now