[RESEND PATCH] powerpc/modules: Introduce new stub code for SHN_LIVEPATCH symbols

2017-06-26 Thread Kamalesh Babulal
R_PPC64_REL24 relocation type is used for a function call, where the function symbol address is resolved and stub code (a.k.a trampoline) is constructed to jump into the global entry of the function. The caller is responsible for setting up the TOC of the called function before branching and NOP is

Re: [PATCH] powerpc/modules: Introduce new stub code for SHN_LIVEPATCH symbols

2017-06-19 Thread Kamalesh Babulal
Hi Michael, Any thoughts/suggestions on the approach ? On Tuesday 13 June 2017 12:20 PM, Kamalesh Babulal wrote: R_PPC64_REL24 relocation type is used for a function call, where the function symbol address is resolved and stub code (a.k.a trampoline) is constructed to jump into the global entr

[PATCH] powerpc/modules: Introduce new stub code for SHN_LIVEPATCH symbols

2017-06-12 Thread Kamalesh Babulal
R_PPC64_REL24 relocation type is used for a function call, where the function symbol address is resolved and stub code (a.k.a trampoline) is constructed to jump into the global entry of the function. The caller is responsible for setting up the TOC of the called function before branching and NOP is