Re: [PATCH] powerpc: build-time fixup alternate feature relative addresses

2024-03-12 Thread Christophe Leroy
Le 29/01/2024 à 07:25, Sathvika Vasireddy a écrit : > Hi Christophe, Nick > > On 1/26/24 12:32 AM, Christophe Leroy wrote: >> Hi Nic, >> >> Le 21/05/2017 à 03:01, Nicholas Piggin a écrit : >>> Implement build-time fixup of alternate feature relative addresses for >>> the out-of-line ("else")

Re: [PATCH] powerpc: build-time fixup alternate feature relative addresses

2024-01-25 Thread Christophe Leroy
Hi Nic, Le 21/05/2017 à 03:01, Nicholas Piggin a écrit : Implement build-time fixup of alternate feature relative addresses for the out-of-line ("else") patch code. This is done post-link with a new powerpc build tool that parses relocations and fixup structures, and adjusts branch

[PATCH] powerpc: build-time fixup alternate feature relative addresses

2017-05-20 Thread Nicholas Piggin
Implement build-time fixup of alternate feature relative addresses for the out-of-line ("else") patch code. This is done post-link with a new powerpc build tool that parses relocations and fixup structures, and adjusts branch instructions. This gives us the ability to link patch code anywhere in

[RFC][PATCH] powerpc: build-time fixup alternate feature relative addresses

2016-12-12 Thread Nicholas Piggin
Hi, I'd like to revisit this patch to do the fixup of relative addresses for "else" part of alternate instruction patching at compile-time rather than runtime. Without this I pretty quickly run into "ftr_alt relocation truncated to fit" errors when trying to use feature patching for anything